Post by Evilonion » Sun Apr 28, 2024 3:02 am

hi all.
Searched forum but could not find anything answering my issue.

I have upgraded to php8.1
Upgraded to latest version 3.0.3.9 as recommended.

Currently getting this error log constantly:
PHP Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/website/public_html/products/system/engine/action.php on line 65
On line 65 is:

Code: Select all

		$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
Not sure what the issue is

Active Member

Posts

Joined
Sun Oct 30, 2016 8:07 pm

Post by Evilonion » Sun Apr 28, 2024 3:41 am

Just to add, ive noticed the same file in github is slightly different.
Should i use that file or is it likely to cause me further issues?

Active Member

Posts

Joined
Sun Oct 30, 2016 8:07 pm

Guru Member

Posts

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

Post by OSWorX » Sun Apr 28, 2024 2:41 pm

Evilonion wrote:
Sun Apr 28, 2024 3:02 am
I have upgraded to php8.1
Upgraded to latest version 3.0.3.9 as recommended.
Simply use the files from here: https://github.com/opencart/opencart/tree/3.0.x.x

p.s.: this will be the new (hopefully soon released) official 3.0.4.0 version.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 19 guests