Uncaught TypeError: Cannot read properties of undefined (reading 'infinite')

Home Forums Bug reporting, Questions & Suggestions Ajax Search Pro for WordPress Uncaught TypeError: Cannot read properties of undefined (reading 'infinite')

This topic contains 5 replies, has 2 voices, and was last updated by Ahrale Ahrale 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #40160
    Ahrale
    Ahrale
    Participant

    Hi,
    I updated to latest version you just created & published (4.24.1)
    however still having the issue.
    With version 4.23 it works well.

    see screenshot

    Thanks,
    Ahrale

    Attachments:
    You must be logged in to view attached files.
    #40194
    Ahrale
    Ahrale
    Participant
    You cannot access this content.
    #40195
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The issue is caused by a translator plugin/code. Some attributes on the search shortcode JSON data getting translated, see here, which causes a major problem, as those are object attribute names, and those should never be changed. DOM element attributes should never be translated, except aria-labels or similar.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #40214
    Ahrale
    Ahrale
    Participant
    You cannot access this content.
    #40216
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    First, yes, you have a translator plugin: https://i.imgur.com/Yrqal1r.png
    Second, after deactivation it works: https://i.imgur.com/pTSiViU.png
    It is the cause of the issue. It conflicts with modules in the new release, it probably explains the issue with the previous version too. Unfortunately we can not prevent that, as it is making changes to the search output structure, which it should not do in the first place.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #40220
    Ahrale
    Ahrale
    Participant
    You cannot access this content.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.