Post by Baevmitko » Mon Jul 15, 2024 11:32 pm

Hello!

I've tried to install the AJAX Quick Checkout extension but i have a problem now. There is some error messages in the admin panel and in the website.

Unknown: Creation of dynamic property Template\Twig::$registry is deprecated in /home/vellaspo/storage2/modification/system/library/template/twig.php on line 7Unknown: Creation of dynamic property Template\Twig::$registry is deprecated in /home/vellaspo/storage2/modification/system/library/template/twig.php on line 7Unknown: Creation of dynamic property Template\Twig::$registry is deprecated in /home/vellaspo/storage2/modification/system/library/template/twig.php on line 7Unknown: Creation of dynamic property Template\Twig::$registry is deprecated in /home/vellaspo/storage2/modification/system/library/template/twig.php on line 7

I am new to this so I will be very thankful if you can help me to fix it.

P.S I have deleted the extension.

Newbie

Posts

Joined
Mon Jul 15, 2024 10:11 pm

Post by Johnathan » Tue Jul 16, 2024 9:58 pm

This error happens in newer PHP versions, and would need to be fixed by the developer. If you uninstalled the extension make sure you also deleted all its ocMod files (in Extensions > Modifications and in the /system/ directory, if it has any in there).

After that, refresh your ocMod cache in Extensions > Modifications. That should remove all modifications it makes to your system.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Baevmitko » Thu Jul 18, 2024 3:45 am

Thanks, i fix it! But now I have another problem. I have tried to install a new theme through the opencart admin panel. This is the theme - https://www.opencart.com/index.php?rout ... load_id=73

I have installed the theme and then my website has broken. I've got these error messages:

Fatal error: Uncaught Exception: Error: Could not load model tnt/tntslider! in /home/vellaspo/storage2/modification/system/engine/loader.php:89 Stack trace: #0 /home/vellaspo/storage2/modification/admin/controller/common/column_left.php(698): Loader->model('tnt/tntslider') #1 /home/vellaspo/storage2/modification/system/engine/action.php(79): ControllerCommonColumnLeft->index(Array) #2 /home/vellaspo/storage2/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #3 /home/vellaspo/public_html/shop/upload/admin/controller/common/dashboard.php(90): Loader->controller('common/column_l...') #4 /home/vellaspo/storage2/modification/system/engine/action.php(79): ControllerCommonDashboard->index() #5 /home/vellaspo/public_html/shop/upload/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array) #6 /home/vellaspo/storage2/modification/system/engine/action.php(79): ControllerStartupRouter->index() #7 /home/vellaspo/public_html/shop/upload/system/engine/router.php(67): Action->execute(Object(Registry)) #8 /home/vellaspo/public_html/shop/upload/system/engine/router.php(56): Router->execute(Object(Action)) #9 /home/vellaspo/public_html/shop/upload/system/framework.php(169): Router->dispatch(Object(Action), Object(Action)) #10 /home/vellaspo/public_html/shop/upload/system/startup.php(104): require_once('/home/vellaspo/...') #11 /home/vellaspo/public_html/shop/upload/admin/index.php(19): start('admin') #12 {main} thrown in /home/vellaspo/storage2/modification/system/engine/loader.php on line 89

Now I don't have access to the opencart admin panel and I can't do nothing! Please help me... :/

Newbie

Posts

Joined
Mon Jul 15, 2024 10:11 pm

Post by IP_CAM » Thu Jul 18, 2024 4:43 am

The Theme you tried to install is NOT built for Opencart v.4.x Version, as it's clearly noted... :laugh:

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Baevmitko » Thu Jul 18, 2024 11:49 am

IP_CAM wrote:
Thu Jul 18, 2024 4:43 am
The Theme you tried to install is NOT built for Opencart v.4.x Version, as it's clearly noted... :laugh:
I am using version 3.0.3.9. I saw that this theme supports this version. How can I know which extension is good for my website and is not going to break everything? How can I fix this error now when I don’t have access to the opencart panel?

Newbie

Posts

Joined
Mon Jul 15, 2024 10:11 pm

Post by Johnathan » Fri Jul 19, 2024 10:27 pm

You posted in the 4.0 forum which is why we assumed you were using 4.0. I've moved this topic into the 3.0 forum now.

It's unlikely anyone will be able to help you with an extension issue, so you should contact the developer. In the meantime, if you want to disable all ocMods on your site then rename this directory temporarily:

/home/vellaspo/storage2/modification/

If you rename it then no ocMods will be active, so you can get into your admin panel and disable the bad ocMod. Refresh your ocMod files again after that and a new "modification" directory will be created.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Baevmitko » Fri Jul 19, 2024 11:33 pm

Johnathan wrote:
Fri Jul 19, 2024 10:27 pm
You posted in the 4.0 forum which is why we assumed you were using 4.0. I've moved this topic into the 3.0 forum now.

It's unlikely anyone will be able to help you with an extension issue, so you should contact the developer. In the meantime, if you want to disable all ocMods on your site then rename this directory temporarily:

/home/vellaspo/storage2/modification/

If you rename it then no ocMods will be active, so you can get into your admin panel and disable the bad ocMod. Refresh your ocMod files again after that and a new "modification" directory will be created.
Thanks!
Last question - where should I need to rename this?

Newbie

Posts

Joined
Mon Jul 15, 2024 10:11 pm

Post by Johnathan » Sat Jul 20, 2024 9:41 pm

You have to rename the directory on the server, using FTP or something like the cPanel file manager.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: jog2le and 17 guests