Opencart Admin showing 500 error due to ScssPhp after cache clearing

My Opencart 3.0.4.0 store was showing Error for Admin page after clearing Admin Dashboard cache (the blue button). Immediately after changing settings to show error on page, I found

Fatal error: Uncaught Error: Call to undefined method ScssPhp\ScssPhp\Compiler::compileString() in /home/xxx/xxx/website/public_html/admin/controller/startup/sass.php:17 Stack trace: #0 /home/xxx/xxx/website/public_html/system/engine/action.php(79): ControllerStartupSass->index() #1 /home/xxx/xxx/website/public_html/system/engine/router.php(67): Action->execute() #2 /home/xxx/xxx/website/public_html/system/engine/router.php(46): Router->execute() #3 /home/xxx/xxx/website/public_html/system/framework.php(179): Router->dispatch() #4 /home/xxx/xxx/website/public_html/system/startup.php(104): require_once(‘/home/xxx/…’) #5 /home/xxx/xxx/website/public_html/admin/index.php(21): start() #6 {main} thrown in /xxx/xxx/website/public_html/admin/controller/startup/sass.php on line 17

The error was fixed after moving the system/storage folder to the root (where my path was pointing).

See also  Opencart Error in Aftership tracking plugin da_track_shipment on line 18

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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