Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 127 Views
  • 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 Offline
    O Offline
    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 Online
      arminunruhA Online
      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 Offline
        O Offline
        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 Online
          arminunruhA Online
          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. 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:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          arminunruhA
          arminunruh
          D
          dnlbrv
          F
          fernandol97
          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