I’m getting a “There has been a critical error on this website. Please check your site admin email inbox for instructions.” error when I go into certain section of my WordPress dashboard. When I run a debug I get the following:
E_DEPRECATED: Return type of Themeco\Cornerstone\Parsy\Token::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/pelusomicrophone/stage/wp-content/themes/pro/cornerstone/includes/classes/Parsy/Token.php on line 33.
Can you offer any help in resolving this issue?
I receive this error when I go into:
Appearance-Customize, where I need to restore my homepage settings.
Appearance-Widgets
Plugins - Activate or delete certain plugins
More…
OK… after turning off all plugins found “WordPress.com Editing Toolkit” seems to be tied to inability to access Appearance.
BUT… will all plugins disabled I still get the original error at the top of almost all pages.
I checked that theme is updated, I have no custom CSS or JS…
In fact now that i have disabled all plugins, as suggested in an alternate thread here, I now get the error every time I try to reactivate any of my plugins.
I now have no plugins.
ERROR: “E_DEPRECATED: Return type of Themeco\Cornerstone\Parsy\Token::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/pelusomicrophone/stage/wp-content/themes/pro/cornerstone/includes/classes/Parsy/Token.php on line 33.”
OK… Disabled debugger & was able to get plugins re-activated. Found culprit plugin!!!
"
Woo Checkout Editor
Manage your WooCommerce checkout fields
Version 2.2.1 By Themeco Visit plugin site
"
Disabled Woo Checkout Editor & now seem to be error free.
Hello Chris,
Thanks for writing in! It is good to know that you have found the culprit. By the way, are you using PHP 8.0 already? You can check this in Tools > Site Health > Info > Server. Be advised that the recent release is not fully supporting PHP 8.0. You may need to downgrade to PHP 7.4. In the meantime, we are now on a Beta phase for the next update. This new update release will be available soon.
Best Regards.
Server settings: |Server architecture|Linux 3.10.0-1127.19.1.el7.x86_64 x86_64|
| — | — |
|Web server|Apache|
|PHP version|8.1.11 (Supports 64bit values)|
|PHP SAPI|cgi-fcgi|
|PHP max input variables|1000|
|PHP time limit|30|
|PHP memory limit|3000M|
|Max input time|60|
|Upload max filesize|2000M|
|PHP post max size|2500M|
|cURL version|7.85.0 OpenSSL/1.1.1q|
|Is SUHOSIN installed?|No|
|Is the Imagick library available?|Yes|
|Are pretty permalinks supported?|Yes|
|.htaccess rules|Custom rules have been added to your .htaccess file.|
It looks as if he’s got me using PHP8.1.11 is this going to cause issues? do I need to downgrade this to 7.4?
Hi Chris,
Yes, you need to downgrade the PHP version to 7.4.
Thanks
OK… my host is rolling back to the old version PHP 7.4
He informed me that version reached end of life next month.
How long until you will support current version of PHP?
Hello Chris,
The new theme update which supports PHP 8.0 will be rolling out anytime soon. We are doing beta testing right now.
Best Regards.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.