hamil
Forum Replies Created
-
Thank you for the recommendation. I will let you know the result.
@wfpeter Thank you. Errors do not appear when you turn off the Front-end Website. Problem solved.
@wfpeter Thank you for answer. First, I contacted the AMP plugin support forum https://wordpress.org/support/topic/invalid-script-jquery-min-js/. The Wordfence Security plugin seems to be causing the problem.
On the test website https://moje.edilo.cz/ I have WordPress version 5.6.1, template Twenty Twenty-One Version 1.1. I left only the AMP and Wordfence Security plugins active. The others are deactivated. I reset Wordfence Security to its default settings.
The problem still persists:Invalid script: jquery.min.js
Details
JSWordfence Security
Markup Status
RemovedInvalid script: jquery-migrate.min.js
Details
JSWordfence Security
Markup Status
RemovedInvalid inline script
Details
JSWordfence Security
Markup Status
RemovedInvalid script: admin.ajaxWatcher.1607007971.js
Details
JSWordfence Security
Markup Status
RemovedForum: Plugins
In reply to: [AMP] Invalid script: jquery.min.js@westonruter I updated the plugin. The error message disappeared. Thanks.
Forum: Plugins
In reply to: [AMP] Invalid script: jquery.min.js@westonruter Thank you for your plugin. I use it. It worked perfectly on WordPress 5.5. However, after updating to 5.6, an error message appeared.
The cause of the problem is the Wordfence Security plugin.
AMP plugin support forum link https://wordpress.org/support/topic/invalid-script-jquery-min-js/
Link to the Wordfence Security plugin support forum https://wordpress.org/support/topic/amp-error-message-jquery-min-js/Forum: Plugins
In reply to: [AMP] Invalid script: jquery.min.jsLink to a question in the Wordfence Security Plugin Support Forum https://wordpress.org/support/topic/amp-error-message-jquery-min-js/
Forum: Plugins
In reply to: [AMP] Invalid script: jquery.min.js@jamesosborne Thank you. The reason is really the Wordfence plugin. Restoring to default mode did not help. Deactivation yes. After activation, the error is back. I will contact the Wordfence Support Forum.
@wpsmort Yes, I will write it in this thread.
@wpsmort Thank you for your reply. I will ask on the AMP plugin support forum.
I use plugin AMP Version: 2.0.10 By AMP Project Contributors.
Screenshot: https://www.dobratricka.cz/screen/Fixed in version 1.25.0. Thanks.
@jamesosborne Thank you
Settings shared.
Also inserted twice on the page https://www.pribrat.cz/?amp.
I did not test sites without AMP because I did not have a GTM container created.Thanks @ajay