Since laravel version 6 I am unable to remove categories from the webinterface, error:
[2019-09-30 12:35:42] production.ERROR: Too few arguments to function Corals\Foundation\Services\BaseServiceClass::destroy(), 1 passed in /var/www/html/Corals/modules/CMS/Http/Controllers/CategoriesController.php on line 174 and exactly 2 expected {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Too few arguments to function Corals\\Foundation\\Services\\BaseServiceClass::destroy(), 1 passed in /var/www/html/Corals/modules/CMS/Http/Controllers/CategoriesController.php on line 174 and exactly 2 expected at /var/www/html/Corals/core/Foundation/Services/BaseServiceClass.php:147)
I can only remove it through the database itself.
2 Answers
Best Answer
Hello,
Unfortunately, there is a bug that needs to be fixed manually or manual update before remote update works
Corals/core/Settings/Classes/Modules.php
change
$zipper = new \Chumper\Zipper\Zipper;
to
$zipper = new \Madnest\Madzipper\Madzipper;
this issue is fixed on Settings Module 3.0.1
Thanks, can confirm it works.
Same here! Thanks!
Hello Stefan,
The issue has been fixed on CMS 3.01
Upgrading CMS to 3.01 is not working, it gives the following error:
[2019-09-30 17:04:56] production.ERROR: Class ‘Chumper\Zipper\Zipper’ not found {“userId”:1,”exception”:”[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class ‘Chumper\\Zipper\\Zipper’ not found at /var/www/html/Corals/core/Settings/Classes/Modules.php:663)
[stacktrace]
Please login or Register to submit your answer