• Resolved Azalea Mollis

    (@azaleamollis)


    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=9

    I 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:2438

    The 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.

    https://wordpress.org/plugins/ag-custom-admin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Azela,

    AG Custom Admin plugin catches any errors thrown in WordPress admin panel. This feature was suppose to help users to find and fix such problems but we get many support requests asking us to fix such problems. These problems are not related to AGCA plugin. We will release new version soon that will not show error notification in admin. For any concerns about other plugins please contact their support.

    Thanks,
    Argonius

    Thread Starter Azalea Mollis

    (@azaleamollis)

    Thanks for the info Argonius.

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

The topic ‘Weird JavaScript behaviour’ is closed to new replies.