Uncaught TypeError: Invalid value used as weak map key at WeakMap.set

Ivory Search Forums Support Uncaught TypeError: Invalid value used as weak map key at WeakMap.set

Viewing 9 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #8671
      revivemarketing
      Participant
      • Topics: 1
      • Replies: 5

      I keep running into Ajax search errors with Ivory search.. you can search once, then it errors out and will just show the ajax loading indicator – you have to refresh the page to get past the error and search again (see https://loebequipment.com)

      Another error I’m getting is this:

      Uncaught TypeError: Invalid value used as weak map key
          at WeakMap.set (<anonymous>)
          at t.e.init (ivory-ajax-search.min.js?x79717&ver=4.6.5:1)
          at new t (ivory-ajax-search.min.js?x79717&ver=4.6.5:1)
          at Object.success (ivory-ajax-search.min.js?x79717&ver=4.6.5:1)
          at c (jquery.min.js?x79717&ver=3.6.0:2)
          at Object.fireWith [as resolveWith] (jquery.min.js?x79717&ver=3.6.0:2)
          at l (jquery.min.js?x79717&ver=3.6.0:2)
          at XMLHttpRequest.<anonymous> (jquery.min.js?x79717&ver=3.6.0:2)
      e.init @ ivory-ajax-search.min.js?x79717&ver=4.6.5:1
      t @ ivory-ajax-search.min.js?x79717&ver=4.6.5:1
      success @ ivory-ajax-search.min.js?x79717&ver=4.6.5:1
      c @ jquery.min.js?x79717&ver=3.6.0:2
      fireWith @ jquery.min.js?x79717&ver=3.6.0:2
      l @ jquery.min.js?x79717&ver=3.6.0:2
      (anonymous) @ jquery.min.js?x79717&ver=3.6.0:2
      load (async)
      send @ jquery.min.js?x79717&ver=3.6.0:2
      ajax @ jquery.min.js?x79717&ver=3.6.0:2
      s.ajax.s.ajax @ jquery-migrate.min.js?x79717&ver=3.3.2:2
      a @ ivory-ajax-search.min.js?x79717&ver=4.6.5:1
      (anonymous) @ ivory-ajax-search.min.js?x79717&ver=4.6.5:1
      setTimeout (async)
      (anonymous) @ ivory-ajax-search.min.js?x79717&ver=4.6.5:1
      dispatch @ jquery.min.js?x79717&ver=3.6.0:2
      v.handle @ jquery.min.js?x79717&ver=3.6.0:2
      

      Any help is greatly appreciated!

      Attachments:
      You must be logged in to view attached files.
    • #8675
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,711

      Sorry to hear about the problem you are having.

      I could confirm the issue on your website but I have tested it on my demo site here https://demo.ivorysearch.com/ and it’s working fine for me using the latest version of the Ivory Search plugin.

      Could you please clear and temporarily deactivate the W3 Total Cache that you are using on your website so that I can troubleshoot it?

      Which version of WordPress are you using?

      Best regards,
      Ivory Search Support

    • #8681
      revivemarketing
      Participant
      • Topics: 1
      • Replies: 5

      I have disabled the W3 Total Cache plugin,. please let me know what you find. Thanks!

    • #8682
      revivemarketing
      Participant
      • Topics: 1
      • Replies: 5

      I tested it but get an error.. see img

      Also, we have priority support based on our license,.. but haven’t heard back from that request.. do you want to move this over to that forum.

      Attachments:
      You must be logged in to view attached files.
    • #8689
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,711

      OK

      You don’t need to move the support topic now.

      Could you please add the below code in the wp-config.php file and notify me so that the plugin ivory-ajax-search.js file will be used which is more readable?

      define( 'IS_DEBUG', true );

    • #8691
      revivemarketing
      Participant
      • Topics: 1
      • Replies: 5

      All set. define( ‘IS_DEBUG’, true ); has been added to the wp-config file.

    • #8701
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,711

      I could find out the bottleneck of the error on your website but could not reproduce it on my website.

      Would you mind if I log in to your site and fix it? If this is ok then could you please temporarily create an admin user account and share me the account login details privately by checking the option “Set as private reply” when replying to this topic?

      • #8710
        revivemarketing
        Participant
        • Topics: 1
        • Replies: 5

        Sorry, I cannot give admin access to the site. Please let me know what the issue is so I can adjust and test it. Thank you!

    • #8715
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,711

      Ok

      I will try to troubleshoot it on my website and will update you here.

    • #8735
      revivemarketing
      Participant
      • Topics: 1
      • Replies: 5

      Thank you, looking forward to resolving this issue asap…

    • #8759
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,711

      The issue is resolved in the latest released plugin version 4.6.6 so please update the plugin to the latest version on your website.

Viewing 9 reply threads

You must be logged in to create new topic or reply to the topic.