Page 1 of 1
Error on website and admin panel - Solved
Posted: Thu May 11, 2023 7:41 pm
by tina86
Hi,
Firstly sorry if this is in the wrong section. Would appreciate any help.
Went to check my site today and it has the following showing at the top of the page.
Screen shot of webpage - Screenshot from 2023-05-11 13-17-34.png (104.77 KiB) Viewed 1094 times
When I log into the admin page I get this at the top of the page.
Screen shot of admin page - Screenshot 2 from 2023-05-11 13-18-23.png (146.52 KiB) Viewed 1094 times
I haven't added or altered anything in ages and the site was fine up to today. I am using Opencart 2.3.02 with default theme. I have tried disabling modifications and any recent extensions but none of that made any difference.
Re: Error on website and admin panel
Posted: Thu May 11, 2023 8:05 pm
by straightlight
OC version. PHP version.
Re: Error on website and admin panel
Posted: Thu May 11, 2023 9:09 pm
by by mona
tina86 wrote: ↑Thu May 11, 2023 7:41 pm
I am using Opencart 2.3.02 with default theme. I have tried disabling modifications and any recent extensions but none of that made any difference.
Check with your host that they have not changed the php version - change it back to php 7.4
If they are unable to do so you can search the forum for OC3.x.x.x maintenance or change hosts
Re: Error on website and admin panel
Posted: Thu May 11, 2023 9:10 pm
by tina86
Opencart 2.3.02
Php version 8.1.18
Re: Error on website and admin panel
Posted: Thu May 11, 2023 9:43 pm
by by mona
by mona wrote: ↑Thu May 11, 2023 9:09 pm
change it back to php 7.4
If they are unable to do so you can search the forum for OC3.x.x.x maintenance or change hosts
you could also try
https://github.com/condor2/Opencart_230x_PHP_8
Be aware that none of your extensions have been built for php8 and you may need to hire a developer to fix those
Re: Error on website and admin panel
Posted: Thu May 11, 2023 10:11 pm
by tina86
Have changed back to 7.4 and all is working properly again.
Thanks guys.

Re: Error on website and admin panel
Posted: Fri May 12, 2023 12:35 am
by ADD Creative
It would also be a good idea to switch off error display in your settings. Not only can minor notices be show on your website, as you have seen, they can also be a security risk.