PHP 8.0 upgrade fatal error
-
Hi,
I will have to upgrade to PHP 8.0, if I don't want to pay 8€/month (and I don't).
But when I upgrade to PHP 8.0, I get the following error:Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web319/e0/88/59282488/htdocs/WordPress_01/wp-config.php:101 Stack trace: #0 /mnt/web319/e0/88/59282488/htdocs/WordPress_01/wp-load.php(50): require_once() #1 /mnt/web319/e0/88/59282488/htdocs/WordPress_01/wp-blog-header.php(13): require_once('...') #2 /mnt/web319/e0/88/59282488/htdocs/WordPress_01/index.php(17): require('...') #3 {main} thrown in /mnt/web319/e0/88/59282488/htdocs/WordPress_01/wp-config.php on line 101
I tried 8.0 with all plugins deactivated but it didn`t make a difference...
so now I don't know what to do...Can anyone help?
Thank you,
Angie -
ok so this is an error in wordpress itself
you may need to update wordpress
php 8.1 works for me with latest lay theme and latest wordpress
if u cant access ur site you may need to go back to for example php 7.4 and then access ur site, update and go to php 8.1
-
@arminunruh Hi, thank you for your answer. Unfortunately that doesn't work.
I tried a few things I found on google like deactivating all plugins, changing the theme... but nothing works.
any other ideas? 🥲 -
ah i see there is sth in wp-config.php on line 101
there must be sth wrong with this config file
can u send your ftp login data to info@laytheme.com with a link to this topic please
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it