Post by antmagn » Thu Sep 11, 2025 7:40 pm

hello everyone, I suddenly got this message in both admin and front, although I was not making any changes, nor was on my computer anyway, what might happen? please help me, I beg you.

Version 3.0.3.8
PHP version: 7.3.13
Default theme

Unknown: Creation of dynamic property Request::$request is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/request.php on line 26Unknown: Creation of dynamic property Session\DB::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/session/db.php on line 8Unknown: Creation of dynamic property Cart\Customer::$config is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/customer.php on line 14Unknown: Creation of dynamic property Cart\Customer::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/customer.php on line 15Unknown: Creation of dynamic property Cart\Customer::$request is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/customer.php on line 16Unknown: Creation of dynamic property Cart\Customer::$session is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/customer.php on line 17Unknown: Creation of dynamic property Cart\Currency::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/currency.php on line 7Unknown: Creation of dynamic property Cart\Currency::$language is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/currency.php on line 8Unknown: Creation of dynamic property Cart\Tax::$config is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/tax.php on line 7Unknown: Creation of dynamic property Cart\Tax::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/tax.php on line 8Unknown: Creation of dynamic property Cart\Weight::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/weight.php on line 7Unknown: Creation of dynamic property Cart\Weight::$config is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/weight.php on line 8Unknown: Creation of dynamic property Cart\Length::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/length.php on line 7Unknown: Creation of dynamic property Cart\Length::$config is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/library/cart/length.php on line 8Unknown: Creation of dynamic property Cart\Cart::$config is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/modification/system/library/cart/cart.php on line 7Unknown: Creation of dynamic property Cart\Cart::$customer is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/modification/system/library/cart/cart.php on line 8Unknown: Creation of dynamic property Cart\Cart::$session is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/modification/system/library/cart/cart.php on line 9Unknown: Creation of dynamic property Cart\Cart::$db is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/modification/system/library/cart/cart.php on line 10Unknown: Creation of dynamic property Cart\Cart::$tax is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/modification/system/library/cart/cart.php on line 11Unknown: Creation of dynamic property Cart\Cart::$weight is deprecated in /home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/modification/system/library/cart/cart.php on line 12
Last edited by antmagn on Thu Sep 11, 2025 8:54 pm, edited 1 time in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by paulfeakins » Thu Sep 11, 2025 7:56 pm

antmagn wrote:
Thu Sep 11, 2025 7:40 pm
what might happen?
Your web host might have updated PHP without telling you.

You should ask them ASAP.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by antmagn » Thu Sep 11, 2025 8:00 pm

paulfeakins wrote:
Thu Sep 11, 2025 7:56 pm
antmagn wrote:
Thu Sep 11, 2025 7:40 pm
what might happen?
Your web host might have updated PHP without telling you.

You should ask them ASAP.
thank you, that's what I thought, I've sent them message. Can I do something manually until I got any news from them? I have ftp access

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by antmagn » Thu Sep 11, 2025 8:04 pm

paulfeakins wrote:
Thu Sep 11, 2025 7:56 pm
antmagn wrote:
Thu Sep 11, 2025 7:40 pm
what might happen?
Your web host might have updated PHP without telling you.

You should ask them ASAP.
Please check screenshots, should I order php selector, for stop waiting? will it work? I do not know when they will answer me :(
I did not knew that opencart 3.0.3.8 does not support php 8

Attachments

phpSelector.JPG

phpselect - phpSelector.JPG (13.78 KiB) Viewed 293 times

???
phpSelector2.JPG
phpselect2

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by khnaz35 » Thu Sep 11, 2025 8:14 pm

Yes you can and the select php 7.4 from the list.

Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy. :-*

Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by by mona » Thu Sep 11, 2025 8:17 pm

no one can tell you if it will work or not - your host should not have upgraded without your knowledge and prior warning.
You could also upgrade to 3.0.4.1 - this supports php8 - but this might effect any modules / extension / theme you have ... Default Opencart should be fine - always back up your site before making any changes - database and files.

Making you pay "after" they did it seems unreasonable - but sales usually answer the phone / online chat - so use that to get it returned to 7.4 or make them check and pay only after you see it working.

Personally I would change hosts anyway, but doing it i a rush is probably not ideal for you.

SECURITY WARNING : NEVER HAVE ERROR LOGGING ON A LIVE SITE
It makes hacking easier.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by khnaz35 » Thu Sep 11, 2025 8:22 pm

A lot of shared hosting companies update their servers from time to time without informing each individual client.
For example, Bluehost does this. If someone truly cares about their business and security, they should choose a VPS or dedicated server. If those are unaffordable, a managed base-level VPS is still a better option than shared hosting.

Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy. :-*

Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by antmagn » Thu Sep 11, 2025 8:27 pm

Thank you guys, it did work, I revert the php to 7.4 and now it's fine. Should I consider upgrading soon? I have lots of extensions that I'm running, thats true...

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by by mona » Thu Sep 11, 2025 8:40 pm

khnaz35 wrote:
Thu Sep 11, 2025 8:22 pm
A lot of shared hosting companies update their servers from time to time without informing each individual client.
For example, Bluehost does this. If someone truly cares about their business and security, they should choose a VPS or dedicated server. If those are unaffordable, a managed base-level VPS is still a better option than shared hosting.
You do not need VPS or a dedicated server - you just need a decent host. One that does not sell out to Go Daddy is usually a good rule of thumb.
antmagn wrote:
Thu Sep 11, 2025 8:27 pm
Thank you guys, it did work, I revert the php to 7.4 and now it's fine. Should I consider upgrading soon? I have lots of extensions that I'm running, thats true...
Great news. Yes you should upgrade to 3.0.4.0 or 3.0.4.1 because php7.4 is no longer supported and has been upgraded for better security, performance and coding practices (that is the depreciations). There are other improvements made for security reasons also and a knock on effect of the php upgrade is other upgrades. Since it is still Opencart 3 it is a relatively seamless thing to do and whilst yes there will probably be some "depreciation errors to deal with - now is the time to check your extensions and see if they have upgrades for php8 (if you purchased them from opencart that should be painless).

Now that it is solved please add {SOLVED] to the title - thanks

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by antmagn » Thu Sep 11, 2025 8:46 pm

by mona wrote:
Thu Sep 11, 2025 8:17 pm
no one can tell you if it will work or not - your host should not have upgraded without your knowledge and prior warning.
You could also upgrade to 3.0.4.1 - this supports php8 - but this might effect any modules / extension / theme you have ... Default Opencart should be fine - always back up your site before making any changes - database and files.

Making you pay "after" they did it seems unreasonable - but sales usually answer the phone / online chat - so use that to get it returned to 7.4 or make them check and pay only after you see it working.

Personally I would change hosts anyway, but doing it i a rush is probably not ideal for you.

SECURITY WARNING : NEVER HAVE ERROR LOGGING ON A LIVE SITE
It makes hacking easier.
Thank you for your advice, I commented the debug line in the startup.php file. They did not made me pay, I just did not want to wait for the support to answer me, that's why I paid for the php switcher as soon as I saw this feature in the panel. And maybe I could "play" around with any possible opencart upgrades etc.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by antmagn » Thu Sep 11, 2025 8:53 pm

Thank you guys! I want to hug you :) I got panicked ! (I'm a girl with some basic knowledge of programming but it is not compared to yours ;D )

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm
Who is online

Users browsing this forum: Semrush [Bot] and 33 guests