@emreselcuk We’re sorry to hear you are experiencing this issue on your site.
If after ensuring that both WordPress, Yoast SEO, and your other plugins and themes are up to date the issue is still occurring, we’d next recommend performing a conflicting check to see whether another plugin or theme is interfering with the Yoast SEO Plugin. This will help us narrow down the exact cause and determine what the next steps are while saving you time.
The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen. Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting 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.
I used the Healt Check plugin you suggested, but it is unable to activate the yoast plugin in the troubleshoot mode.
I tried to disable all the plugins and change my theme to twenty twenty and activate Yoast, but this time I get this error, and it does not activate:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected end of file, expecting ‘(‘ in /public_html/wp-content/plugins/wordpress-seo/src/generated/container.php on line 3211
Hi @emreselcuk,
We haven’t received similar reports about this kind of error. Can you try reinstalling the latest version of Yoast SEO manually using SFTP / FTP and clearing any cache on your site? There’s a guide to reinstalling the plugin here: https://kb.yoast.com/kb/how-can-i-update-my-free-plugin/. Just a note: deactivating or deleting the plugin does not delete any of your SEO settings or data from the database.
If that doesn’t help, Sometimes the Health Check plugin isn’t able to activate/deactivate certain plugins, unfortunately. Have you considered setting up a separate staging site to do these tests?
Some hosts have tools available to easily create and set up a copy of your site, so we recommend checking with your hosting provider. If not, you can always use one of the staging or backup/restore plugins on the WordPress.org plugin directory.
We hope this helps.
We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.