PHP 7.4 to 8.0+ Critical Error
-
At present I am running PHP 7.4
I would like to upgrade to 8.0 or higher as some of my plugins are starting to request it. Also Vodien the hosting company ran a script and changed the site to 8.4 and it crashed.
When the PHP is changed – the website appears to crash when an item is added to cart in woocommerce or if I try to login to WP-ADMIN. I get a critical error. It appears that general browsing keeps the site alive for a short periord, but then it crashes (I assume that caching could cause this). I have tried updating all plugins.Fault finding
Thinking it is a plugin issue – I cloned my site and then disabled all plugins, but issue is still present. I have tried using the default Theme incase it is a Theme issue but issue still exists.I tried to look at the error logs but no issue seems to show up that refers to PHP or the time of the crash. I assume it is not being logged or maybe I am looking at the wrong file.
Last week this error message came up, (see below) however when I remove the plugin referred to in the message then a different plug in gets referred to. Which makes me question the validity ot the errorausing the error , the error just seems to just refer to a differnt plugin.
Fatal error: Uncaught Error: Call to undefined function json_decode() in /home/absolut8/public_html/biomintoothpaste.com.au/wp-content/plugins/js_composer/include/classes/core/class-autoload-manager.php:38 Stack trace: #0 /home/absolut8/public_html/biomintoothpaste.com.au/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php(358): Vc_Autoload_Manager->load() #1 /home/absolut8/public_html/biomintoothpaste.com.au/wp-content/plugins/js_composer/js_composer.php(41): Vc_Manager->loadComponents() #2 /home/absolut8/public_html/biomintoothpaste.com.au/wp-settings.php(453): include_once(‘/home/absolut8/…’) #3 /home/absolut8/public_html/biomintoothpaste.com.au/wp-config.php(93): require_once(‘/home/absolut8/…’) #4 /home/absolut8/public_html/biomintoothpaste.com.au/wp-load.php(50): require_once(‘/home/absolut8/…’) #5 /home/absolut8/public_html/biomintoothpaste.com.au/wp-admin/admin.php(34): require_once(‘/home/absolut8/…’) #6 /home/absolut8/public_html/biomintoothpaste.com.au/wp-admin/index.php(10): requir in /home/absolut8/public_html/biomintoothpaste.com.au/wp-content/plugins/js_composer/include/classes/core/class-autoload-manager.php on line 38
Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/absolut8/public_html/biomintoothpaste.com.au/wp-includes/functions.php on line 5865
Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/absolut8/public_html/biomintoothpaste.com.au/wp-includes/functions.php on line 5865I am not overly technical, so a simple explanation if possible would be appreciated.
The page I need help with: [log in to see the link]
The topic ‘PHP 7.4 to 8.0+ Critical Error’ is closed to new replies.