OpenCart Tips and Tricks · 1 min read · Updated

Fatal error: Cannot redeclare Loader::__get() in system\storage\modification\system\engine\loader.php

Fatal error: Cannot redeclare Loader::__get() in system\storage\modification\system\engine\loader.php

Go to YOUR_INSTALLED_FOLDER/system\storage\modification then delete all files and folder except index.html

Then refresh the front end, hope it works.

Then again install your ocmod.xml again.

Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

Leave a Reply

Your email address will not be published. Required fields are marked *