Hello Francesco,
We have seen this error on a few occasions. And it seems to be related to CDN implementations. Our colleague, Jannes dived into this in this GitHub issue with more details.
If you do run that CDN/firewall solution, we recommend reaching out to them about this issue.
Thread Starter
fdig
(@fdig)
I don’t think the site uses any cdn service, to be sure, how can I check this? (I didn’t find any installed plugin called Imperva or any plugin whose description refering cdn).
The only firewall plugin installed is “wordfence”, I already tried to disable the plugin but I still have the same issue.
I was looking at the chrome console and I noticed that in the source tab there isn’t the “wp-seo-post-scraper-1400.js?ver=14.0”, but the file is in the correct path.
@fdig
Could you please reach out to your hosting provider and confirm if any such configuration exists on your server interfering with your site?
If no such configuration exists, we want to confirm if there’s any conflict exists with theme or other plugin on your setup.
Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.
Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.
If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts
If you do not feel comfortable to do this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.`
Thread Starter
fdig
(@fdig)
Hi @suascat_wp,
as I already said in the main ticket, I already tried this way using Health Check & Troubleshoot to check if there’s conflits between YoastSEO and other plugins but it seems there aren’t any..
Hi,
We understand you’ve already performed a conflict check using the Health Check & Troubleshooting plugin and it still occurs with a default WP theme and only the Yoast SEO plugin activated.
Unfortunately, this isn’t something we can control as this is JavaScript manipulation between the server and client browser by the CDN/WAF. We suggest looking into contacting your web host/provider/reseller/CDN/WAF provider (e.g. Imperva) and perhaps flushing the cache / disabling any functionality that modifies these JS files.
Thread Starter
fdig
(@fdig)
Hi,
I solved my issue exclugins “wordpress-seo” folder in imperva firewall.
Thank you,
F.
Hi @fdig
We’re glad to hear that you were able to resolve this issue with that exclusion!
This thread has been marked as resolved as the original poster confirmed the issue as resolved on their site.
If you are not the original poster and continue to experience a similar issue, please open a new request. That way it’s easier for us to match replies with a specific problem. Thanks!