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. HTTP Error 500 after Project Update

HTTP Error 500 after Project Update

Scheduled Pinned Locked Moved Bug Reports
20 Posts 6 Posters 394 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.
  • F Offline
    F Offline
    frnzgrnwld
    wrote on last edited by
    #5

    Hi @mariusjopen,

    the error doesn't appear on the front end, but on the back end immediately after clicking 'Update' on any project. I get this error everytime, no matter if I just change a single letter in the project description or change images.

    WP debug log says:

    [03-Jul-2020 16:05:33 UTC] PHP Notice:  Trying to access array offset on value of type bool in /home/***/***.com/wp-content/themes/lay/frontend/assets/php/elements/el_functions.php on line 476
    [03-Jul-2020 16:05:33 UTC] PHP Notice:  Trying to access array offset on value of type bool in /home/***/***.com/wp-content/themes/lay/frontend/assets/php/elements/el_functions.php on line 477
    
    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by
      #6

      Dear @frnzgrnwld

      Did you manage to find a solution to your problem?
      Apologies for the delayed reply

      I can forward this to Armin for a deeper look

      Best wishes
      Richard

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

        @frnzgrnwld

        thanks for the heads up!
        This seems to be a new issue related to php 7.4

        Really sorry this took so long to get through to me.
        I just did a fix for this. Could you update lay theme and try again?

        If it doesn't work:
        can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frnzgrnwld
          wrote on last edited by
          #8

          Hi @arminunruh,

          thanks for your reply! I just sent you an e-mail as this problem still exists after the update.

          Thank you!
          Best
          Franz

          1 Reply Last reply
          0
          • RichardR Offline
            RichardR Offline
            Richard
            Global Moderator
            wrote on last edited by
            #9

            Dear @frnzgrnwld

            Checking in! :)
            Have you found a solution to your issue?

            Best
            Richard

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Georges
              wrote on last edited by
              #10

              Also suffering from this exact same problem. Was there any solution to this?

              G 1 Reply Last reply
              0
              • G Georges

                Also suffering from this exact same problem. Was there any solution to this?

                G Offline
                G Offline
                Georges
                wrote on last edited by
                #11

                @Georges In case it's of use, the site with this issue is type.practise.studio

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  Georges
                  wrote on last edited by
                  #12

                  Not to hijack this thread, but on further inspection, it's only this one page where I'm encountering the HTTP Error 500 upon making any text update and hitting โ€œUpdateโ€. And this is the only page where I've updated some of the links with the new Image Hover Add-on feature. Other pages are updating fine. Could it be something to do with this new Add-on? Hope this helps with solving the issue! Please help!

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    Georges
                    wrote on last edited by
                    #13

                    Sorry: this is the actual page with the issue, as described in my previous comment: type.practise.studio/references

                    1 Reply Last reply
                    0
                    • RichardR Offline
                      RichardR Offline
                      Richard
                      Global Moderator
                      wrote on last edited by
                      #14

                      Dear @Georges

                      If your sure that it isn't any third-party-plugins or Custom HTML,CSS or JS code creating problems & that by de-activating these the problem still remains

                      Please can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

                      Thank you for using Lay Theme

                      Sincerely
                      Richard

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

                        thx

                        this bug is related to php 7.4
                        if you're experiencing this bug please use php 7.3 or 7.2 for now, I'm still trying to fix this bug!

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

                          actually after further inspection this seems to be an issue with the configuration of mod_security of some dreamhost websites.
                          mod_security is a firewall that thinks when saving a post with lay theme this is a server attack.
                          I'm in contact with Dreamhost.

                          I had a case with someone else where we had the exact same problem. He solved it by switching to PHP 7.2 or 7.3 in the webhost control panel.

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

                            Hey James,
                            So I talked to Dreamhost Customer Support and they said you can turn off mod_security using this tutorial:
                            https://help.dreamhost.com/hc/en-us/articles/215947927

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              Georges
                              wrote on last edited by
                              #18

                              Thanks very much for the extra work here, Armin. I hope this helps the original poster and everyone else with this issue. I turned off mod_security, waited 10โ€“15 mins, and now it's all working again, I'm back to updating that page without any HTTP errors.

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                rubensousaborges
                                wrote on last edited by
                                #19

                                Howdy,

                                I tried to update the Lay Theme and Wordpress today and now my website is down.

                                URL is: www.rubensousa.net

                                I can't access anything anymore (also not the admin page) due to "HTTP ERROR 500".

                                I'm in the middle of sending job applications and this is so urgent to fix. Any help would be more than Welcome! :x

                                Ruben

                                1 Reply Last reply
                                0
                                • RichardR Offline
                                  RichardR Offline
                                  Richard
                                  Global Moderator
                                  wrote on last edited by
                                  #20

                                  Dear @rubensousaborges

                                  Have emailed and messaged you on previous post :)

                                  Best wishes
                                  Ricahrd

                                  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