Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 888 forks source link

Yoast 14 breaks my WordPress instance #14925

Closed las3r closed 4 years ago

las3r commented 4 years ago

Please give us a description of what happened.

I was on 13.5. Then I saw 14.0 was available. I updated through the WordPress dashboard. After the update completed, my frontend was broken:


Uncaught Error: Class 'WPSEO_Frontend' not found in /home/xxxx/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 19
initialize_wpseo_front()
wp-includes/class-wp-hook.php:287
apply_filters()
wp-includes/class-wp-hook.php:311
do_action()
wp-includes/plugin.php:478
do_action()
wp-settings.php:540
require_once()
wp-config.php:94
require_once()
wp-load.php:37
require_once()
wp-blog-header.php:13
require()
index.php:17
Er heeft zich een kritische fout voorgedaan op je website.

Please describe what you expected to happen and why.

I expected the version to bump to 14 and nothing else.

How can we reproduce this behavior?

  1. Update from 13.5 to 14.0

Technical info

Used versions

Djennez commented 4 years ago

This looks like an incomplete / corrupt installation / update. Please remove the plugin and manually reinstall again. If that still fails, please check for conflicts and let us know what you can find.

Canic commented 4 years ago

Hey,

same happens on my wordpress instance after upgrade to v14 from 13.5:

[28-Apr-2020 09:22:42] WARNING: [pool 25084_0] child 3272 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S22]: Column not found: 105
4 Unknown column 'blog_id' in 'field list' in /var/www/25084_0/public/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php:464"
[28-Apr-2020 09:22:42] WARNING: [pool 25084_0] child 3272 said into stderr: "Stack trace:"
[28-Apr-2020 09:22:42] WARNING: [pool 25084_0] child 3272 said into stderr: "#0 /var/www/25084_0/public/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php(
464): PDOStatement->execute()"
[28-Apr-2020 09:22:42] WARNING: [pool 25084_0] child 3272 said into stderr: "#1 /var/www/25084_0/public/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php(
1983): YoastSEO_Vendor\ORM::_execute('INSERT INTO `wp...', Ar in /var/www/25084_0/public/wp-content/plugins/wordpress-seo/vendor_prefixed/j4mie/idiorm/idiorm.php on line 464"

Looks like the database hasn't be updated with new columns. Can i force a "upgrade" to the new structure ?

Technical info Used versions WordPress version: 5.4-de_DE Yoast SEO version: 13.5 > 14.0 Tested with theme: Astra Theme PHP: 7.3.16

Djennez commented 4 years ago

@Canic that is not the same error, please create a new issue for this and follow the bug template. I'd like to know exactly which steps you took to get to this error as this might need additional investigation on our end.

las3r commented 4 years ago

I had simply updated the plugin from wordpress like I always do, so I'm not sure about Canic.