Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 29, 20222 yr When changing to PHP 8.1 in cPanel my site throws a 500 error with the following log entry: [29-Nov-2022 09:39:55 UTC] PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/xxxxxxxxxxx/public_html/forum/system/Theme/Theme.php(2632) : eval()'d code on line 27 Does anyone know how to resolve this?
November 29, 20222 yr That's an issue with a 3rd party application or plugin with a not PHP8.1 compatible theme hook. Try disabling all your 3rd party applications and plugins and then enable them one by one until the error appears again to see which one is causing this.
November 29, 20222 yr Author Thanks for your help. I've disabled all third-party plugins and am still seeing this. Do I need to uninstall them as well as just disabling them?
November 29, 20222 yr We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
November 29, 20222 yr Author Solution Thanks so much for your speedy reply. I have figured it out now - I hadn't realised that as well as the plugins on the "plugins" page I also had a third-party plugin (Mail Bouncer) that was listed on the "Applications" page - this was the one causing the error. All sorted now. Thanks again for such a fast response.