Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Yoast SEO plugin v9.0.3 Causes Compilation failed Error #313
I updated my version of the Yoast SEO plugin to 9.0.3 and started getting the following errors at the top of my blog site at rehansaeed.com.
I've now uninstalled the plugin and even deleted it, then re-synced Project Nami from Azure deployments but the error remains. Any ideas on how I can fix this issue?
The new version of Yoast (9.x ?) has a few issues on NAMI.
The quick and simple fix with this one is to edit the fields_map.parsed_types.php file in the wp-includes/ folder and update the mappings to include a paren at the end.
One of them will look something like:
But should look like:
Not sure why it is doing this, but each time you reinstall the plugin or disable/reenable it, it will mess up that file again. You'll have to touch it by hand each time. Additionally, we now have translation issues with Yoast I have yet to be able to track down.
This was happening to me as well. I have Yoast SEO v9.3 working with Project Nami v2.0.1.
The previous fix #169 did not fix the issue but I did keep it, just in case. What I did was this. Edit the
Do not change the spacing in the query or it will fail the if/then.
Reload the Projects page or the Pages page and no more error.
If there are further issues just dump out the SQL statement by putting an
Hope this helps.
I believe the permanent fix will be to finally end the association with the fields map. It's a holdover from the plugin which the translation engine was adapted from. I think it might be replaced by querying the table structure from the DB, but haven't had the time to pursue it yet.