My OpenCart 3.0.4.0 install has been working fine with PHP 8.0 for quite a while. I was making some changes to the view and refreshed the theme and SASS cache. The theme refresh worked fine, but the SASS refresh throws an error:
Fatal error: Uncaught Error: Call to undefined method ScssPhpScssPhpCompiler::compileString() in /Users/seb/Projects/shop/admin/controller/startup/sass.php:17
Stack trace:
#0 /Users/seb/Projects/shop/system/storageundh3m8jmtxd/modification/system/engine/action.php(79): ControllerStartupSass->index()
#1 /Users/seb/Projects/shop/system/engine/router.php(67): Action->execute(Object(Registry))
#2 /Users/seb/Projects/shop/system/engine/router.php(46): Router->execute(Object(Action))
#3 /Users/seb/Projects/shop/system/framework.php(179): Router->dispatch(Object(Action), Object(Action))
#4 /Users/seb/Projects/shop/system/startup.php(104): require_once('/Users/seb/Proj...')
#5 /Users/seb/Projects/shop/admin/index.php(19): start('admin')
#6 {main} thrown in /Users/seb/Projects/shop/admin/controller/startup/sass.php on line 17
This error is preventing me from accessing the OpenCart admin dashboard.
Can anyone explain what has gone wrong and how I can fix it?
2
You need to move system/storage directory from 3.0.4 to your current storage directory location.
1