Post by hk711 » Tue Jun 18, 2024 10:57 am

I moved opencart to a new server. Everything is set up, but I encountered the following issue. Can you please help take a look at what the problem might be?

Thank you very much

Fatal error: Uncaught Error: Class 'Twig\Loader\ArrayLoader' not found in /home/myutooc1/ Stack trace: #0 /home/myutooc1/ Template\Twig->render('default/templat...', '<div class="foo...') #1 /home/myutooc1/ Template->render('default/templat...', '') #2 /home/myutooc1/ Loader->view('new_html/footer', Array) #3 /home/myutooc1/ ControllerNewHtmlFooter->index(Array) #4 /home/myutooc1/ Action->execute(Object(Registry), Array) #5 /home/myutooc1/ Loader->controller('new_html/footer') #6 /home/myutooc1/ ControllerCommonHome->index() #7 /home/myutooc1/ Action->execute(Object(Registry)) #8 /home/myutooc1/h in /home/myutooc1/ on line 39



Mon Jul 11, 2016 11:47 pm

Post by ADD Creative » Tue Jun 18, 2024 4:03 pm

Did you move over your storage directory and set the correct paths in your config.php.

Also your system/library/template/twig.php file seems to have been modified.

Expert Member


Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 118 guests