Post by Thomas_ST » Tue Nov 29, 2022 2:26 am

Hi Guys,

Got a error on my website which came up after host upgraded my website (opencart version 3.0.3.6) from 7.4 to 8.0.

This is the error shown:

Unknown: Using the "Twig_Loader_Filesystem" class is deprecated since Twig version 2.7, use "Twig\Loader\FilesystemLoader" instead. in /customers/7/6/1/matchawinkel.nl/httpd.www/system/storage/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 7

Who can help me out with to solve this?

Thanks

Newbie

Posts

Joined
Mon Nov 28, 2022 9:17 pm

Post by straightlight » Tue Nov 29, 2022 6:32 am

OC version. Any extensions installed?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

User avatar
Expert Member

Posts

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

Post by Thomas_ST » Tue Nov 29, 2022 3:35 pm

Nope, it's not working. We are on 3.0.3.6

Newbie

Posts

Joined
Mon Nov 28, 2022 9:17 pm

Post by JNeuhoff » Tue Nov 29, 2022 6:54 pm

OpenCart 3.0.3.6 does not support PHP 8.x versions, for the latter you'd have to use Opencart's 3.0.x.x_Maintenance branch which is basically a 3.0.3.8 with bugfixes and PHP 8 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 paulfeakins » Tue Nov 29, 2022 8:45 pm

Thomas_ST wrote:
Tue Nov 29, 2022 2:26 am
Who can help me out with to solve this?
There will be more errors than just the above, so you could downgrade the PHP version again or pay a developer from Commercial Support.

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


User avatar
Guru Member
Online

Posts

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

Post by straightlight » Tue Nov 29, 2022 11:14 pm

paulfeakins wrote:
Tue Nov 29, 2022 8:45 pm
Thomas_ST wrote:
Tue Nov 29, 2022 2:26 am
Who can help me out with to solve this?
There will be more errors than just the above, so you could downgrade the PHP version again or pay a developer from Commercial Support.
Downgrading PHP versions during the transition period of PHP 8.2 would not be really ideal since this solution would be considered a workaround until the support deprecation of PHP versions below PHP 8 of the delayed date of Dec. 8 arises. Therefore, this solution would be only useful for less than 2 weeks. Using Commercial Support for such short terms would not be an economical solution.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Wed Nov 30, 2022 1:25 am

straightlight wrote:
Tue Nov 29, 2022 11:14 pm
Therefore, this solution would be only useful for less than 2 weeks. Using Commercial Support for such short terms would not be an economical solution.
No, I suggested downgrading OR using Commercial Support.

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


User avatar
Guru Member
Online

Posts

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

Post by straightlight » Wed Nov 30, 2022 1:29 am

paulfeakins wrote:
Wed Nov 30, 2022 1:25 am
straightlight wrote:
Tue Nov 29, 2022 11:14 pm
Therefore, this solution would be only useful for less than 2 weeks. Using Commercial Support for such short terms would not be an economical solution.
No, I suggested downgrading OR using Commercial Support.
Exactly, that is what you have suggested.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 99 guests