The Simple module is one of the most popular modules for simplifying checkout and registration in OpenCart 3. However, after its installation, a critical error may occur related to an outdated modification of the Twig template engine.
→Best-selling templates and extensions in June 2025: cookie notice, Yandex.Goods in search, sitemap.
→New in June 2025: Personal Data and Cookie Information, MAX Notifications, Simple Shortcodes
→Personal Data and OpenCart Online Store in 2025. What You Need to Know and Do to Sleep Peacefully.
→Most popular templates and extensions in May 2025: Cookie Notification, ChatGPT, Online Chat.
→After installing the popular Simple module for simplified registration and checkout in OpenCart 3, some users may encounter an error when updating the modification cache:
Fatal error: Uncaught Error: Class 'Twig_Loader_Array' not found
This error is caused by an incompatibility of one of the old modifications installed with the Simple module with newer versions of OсStore.
The culprit is the modification file: /system/simple_twig_fix.ocmod.xml
It is intended for older versions of OpenCart (up to 3.0.2.x), but may conflict with current installations.
To fix the error, you need to delete or rename the file simple_twig_fix.ocmod.xml
so that it is not applied when the modification cache is updated.
/system/
directory of your site.simple_twig_fix.ocmod.xml
simple_twig_fix.ocmod.xml-disabled
After deleting or renaming the file and updating the cache, the error Class 'Twig_Loader_Array' not found
should disappear. The Simple module will continue to work correctly, since this modification is no longer needed in modern versions of OcStore, such as OcStore Liveopencart.