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
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it