Weird JavaScript behaviour
-
Hi,
It seems the JavaScript of the AG Custom Admin plugin behaves weirdly. It stops other plugins’ JavaScript functionality, and returns error messages about code parts that don’t even exist.
I discussed the issue here with another plugin author whose plugin’s JS was stopped by this plugin:
https://wordpress.org/support/topic/js-reference-error?replies=9I got this error message on the admin settings page of this plugin:
AG Custom Admin caught a JavaScript error on this site: Uncaught ReferenceError: otw_shortcode_object is not defined source: http://.../wp-admin/admin.php?page=bulletproof-security/admin/core/options.php line:2438The developer later figured out that the mentioned line doesn’t exist.
From that conversation:
The BPS options.php file has a total of 1692 code lines. So there was nothing to check at code line 2438 in the error message below since it does not exist.
It’s not only the Bulletproof Security plugin where this strange behaviour occurs but the same thing happens on the admin settings page of the JetPack plugin.
Could you please help me figure out what happens and how to resolve it?
Thanks.
The topic ‘Weird JavaScript behaviour’ is closed to new replies.