Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Jason Back Posted November 18, 2022 Posted November 18, 2022 Hi All. Hope all very well. I contacted my hosting provider to upgrade from PHP 7.4 to 8. The forum breaks with this error: Hello, It appears your theme is not compatible with PHP 8+ ===== Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/powerfo/public_html/system/Theme/Theme.php(885) : eval()'d code on line 2016 ===== I am running the stock theme and not 3rd party plugins or applications. Very much hoping for help. Thanks all. Sincerely Jay
Miss_B Posted November 18, 2022 Posted November 18, 2022 4 minutes ago, Jason Back said: It appears your theme is not compatible with PHP 8+ Are you using a custom theme? If so you must contact its designer so they can make it php 8 compatible.
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 Hi there, It is the stock theme. Take a look at www.powerforum.co.za Really appreciate the help. Sincerely Jay
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 15 minutes ago, Miss_B said: Are you using a custom theme? If so you must contact its designer so they can make it php 8 compatible. Hi there, It is the stock theme. Take a look at www.powerforum.co.za Really appreciate the help. Sincerely Jay
Miss_B Posted November 18, 2022 Posted November 18, 2022 2 minutes ago, Jason Back said: Hi there, It is the stock theme. Take a look at www.powerforum.co.za Really appreciate the help. Sincerely Jay In that case, most likely one of the custom plugins/apps is causing this. Try to disable them one at a time till you find the culprit. Can you check the logs in your Admin Panel and post here the most recent error messages?
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 I have a few custom 3rd party plugins installed but all disabled. Would it help if I were to delete them? Thanks again, Jay
Miss_B Posted November 18, 2022 Posted November 18, 2022 (edited) If they are disabled then I don't think that removing them is necessary. But if you do remove them, make sure to make a backup of the database tables that they have added, in case you would like to use them again later. What about the logs in your Admin Panel? Are there any error messages logged in there recently? What version of Ipb are you using btw? Edited November 18, 2022 by Miss_B
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 6 minutes ago, Miss_B said: If they are disabled then I don't think that removing them is necessary. But if you do remove them, make sure to make a backup of the database tables that they have added, in case you would like to use them again later. What about the logs in your Admin Panel? Are there any error messages logged in there recently? What version of Ipb are you using btw? Thanks, I am using : Version 4.7.1
Miss_B Posted November 18, 2022 Posted November 18, 2022 8 minutes ago, Jason Back said: Thanks, I am using : Version 4.7.1 You should upgrade to the the latest stable version imo, 4.7.4. which has the minimum PHP version 8.0.
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 Will send you a PM. Thank so much. Jay
Marc Posted November 18, 2022 Posted November 18, 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.
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 39 minutes ago, Marc Stridgen said: 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. Thank you. I have updated the details. I hope you have luck with the issue, I would love to upgrade. Many thanks. Looking forward.
Marc Posted November 18, 2022 Posted November 18, 2022 Please could you also disable 2 factor authentication whlie we take a look at this?
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 Just now, Marc Stridgen said: Please could you also disable 2 factor authentication whlie we take a look at this? Done. Thanks
Marc Posted November 18, 2022 Posted November 18, 2022 This still appears to be enabled unfortunately
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 Let me have a look again. Thanks try now. 2 minutes ago, Marc Stridgen said: This still appears to be enabled unfortunately Thanks give it a try now,
Marc Posted November 18, 2022 Posted November 18, 2022 I have managed to get in there now, and would suggest updating your site to the latest release. You are currently on an earlier 4.7 release, which will have had many bug fixes since
Jason Back Posted November 18, 2022 Author Posted November 18, 2022 I am unable to do so as when I enable PHP8 the site will not work. Hoping you can assist. Jay
Marc Posted November 18, 2022 Posted November 18, 2022 Have you checked the requirement checker after you have updated to PHP 8? https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/
Solution Miss_B Posted November 19, 2022 Solution Posted November 19, 2022 This can be marked as solved. @Jason Back contacted me and I upgraded the forum successfully to the latest version running on php 8. Gary and Jason Back 2
Gary Posted November 19, 2022 Posted November 19, 2022 Amazing, thanks for assisting our client regarding this matter. If there is anything else you need help with, @Jason Back, please don't hesitate to get in touch again. Jason Back and Miss_B 2
Jason Back Posted November 21, 2022 Author Posted November 21, 2022 On 11/19/2022 at 4:38 PM, Miss_B said: This can be marked as solved. @Jason Back contacted me and I upgraded the forum successfully to the latest version running on php 8. Thanks so much for the great support. I can highly recommend their services. Very professional. Jay Miss_B 1
Miss_B Posted November 21, 2022 Posted November 21, 2022 1 hour ago, Jason Back said: Thanks so much for the great support. I can highly recommend their services. Very professional. Jay Glad to have been of help. Thank you for your kind words 😊
Recommended Posts