Odd Issue With WP 6.6.2 And PHP 8.0+
-
I’m trying to figure out an extremely odd – and what I’m hoping/assuming is a purely cosmetic – glitch with my WordPress site that’s hosted by Siteground, running on 6.6.2.
When running the site on any PHP version 8.0 and higher, pages and posts sections on the WP-Admin side don’t seem to load properly. The docked WP-Admin menu on the left doesn’t expand on mouseover when sitting in either the pages or posts landing pages, and does the same thing when trying to edit a specific page/post. In addition, on specific page/post editing, the content editor box (I use classic site editor) no longer expands to fit the contents of the page (always the same size regardless of content), and additional content boxes (like All-In-One SEO) either don’t show at all or just pinwheel.
This behavior completely disappears whenever I drop the PHP version back down to 7.4.33, and reappears whenever I try a version above 8.0.30, including 8.1.29, 8.2.24, 8.3.12, and 8.4.0. I have tried different combinations of themes, plugins, even Twenty Twenty Four theme with NO plugins and the problem persists. Checking WP debug, server php error logs, and the browser inspector have proven all to be fruitless, just some irrelevant warnings to a few older plugins that I’m still using that I know aren’t associated since they can be deactivated and the problem persists.
In fact, I’m convinced it’s not a plugin or theme issue at all since I can run the WordPress Playground with various 8.0+ php versions, and the same plugins/themes and not have issues whatsoever. I’ve even removed extra stuff added to functions.php, deleted .htaccess, and even used a fresh copy of wp-config and the problem is still there (all while clearing Siteground’s cache and my own cache in between the various tests).
I’m at a complete loss here. On the frontend, everything on the site seems to be functioning normally, and the backend works fine and even lets you edit/save posts/pages despite being glitchy. But the problem is I’m not sure if it is JUST a cosmetic issue and that irks me.
Is this something I should reach out to Siteground for? Anything else I should try? I appreciate all the help.
- You must be logged in to reply to this topic.