• Hi everybody,
    I frequently code themes based on the https://underscores.me/ None of these websites using that theme ever had any problems running on PHP 8.0 or 8.1

    Today for the first time I have a problem after changing the PHP version the site does not work at all. After switching back to PHP 7.4: I tried https://ww.wp.xz.cn/plugins/php-compatibility-checker/ to see where the bug is located. But the plugin did not work.

    Does anybody know how I can locate the bug? It will be hard to check every line manually.

    Thanks, for ideas!
    Raphael

    • This topic was modified 3 years, 7 months ago by rabox66.
    • This topic was modified 3 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Today for the first time I have a problem after changing the PHP version the site does not work at all.

    What happens if you enable debugging? That should signpost where the issue is/are.

    Thread Starter rabox66

    (@rabox66)

    No, on PHP 7.4 everything is OK. In PHP 8.0 the website is down because of an fundamental error. Therefore I cannot see any debugging informations.

    Maybe a look in the errorl logs might show where the bug is located. I will have a look which kind of information the hoster offers. Thanks for the idea.

    I agree. Error logs are your best bet in this case. Good luck with hunting down the bug(s).

    Thread Starter rabox66

    (@rabox66)

    Yes, I already checked it. In fact, I do not understand what it is about. I think the problem is caused by something the hoster is responsible for. I sent it to the support.

    I switched from 7.4 to 8.0 on many sites, all of them with my hand coded themes. And I never had any prtoblems.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Testing a theme for PHP 8.0 compatibility’ is closed to new replies.