• Resolved mexxez

    (@mexxez)


    Dear Mr or Ms,

    I have just moved my domain vinaet.de to a new server. Soo far soo fine.

    However, after upgrading from php 7.430 to php 8.022 and 8.19 the site create a 502 and can in general not be accessed.

    I tried to troubleshoot all snippets and deactived all snippets. However, the issue still does not disappear.

    When deactivating the whole Code Snippets plugin though everything seems to work fine.

    I am looking forward to hearing from you soon.

    Kind regards,

    Max

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi Max,

    Code Snippets has been thoroughly tested with (and was even developed on) PHP 8.

    If your site is crashing after upgrading, it’s likely due to some outdated code in one or more of your snippets.

    I recommend enabling safe mode to regain access to your site in these situations: https://help.codesnippets.pro/article/12-safe-mode

    Thread Starter mexxez

    (@mexxez)

    Thanks for your message.

    I just tried it. The site still crashes with php8+. Something with the database must be messed up.

    Is there a guide for a clean reinstallation? Unfortunately, I could not find one.

    Which files and entries need to be deleted (without crashing everything)?

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @mexxez,

    You can delete the snippets table from your database to reset the plugin. Keep in mind that this will remove all your old snippets however, so I recommend keeping a backup.

    Alternatively, you can just change all the values in the active column in that table from 1 to 0.

    Thread Starter mexxez

    (@mexxez)

    Many thanks.

    Meanwhile, I was able to find a guide on your site:

    https://help.codesnippets.pro/article/30-complete-uninstall

    Before I searched for wrong terms: reinstallion / clean installation.

    • This reply was modified 2 years, 2 months ago by mexxez.
    Plugin Author Shea Bunge

    (@bungeshea)

    Absolutely, if you can access the plugin settings page, you can enable that setting to allow for a complete uninstall clean-up.

    Thread Starter mexxez

    (@mexxez)

    I will backup everything (wordpress, snippets) and let you know wether it works.

    Thread Starter mexxez

    (@mexxez)

    A clean reinstall worked.

    Many thanks for your support!

    Plugin Author Shea Bunge

    (@bungeshea)

    Glad to hear you got it sorted!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PHP 8+ crashes site even with all snippets deactivated’ is closed to new replies.