Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Lego Me Eggo Posted October 4, 2022 Posted October 4, 2022 Hey Everyone, So, I updated to the newest version today and got locked out of AdminCP. Jim helped me get back in to the AdminCP -- disabled all plugins and applications. Using default theme and I still get this error: Fatal error: Cannot use "parent" when current class scope has no parent in /home/customer/www/taxidermy-talk.com/public_html/system/Theme/Theme.php(2703) : eval()'d code on line 41 This is the line. I'm not a programmer so -- does anyone see anything wrong with this line? Do I just take out the word parent? Can't be that easy. if ( eval( "namespace IPS\\Theme;\n\n" . str_replace( array( ' extends _HOOK_CLASS_', 'parent::hookData()' ), array( '_tmp', 'array()' ), file_get_contents( $path . '/' . $data['file'] ) ) ) !== FALSE ) Thank you in advance, Robert
Daniel F Posted October 4, 2022 Posted October 4, 2022 That’s an issue with one of your 3rd party scripts having a not PHP8 compatible code in its theme hook . How did you disable your plugins? Lego Me Eggo 1
Lego Me Eggo Posted October 4, 2022 Author Posted October 4, 2022 Hey Daniel, I had to use recovery to disable them. There were three left over but I clicked to disable them as well. None of those are currently running. Thanks for the help. Robert
Lego Me Eggo Posted October 4, 2022 Author Posted October 4, 2022 (edited) So I just removed (uninstalled) ALL plugings and ALL non-Invision applications with no change. Robert Edited October 4, 2022 by Lego Me Eggo
Marc Posted October 4, 2022 Posted October 4, 2022 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. Lego Me Eggo 1
Lego Me Eggo Posted October 4, 2022 Author Posted October 4, 2022 Hey Marc, Its weird, I threw my hands up last night and rolled back to the last version of php and the site came up without any noticeable problems. This morning I wanted to check something and turned php 8.0 back on and it now seems to be working. Im still shaking my head but -- thank you to everyone who helped me on this. Robert
Marc Posted October 4, 2022 Posted October 4, 2022 I would claim to have fixed it for you while you slept, but that would simply be a lie. 🙂 Glad things are working out Jim M 1
Recommended Posts