[SNAPSHOT] cannot restore site

When I try to restore my site using managed backup I get a 500 error.

  • Ash
    • WordPress Hacker

    Hello Aran Eversman

    It seems the issue is related to PHP version. What is your php version? Would you please make sure you have the latest version of php?

    If you have latest version of php, please send me the file: /home6/thehapr0/public_html/happycbd/staging/5640/wp-content/themes/Nellie/includes/branding/functions.php using http://pastebin.com and I will check.

    I tried to check, but when I logged in I found the folder empty.

    Have a nice day!

    Cheers,
    Ash

  • Aran Eversman
    • WPMU DEV Initiate

    Hello Ash, thanks for the reply!

    I scrubbed the entire /happycbd directory last night, including the staging subdirectory that bluehost created automatically upon deploying the wordpress site.

    My last attempt was a snapshot install to a clean DB, clean directory since that's the state that Kris (support tech i worked with) was able to recreate a working demo site
    (link: http://test15.ekris.lubin.pl/)

    Here is the link to the functions.php file that you requested: https://pastebin.com/DdGyG5aC

    Demo Link: http://test15.ekris.lubin.pl/

  • Aran Eversman
    • WPMU DEV Initiate

    Also, I forgot to send versions:
    Apache 2.2.34
    PHP 5.4.24
    MySQL 5.6.32-78.1
    Perl 5.24.1

    I am uploading snapshot-installer.php and the backup I shared with Kris, would you like me to deploy the backup so the site files are in place and you can see the issue?

    Thanks for you help!

    Aran

  • James Morris
    • WordPress Enthusiast

    Hello Aran Eversman

    While we do our best to maintain compatibility with older versions of PHP, 5.6 is the oldest currently supported version by PHP.net. See: http://php.net/supported-versions.php 5.6 is actually End of Life for anything but security updates.

    With each version update of PHP, there are many enhancements and improvements. In general, for stability and security reasons, you should run the most recent "stable" branch. Currently, that's PHP 7.1.x. 7.2.x is the more bleeding edge and may not work with all plugins and themes.

    WordPress Core is recommending running much newer versions of PHP. https://wordpress.org/about/requirements/

    A side note about PHP 7.1.x: There were numerous performance enhancements that started with he 7.x branch that make a noticeable difference in page load times and reduced server load. If your host supports it, you may want to give PHP 7 a try. :slight_smile:

    I hope this clarifies a bit.

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.