Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. PHP 8.0 upgrade fatal error

PHP 8.0 upgrade fatal error

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 298 Views 2 Watching
  • 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
    O
    ogbuihi
    wrote on last edited by
    #1

    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
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      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
      0
      • arminunruhA arminunruh

        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
        O
        ogbuihi
        wrote on last edited by
        #3

        @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
        0
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          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
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          Q
          quentin.v
          E
          eduardsales
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search