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
Please login or Register to submit your answer