AGCA plugin caught a JavaScript on your site…
-
When I navigate to (load) my site login page with AGCA plugin (free version) installed, I get the following log messages in my browser console:
___________________________________________________ [[wp-login.php:23:21]] AGCA plugin caught a JavaScript on your site: [[wp-login.php:24:21]] ___________________________________________________ SyntaxError: expected expression, got '<' source:https://tf-sandy.org/prophetic-blog/wp-content/plugins/ ag-custom-admin/require/dynamic.php?type=js&context=login &ver=changed_theme line:1 [[wp-login.php:25:21]]
I didn’t pay attention to the console log until I did 2 changes recently. I added a Child Theme, and I changed the site from HTTP to HTTPS. So the error may have been popping up prior, but I just didn’t see it.
I’m on the lastest WP & AGCA (v4.9.8 & v6.4.1) and this occurs on my Mac with Firefox, Chrome, and Safari, and also on Windows.
On Windows 8.1 in Chrome I also get the following console message (before the other msgs):
Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://tf-sandy.org/prophetic-blog/wp-login.php?redirect_to= https%3A%2F%2Ftf-sandy.org%2Fprophetic-blog%2Fwp-content%2F plugins%2Fag-custom-admin%2Frequire%2Fdynamic.php%3Ftype%3Dcss%26 context%3Dlogin%26ver%3Dchanged_theme". [[wp-login.php?redirect_to=http%3A%2F%2Ftf-sandy.org%2Fprophetic-blog%2F:45]]
I can’t tell that there is anything actually breaking at runtime, although a couple of the menu customizations didn’t seem to work. But haven’t looked closely yet (or read all the instructions), as I’m focusing on the HTTP/S issues for the site. Speaking of which, there are a few images on your admin page which quit loading, since they are HTTP on my HTTPS site (i.e. the mixed content error).
Update – more info: In the below line in the login page HTML:
<link rel="stylesheet" type="text/css" href="https://tf-sandy.org/prophetic-blog/wp-content/plugins/ag-custom-admin/require/dynamic.php?type=css&context=login&ver=changed_theme" />
… the reference to:
/dynamic.php?type=css&context=login&ver=changed_theme
… does not return CSS as expected. Instead, nothing is returned.
- This topic was modified 6 years, 5 months ago by .
- This topic was modified 6 years, 5 months ago by .
- This topic was modified 6 years, 5 months ago by . Reason: added debugging hint
- This topic was modified 6 years, 5 months ago by . Reason: clarifying debugging info
- This topic was modified 6 years, 5 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘AGCA plugin caught a JavaScript on your site…’ is closed to new replies.