Post by frankpmjr » Mon May 07, 2018 8:37 am

Hi,
I am new to Open Cart and attempting to create a new instance of Open Cart for a client. I can't seem to upload the products (over 1900) into the site. I keep getting the following error:
The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead.

There is more to it but its mostly calling what file the file is causing the error (this is an example: system/library/template/Twig/Autoloader.php). Anyway, I installed Composer but I probably need to reference it in the
system/library/template/Twig/Autoloader.php file and I have no idea how to update the method to do that.

Can I get a bit of guidance? Thanks

Newbie

Posts

Joined
Sun Jan 21, 2018 2:03 am

Post by frankpmjr » Mon May 07, 2018 11:05 am

OK I'm not sure what exactly I did to fix the issue but here is the order of events.
I installed Composer on my Server
I Installed the Template switcher from the same developer in Open Cart as a module
I corrected some issues with the CSV I was uploading that hold the products.
I think maybe the error I put up earlier is a general error thrown when there is an issue with the feed. I'm not positive since I didn't test in between each activity.

Newbie

Posts

Joined
Sun Jan 21, 2018 2:03 am

Post by mobimain » Wed Jul 11, 2018 7:02 pm

frankpmjr wrote:
Mon May 07, 2018 11:05 am
OK I'm not sure what exactly I did to fix the issue but here is the order of events.
I installed Composer on my Server
I Installed the Template switcher from the same developer in Open Cart as a module
I corrected some issues with the CSV I was uploading that hold the products.
I think maybe the error I put up earlier is a general error thrown when there is an issue with the feed. I'm not positive since I didn't test in between each activity.

tell me how you installed the composter under the opencart. I have the same problem

Newbie

Posts

Joined
Tue Jul 03, 2018 9:00 pm

Post by godly75 » Mon Oct 08, 2018 10:19 am

here also the same problem when trying to import the users.
How did you fix it?

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by Pyrocrafter » Mon Mar 25, 2019 6:33 pm

I have the same problem. Isn't it annoying when a person with a solution doesn't come back with answers :bash:

New member

Posts

Joined
Tue May 14, 2013 4:49 am

Post by Pyrocrafter » Mon Mar 25, 2019 6:46 pm

This page should help. https://getcomposer.org/doc/00-intro.md
From what I can gather you need to go to your server (eg CPanel) log in ssh and type in a load of code

New member

Posts

Joined
Tue May 14, 2013 4:49 am
Who is online

Users browsing this forum: No registered users and 57 guests