Post by johnp » Sat Feb 20, 2021 4:00 am

I've got a 1.5.6.5 test site running on PHP 8.0. So far it's error free. If anyone wants to share their PHP 8 experiences I'd be interested to hear them. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by straightlight » Sun Feb 21, 2021 12:21 am

johnp wrote:
Sat Feb 20, 2021 4:00 am
I've got a 1.5.6.5 test site running on PHP 8.0. So far it's error free. If anyone wants to share their PHP 8 experiences I'd be interested to hear them. :)
PHP 8 requirements has also been updated on the master branch officially since today.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by jhisaza » Mon May 10, 2021 9:18 am

Hi, I am using OC 3.0.3.7 and php 8.0.3. OpenCart is functioning well, except for the Blog at this level: oc/index.php?route=blog/article&article_id=13
Here I get the following error message: Warning: Trying to access array offset on value of type null in /home/MyDomain/public_html/oc/catalog/controller/blog/article.php on line 50
The same occurs in PHP 7.4. This disappears in php7.3. Please help me to solve this problem

Newbie

Posts

Joined
Wed Jul 17, 2019 10:40 am

Post by JNeuhoff » Mon May 10, 2021 3:57 pm

jhisaza wrote:
Mon May 10, 2021 9:18 am
Hi, I am using OC 3.0.3.7 and php 8.0.3. OpenCart is functioning well, except for the Blog at this level: oc/index.php?route=blog/article&article_id=13
Here I get the following error message: Warning: Trying to access array offset on value of type null in /home/MyDomain/public_html/oc/catalog/controller/blog/article.php on line 50
The same occurs in PHP 7.4. This disappears in php7.3. Please help me to solve this problem
Seriously, you want help for a 3rd party blog extension which isn't part of OpenCart? You have to get in touch with the author of that extension.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by eddielai » Wed Mar 01, 2023 10:35 am

johnp wrote:
Sat Feb 20, 2021 4:00 am
I've got a 1.5.6.5 test site running on PHP 8.0. So far it's error free. If anyone wants to share their PHP 8 experiences I'd be interested to hear them. :)
Hi Johnp,

I tried running opencart 1.5.6.4 on PHP 8.1 but received this error:
"PHP message: PHP Fatal error: Uncaught Error: Unknown named parameter $front in vqmod/vqcache/vq2-system_engine_front.php:53
Stack trace:
#0 vqmod/vqcache/vq2-system_engine_front.php(40): Front->execute()
#1 index.php(236): Front->dispatch()
#2 {main}\n thrown in /vqmod/vqcache/vq2-system_engine_front.php on line 53"

Any idea how to fix this? Thanks. :)

Newbie

Posts

Joined
Fri Apr 20, 2012 10:42 am

Post by ADD Creative » Wed Mar 01, 2023 6:28 pm

eddielai wrote:
Wed Mar 01, 2023 10:35 am
I tried running opencart 1.5.6.4 on PHP 8.1 but received this error:
"PHP message: PHP Fatal error: Uncaught Error: Unknown named parameter $front in vqmod/vqcache/vq2-system_engine_front.php:53
Stack trace:
#0 vqmod/vqcache/vq2-system_engine_front.php(40): Front->execute()
#1 index.php(236): Front->dispatch()
#2 {main}\n thrown in /vqmod/vqcache/vq2-system_engine_front.php on line 53"

Any idea how to fix this? Thanks. :)
Cause by an extension or modification. You would need to work out which one and get it updated to work with PHP 8.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: paulfeakins and 68 guests