The Old Man
January 8, 2022 in Technical Problems
I've started seeing this error on my custom themes and after checking it's sometimes showing on the default IPS Theme too. There's another similar topic in this forum, but it's stale since Dec 23rd, so assumed I should create my own.
The Support Tools show no problems or fixes aside from usual notices about Cloudflare, yet in my AdminCP system log there's errors with reference to "undefined constants" in my themes.
My uploads folder is writable. Clearing all caches has no effect. This error persists after running the support tool. It sometimes goes but my header is messed up, broken image and JS code.
[[Template core/global/global/includeCSS is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
I think it started after changing PHP74 to PHP8.0.14 yesterday and I hadn't noticed any issues.
I may switch back to be sure.
Seems to be related to PHP settings in CPanel/WHM. If I turn all my sites back to Inherit PHP PHP-FPM 7.4.27 the issues go away. I know Ioncube Loader is unavailable from PHP8, not sure if the cause.
Have you checked to ensure that after switching over, everything else is compatible? You can do this by running the requirement checker here
Thanks, I switched back to PHP7.4 for now as my sites were down. I'll reinstall PHP8.0 and use the checker.
Started Thursday at 02:49 PM
Started 5 hours ago
Started Saturday at 01:22 AM