Update to version 5.3.0 breaks all pages
donovaly opened this issue · comments
- I upgraded from 5.2.4 to 5.3.0 and now I get for every page of my wordpress site this:
Fatal error: Uncaught Error: Cannot instantiate abstract class WP_Typography in /kunden/520456_79106/wordpress/wp-content/plugins/wp-typography/includes/wp-typography/data-storage/class-transients.php:120 Stack trace: #0 /kunden/520456_79106/wordpress/wp-content/plugins/wp-typography/includes/wp-typography/data-storage/class-transients.php(120): unserialize('O:23:"PHP_Typog...')
#1 /kunden/520456_79106/wordpress/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php(263): WP_Typography\Data_Storage\Transients->get_large_object('php_settings_f3...')
#2 /kunden/520456_79106/wordpress/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php(374): WP_Typography\Implementation->get_settings()
#3 /kunden/520456_79106/wordpress/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php(300): WP_Typography\Implementation->process('Engelbergerstra...', true, false, NULL)
#4 /kunden/520456_79106/wordpress/wp-includes/class-wp-hook.php(288): WP_Typography\Implem in /kunden/520456_79106/wordpress/wp-content/plugins/wp-typography/includes/wp-typography/data-storage/class-transients.php on line 120
Another user reported the same here:
https://wordpress.org/support/topic/white-screen-of-death-after-upgrading-to-5-3-0/
I downgraded now back to 5.2.4 and everything works fine again.
I also had to clean the transients first (I used the Transient Cleaner plugin),
even after rolling back to an older version, to finally get rid again of the error.
@strarsis Does 5.3.0 work for you after cleaning the transients?
@mundschenk-at: wp-typography was installed using composer (maybe a cleaning hook is missed then?).
Theoretically possible, but I don't think that's it. It appears that there is a reference to WP_Typography
in the PHP_Typography/Settings
object which should not be there at all.
@strarsis, could you post screenshots of your wp-Typography settings? Maybe a specific setting introduces the reference by accident.
Did you upgrade via the WordPress plugin installer (i.e. from the WP.org repository)
Yes.
Are you using an persistent object cache plugin?
No.
I had not to clean the transients (don't know what this is). I just downgraded by installing the ZIP of 5.2.4 from Github and then everything worked again.
@donovaly, @strarsis Could you please try to install https://github.com/mundschenk-at/wp-typography/releases/download/v5.3.0/wp-typography-debug.zip and post the logged error string ("Error unserializing ...")?
@mundschenk-at: After cleaning the transient cache,
latest wp-typography version 5.3.0 also works correctly.
@strarsis You mean the debug version I just posted? It should still log an error (but not whitespace, at least on PHP 7.x).
@mundschenk-at: No, I mean this kind of fix works with the last release (not debug version) whree the issue occured for the first time.
@donovaly Can you please try clearing the transients ("Clear Cache")? From what others have experienced, 5.3.0 should work after that.
I just installed 5.3.1 via the WP server and now the bug is fixed. Many thanks for your quick fix!