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. Installation Problems
  3. Critical error after activating the theme in WP

Critical error after activating the theme in WP

Scheduled Pinned Locked Moved Installation Problems
6 Posts 3 Posters 155 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.
  • P Offline
    P Offline
    PiaZ
    wrote on last edited by
    #1

    I installed the LAY theme yesterday and I can not activate it. The installation works, but when I activate the template, a wordpress error message appears (Critical error ...) and I can no longer log into wordpress.
    I can then delete the theme in the FTP, as described in the forum, but with a new installation it is the same. Plugins do not exist yet, the wordpress installation is pretty 'fresh'. Thanks for your support.

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey i wrote u back an email

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raquel
        wrote on last edited by
        #3

        Hey! I get exactly the same problem as PiaZ. I have just "bought" a Lay Theme Free Version and when I activate the theme I get a Critical error... Can you help please?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          raquel
          wrote on last edited by
          #4

          I run a debug log and found this error:

          [24-Mar-2023 15:59:39 UTC] PHP Parse error: syntax error, unexpected '?' in /home2/estufadesign/anansesem.org/wp-content/themes/lay/assets/plugins/post-duplicator-polylang/includes/class-post-duplicator-polylang.php on line 162

          Hope it helps you sorting out the problem. Thanks!

          1 Reply Last reply
          0
          • R Offline
            R Offline
            raquel
            wrote on last edited by
            #5

            sorted it out through other forum thread:

            u need to use a different php version

            you need at least php 7

            you can set your php version in your webhost control panel

            1 Reply Last reply
            1
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              oops

              yea you need a php version that is up to date :O

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