Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
The Old Man Posted January 8, 2022 Posted January 8, 2022 Hi, 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.
The Old Man Posted January 8, 2022 Author Posted January 8, 2022 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. SeNioR- 1
Solution Marc Posted January 10, 2022 Solution Posted January 10, 2022 Have you checked to ensure that after switching over, everything else is compatible? You can do this by running the requirement checker here SeNioR- 1
The Old Man Posted January 10, 2022 Author Posted January 10, 2022 Thanks, I switched back to PHP7.4 for now as my sites were down. I'll reinstall PHP8.0 and use the checker. Marc and Jim M 2
Recommended Posts