• Resolved mywebmaestro

    (@mywebmaestro)


    In the admin, I’m seeing the following (in the browser console) when I try to go to the FAQ dashboard.

    jquery.min.js?ver=3.5.1:2 jQuery.Deferred exception: ewd_ufaq_php_data is not defined ReferenceError: ewd_ufaq_php_data is not defined
    at HTMLDocument.<anonymous> (domainremovedforpasting/wp-content/plugins/ultimate-faqs/assets/js/ewd-ufaq-admin.js?ver=2.0.0:49:2)
    at e (domainremovedforpasting/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30005)
    at t (domainremovedforpasting/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30307) undefined

    Uncaught ReferenceError: ewd_ufaq_php_data is not defined
    at HTMLDocument.<anonymous> (ewd-ufaq-admin.js?ver=2.0.0:49)
    at e (jquery.min.js?ver=3.5.1:2)
    at t (jquery.min.js?ver=3.5.1:2)

    It’s creating an issue where things aren’t loading completely on that page. Also, the plugin disabled itself earlier today when I did some updates. I hadn’t realized it had done that, until someone saw the shortcode on the front end page where it was supposed to display the FAQs.

    WordPress is version 5.7.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi maestro,

    This seems to be related to the localize script we run for the admin JS file to pull in option data. At first glance, it looks to me to be registered correctly. But we’ll run some further tests to see what’s going on and release an update with any necessary corrections. I’ll let you know if we need any further info.

    Thanks for letting me know about this!

    Regarding the plugin not automatically re-activating after updating, we updated the name of the main plugin file to ultimate-faqs.php, to be the same as the plugin slug, to conform with WordPress best practices. As such, if it got deactivated because it says Main.php cannot be found, then all you need to do is manually activate the plugin after updating and you will be good to go. (And, once on a 2.x.x version, that won’t happen/won’t be required again.)

    • This reply was modified 4 years, 11 months ago by jaysupport.
    Thread Starter mywebmaestro

    (@mywebmaestro)

    If there’s additional information I can provide, just let me know.

    Plugin Support jaysupport

    (@jaysupport)

    We’ve just put out version 2.0.10, which corrects the JS error you were seeing in the console on the Dashboard screen. Please make sure to update.

    Thread Starter mywebmaestro

    (@mywebmaestro)

    Updated the plugin, can confirm the errors no longer appear (both in the admin and the front end). Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Version 2.0.9 has javascript errors’ is closed to new replies.