Page 1 of 1

[SOLVED] Opencart-3-Main install error with PHP 8.3.8

Posted: Wed Jun 19, 2024 1:01 pm
by Jaesin
Hello all, its late and i figured I would post this for some help or leads in the AM...

Fresh install of opencart-3-main from the repository.
Installed on VPS server running Plesk and PHP 8.3.8, Maria DB database.

Install went seamless and completed, however unable to access store as well as admin.
Error log shows the following-


[Tue Jun 18 23:50:30.004791 2024] [proxy_fcgi:error] [pid 125360] [client 209.128.215.229:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ScssPhp\\ScssPhp\\Compiler::compileString() in /var/www/vhosts/mydomain.com/httpdocs/admin/controller/startup/sass.php:17\nStack trace:\n#0 /var/www/vhosts/mydomain.com/storage/modification/system/engine/action.php(79): ControllerStartupSass->index()\n#1 /var/www/vhosts/mydomain.com/storage/modification/system/engine/router.php(77): Action->execute()\n#2 /var/www/vhosts/mydomain.com/storage/modification/system/engine/router.php(46): Router->execute()\n#3 /var/www/vhosts/mydomain.com/httpdocs/system/framework.php(179): Router->dispatch()\n#4 /var/www/vhosts/mydomain.com/httpdocs/system/startup.php(104): require_once('/var/www/vhosts...')\n#5 /var/www/vhosts/mydomain.com/httpdocs/admin/index.php(19): start()\n#6 {main}\n thrown in /var/www/vhosts/mydomain.com/httpdocs/admin/controller/startup/sass.php on line 17'

Re: Opencart-3-Main install error with PHP 8.3.8

Posted: Wed Jun 19, 2024 10:24 pm
by grgr
Check on your storage directory, make sure there are no issues there first

Re: Opencart-3-Main install error with PHP 8.3.8

Posted: Wed Jun 19, 2024 10:40 pm
by JNeuhoff
You are using an old version of the vendor/scssphp library. Do a proper fresh installation from scratch using OpenCart 3.0.3.9 or 3.0.4.0.

Re: Opencart-3-Main install error with PHP 8.3.8

Posted: Wed Jun 19, 2024 11:16 pm
by Jaesin
JNeuhoff wrote:
Wed Jun 19, 2024 10:40 pm
You are using an old version of the vendor/scssphp library. Do a proper fresh installation from scratch using OpenCart 3.0.3.9 or 3.0.4.0.
Thank you, I opted to go with the 3.0.4.0 and no issues....