Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    PHP 8.0 upgrade fatal error

    Bug Reports
    2
    4
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      ogbuihi last edited by

      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...

      angelaogbuihi.de

      Can anyone help?

      Thank you,
      Angie

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        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

        O 1 Reply Last reply Reply Quote 0
        • O
          ogbuihi @arminunruh last edited by

          @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? 🥲

          1 Reply Last reply Reply Quote 0
          • arminunruh
            arminunruh Global Moderator last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Post a link to where the problem is
            I don't answer or check forum DMs, please just post on the forum.
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

            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

            Thanks!

            Online Users

            Recent Topics

            • H

              sumbmenu on mobile device

            • Q

              backdrop blur on ios

            • While editing the carousel, the images are not displayed correctly

            • Sticky Footer now has Background

            laytheme.com