Post by masifkhan » Mon Jul 05, 2021 10:59 pm

Hello Developers,

I have upgraded opencart to latest version 3.0.3.7, I also have upgraded journal theme 2 to version 3. At the last moment when I import journal theme #11 backup (skin), The website is now giving me the following error.


Fatal error: Uncaught Twig\Error\LoaderError: Template "journal3/template/journal3/product_card.twig" is not defined in "journal3/template/journal3/module/products.twig" at line 8. in /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Loader/ArrayLoader.php:70 Stack trace: #0 /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ArrayLoader->getCacheKey('journal3/templa...') #1 /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('journal3/templa...') #2 /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Template.php(333): Twig\Environment->loadTemplate('journal3/templa...', NULL) #3 /home/malakand/public_html/projects/maria-collection/system/cache/template/0f/0fa7ae2a63aba5ee049a7722e7b80499adaf2cf124c5f3d9fc1d4f53e51dfee2.php(392): Twig\Template->loadTemplate('journal3/templa...', 'journal3/templa...', 8) #4 /home in /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Loader/ArrayLoader.php on line 70


I refreshed Modifications, Cache etc. Still the error is displaying on the website home page. I can login to admin panel is all working fine.

Newbie

Posts

Joined
Mon Jul 05, 2021 10:51 pm

Post by thekrotek » Tue Jul 06, 2021 4:13 pm

Contact Journal or that 3rd party extension support on the matter.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by paulfeakins » Tue Jul 06, 2021 4:55 pm

thekrotek wrote:
Tue Jul 06, 2021 4:13 pm
Contact Journal or that 3rd party extension support on the matter.
Or you could pay a developer such as ourselves or post a job in the Commercial Support Forum.

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


User avatar
Legendary Member

Posts

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

Post by JNeuhoff » Tue Jul 06, 2021 7:17 pm

Or use a proper, OC standard-compliant web theme which actually uses a correct product.twig template.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by josephdanial » Tue Mar 15, 2022 12:28 pm

masifkhan wrote:
Mon Jul 05, 2021 10:59 pm
Hello Developers,

I have upgraded opencart to latest version 3.0.3.7, I also have upgraded journal theme 2 to version 3. At the last moment when I import journal theme #11 backup (skin), The website is now giving me the following error.


Fatal error: Uncaught Twig\Error\LoaderError: Template "journal3/template/journal3/product_card.twig" is not defined in "journal3/template/journal3/module/products.twig" at line 8. in /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Loader/ArrayLoader.php:70 Stack trace: #0 /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ArrayLoader->getCacheKey('journal3/templa...') #1 /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('journal3/templa...') #2 /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Template.php(333): Twig\Environment->loadTemplate('journal3/templa...', NULL) #3 /home/malakand/public_html/projects/maria-collection/system/cache/template/0f/0fa7ae2a63aba5ee049a7722e7b80499adaf2cf124c5f3d9fc1d4f53e51dfee2.php(392): Twig\Template->loadTemplate('journal3/templa...', 'journal3/templa...', 8) #4 /home in /home/malakand/public_html/projects/maria-collection/storage/vendor/twig/twig/src/Loader/ArrayLoader.php on line 70


I refreshed Modifications, Cache etc. Still the error is displaying on the website home page. I can login to admin panel is all working fine. Best Wusthof Knife 2022
Hey! Do you contact to the 3rd party extension? What you got?

Newbie

Posts

Joined
Fri Dec 03, 2021 12:59 pm

Post by JNeuhoff » Tue Mar 15, 2022 5:13 pm

This is not relevant to OpenCart. If you really have to use the Journal3 framework, then you have to contact them.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by bhavhirani » Thu Mar 17, 2022 9:40 pm

Hello ☺ @masifkhan
Did you find any solution?

i face the same issue on OC 3038, before i used OC 3032 but when i upgraded it to 3038, i got this error.
maybe it's because of OpenCart now use twig library in vender function. so, we can't use include function in twig file.

If you get a solution then please tell us so we can fix it from our site. too.
Because of those issues we can't upgrade any other OpenCart project to a new version.

User avatar
Newbie

Posts

Joined
Sun Dec 04, 2016 12:54 pm
Location - india

Post by JNeuhoff » Thu Mar 17, 2022 9:48 pm

@bhavhirani: This is not an OpenCart issue. If you have to use the Journal3 framework then you should use their support.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by xxvirusxx » Fri Mar 18, 2022 4:01 pm

bhavhirani wrote:
Thu Mar 17, 2022 9:40 pm
If you get a solution then please tell us so we can fix it from our site. too.
Because of those issues we can't upgrade any other OpenCart project to a new version.
a web development company can't fix this :laugh:

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 18 guests