No results found

Try a different search query

Popular searches:

Add to Cart

Cart

You have no purchases yet

Browse Marketplace
Solved

Error "Class not found" after updating OpenCart 4

Після оновлення до останньої версії OC4 з'явилась помилка:

Fatal error: Class 'Opencart\System\Engine\Controller' not found

Кеш очищено, права перевірено. Що може бути?

a
admin4eg
· 505 views · 3 followers · 2 bookmarked
0

1 answer

17 вересня 2025 (13:31)
Accepted Answer

Here's a solution that works for me in production:

Step 1: Check PHP version

php -v
# Need 8.0 or higher

Step 2: Clear cache completely

rm -rf storage/cache/*
rm -rf system/storage/cache/*

Step 3: Check permissions

chmod -R 755 storage/
chmod -R 755 system/storage/

Step 4: Check namespace in controller

namespace Opencart\Admin\Controller\Module;
// Must match the file path

After these steps, the problem usually resolves!

0

Your Answer

Login to answer this question

Login

Report

We use cookies

We use cookies and similar technologies to improve your experience, analyse traffic, and show personalised ads. Read our Cookie Policy for details.