News and articles
11.11 - big sale on Green Friday!

11.11 - big sale on Green Friday! From November 11 to 14, special discounts apply to modules and templates for OpenCart!

 
 
 
 
 
Best-selling templates and extensions in October 2025

Best-selling templates and extensions in October 2025: Multitool, IMDBOptimizer 3, Yandex Products in Search, Synchronization with MoySklad, Only Template 3 theme

 
 
 
 
 
Selection of new modules for Opencart for October 2025

New releases for October 2025: Product image enhancement, Ozon Pay, UTM Tracker, Kazakh language translation.

 
 
 
 
 
The LiveStore version has been updated to 3.0.4.2

The LiveStore version has been updated to 3.0.4.2 -  what’s new?

 
 
 
 
 

Error after installing the Simple module in OpenCart 3: Twig_Loader_Array not found

 
Error after installing the Simple module in OpenCart 3: Twig_Loader_Array not found

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

Cause of the error

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.

How to fix the error

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.

  1. Navigate to the /system/ directory of your site.
  2. Find the file simple_twig_fix.ocmod.xml
  3. Delete the file completely or rename it so it won’t be picked up by the system (for example): simple_twig_fix.ocmod.xml-disabled
  4. After that, go to the OpenCart admin panel and update the modification cache:
    Go to the Extensions - Modifications section.
    Click the “Refresh” button in the top right corner (blue arrows icon).

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.


Рекомендуем посмотреть
Our Choice
6000 sales
Simple registration and ordering Simple 4.11.9
450 ₽
Рекомендуем прочитать