• Resolved ironsoup

    (@ironsoup)


    Recently out of nowhere our WordPress site started generating javascript errors across all admin pages. The error is usually along the lines of:

    Uncaught (in promise) Error: Unhandled Promise Rejection: The response is not a valid JSON response.

    With an emphasis on “The response is not a valid JSON response” across all javascript errors on every admin page.

    Verified that with iThemes plugin disabled, the issue goes away. We have not updated our iThemes version for weeks and we are surprised to see this all of a sudden when we know everything was working fine / no js errors only several weeks ago.

    The GET request generated by the iThemes plugin which causes the js error is:
    https://<wpsite>/wp-json/ithemes-security/v1/admin-notices?_locale=user

    The script making the request is:
    admin-notices-api.min.js

    Has anyone else experienced this issue and know how to resolve? Many thanks in advance for any feedback.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @ironsoup, apologies for the delayed response! Can you please try regenerating your .htacess file by going to WordPress Admin > Settings > Permalinks, pressing the save button, and seeing if the error persists? If that doesn’t help, please conduct a conflict check and let me know if the issue persists when using a default WP theme and only the iTSec plugin is activated. Thanks!

    • This reply was modified 1 year, 6 months ago by chandelierrr.
    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi there,

    I hope the information I provided helped resolve the issue. Tracking notifications on this forum can become tricky over time, and since we haven’t received a response, I’ll mark this post resolved.

    If you still require further assistance, feel free to open a new support topic, and we’d be happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘iThemes plugin initiated API calls generating Javascript errors’ is closed to new replies.