Post by JaxMusic » Tue May 07, 2024 5:50 am

OC Version 3.0.3.9
PHP 8.1
Extensions/Modules: Google Shopping, G Analytics, Facebook, TMD Notifications, Social Plugin


Good afternoon. TIA for an insights you all may provide. I upgraded to version 3.0.3.9 from 3.0.3.8 this afternoon. No issues during the upgrade process. However, my installation appears to be broken! The home page does not load correctly and immediately get this error:

Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/jaxmusic/ocartdata/storage/modification/system/engine/action.php on line 65

Clicking on products immediately gives you a bunch of errors (see attached screenshot). Additionally, errors are appearing on the admin screen (see screenshot). I hope this is something relatively simple as I don't believe it will be possible to roll it back. Thanks for any help.

Attachments

OC Error 2024-05-03 admin.jpg

Error on admin age - OC Error 2024-05-03 admin.jpg (65.49 KiB) Viewed 1854 times

OC Error 2 2024-05-06.jpg

Error within site - OC Error 2 2024-05-06.jpg (817.39 KiB) Viewed 1854 times

Last edited by JaxMusic on Fri May 10, 2024 4:25 am, edited 1 time in total.

Open Cart version 3.0.3.8, JaxMusic.com

Mods & extensions enabled:
Google Shopping, Google Analytics, Dashboard, banners, carousel, Slide Show, Paypal , Reports, Free Shipping, Coupon, Store Credit, Reward Points, Shipping, Subtotal, Taxes, Total, Gift VoucherOpenCart Advertise, Twistin Disable Out of Stock, Teapplix (shipping and stock synch)


Newbie

Posts

Joined
Thu Jul 14, 2022 4:41 am

Post by grgr » Tue May 07, 2024 8:02 am

I would suggest disabling the facebook extension first, as that seems to be where all the trouble is coming from.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by Elevate » Tue May 07, 2024 9:45 am

I second the suggestion to disable the FB extension. Also, clear your OCMOD cache and check to make sure all files are uploaded properly. The map.php is probably not related to the FB extension.

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA

Post by ADD Creative » Tue May 07, 2024 4:51 pm

The fix for the warning in system/engine/action.php on line 65 is https://github.com/opencart/opencart/pull/13019.

www.add-creative.co.uk


Guru Member

Posts

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

Post by JaxMusic » Wed May 08, 2024 1:08 am

Thanks everyone, especially ADD Creative suggestion which resolved the homepage issue and Elevate for clearing the OCMOD Cache. Yes, the FB extension was apparently causing some stuff too, which several suggested removing. Since I do not advertise on FB it makes sense to disable it. There are always a few gotchas when I make changes to OC. I do not do it often but the community here is always so helpful when needed.

Open Cart version 3.0.3.8, JaxMusic.com

Mods & extensions enabled:
Google Shopping, Google Analytics, Dashboard, banners, carousel, Slide Show, Paypal , Reports, Free Shipping, Coupon, Store Credit, Reward Points, Shipping, Subtotal, Taxes, Total, Gift VoucherOpenCart Advertise, Twistin Disable Out of Stock, Teapplix (shipping and stock synch)


Newbie

Posts

Joined
Thu Jul 14, 2022 4:41 am

Post by straightlight » Wed May 08, 2024 9:03 pm

Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

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 JaxMusic » Fri May 10, 2024 4:25 am

Strange behavior as the error appeared again. Went and updated again. Very strange.

Going to mark this as solved

Open Cart version 3.0.3.8, JaxMusic.com

Mods & extensions enabled:
Google Shopping, Google Analytics, Dashboard, banners, carousel, Slide Show, Paypal , Reports, Free Shipping, Coupon, Store Credit, Reward Points, Shipping, Subtotal, Taxes, Total, Gift VoucherOpenCart Advertise, Twistin Disable Out of Stock, Teapplix (shipping and stock synch)


Newbie

Posts

Joined
Thu Jul 14, 2022 4:41 am
Who is online

Users browsing this forum: No registered users and 4 guests