Problem:
After installing the plugin (version 1.0.4) its not possible to view the checkout page and on the backend the plugin options page is empty
1 exception(s):
Exception #0 (InvalidArgumentException): Unable to unserialize value. Error: Syntax error
Exception #0 (InvalidArgumentException): Unable to unserialize value. Error: Syntax error
#1 Bss\MinMaxQtyOrderPerCate\Helper\Data->getConfigQty() called at [app/code/Bss/MinMaxQtyOrderPerCate/Helper/Data.php:114]
#2 Bss\MinMaxQtyOrderPerCate\Helper\Data->getMinQty() called at [app/code/Bss/MinMaxQtyOrderPerCate/Helper/Data.php:174]
#3 Bss\MinMaxQtyOrderPerCate\Helper\Data->OrderQty() called at [app/code/Bss/MinMaxQtyOrderPerCate/Observer/MinMaxQty.php:107]
#4 Bss\MinMaxQtyOrderPerCate\Observer\MinMaxQty->checkQty() called at [app/code/Bss/MinMaxQtyOrderPerCate/Observer/MinMaxQty.php:93]
#5 Bss\MinMaxQtyOrderPerCate\Observer\MinMaxQty->execute() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:72]
#6 Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:60]
#7 Magento\Framework\Event\Invoker\InvokerDefault->dispatch() called at [vendor/magento/framework/Event/Manager.php:66]
#8 Magento\Framework\Event\Manager->dispatch() called at [generated/code/Magento/Framework/Event/Manager/Proxy.php:95]
#9 Magento\Framework\Event\Manager\Proxy->dispatch() called at [vendor/magento/framework/App/Action/Action.php:101]
#10 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#11 Magento\Checkout\Controller\Cart\Index\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#12 Magento\Checkout\Controller\Cart\Index\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#13 Magento\Checkout\Controller\Cart\Index\Interceptor->___callPlugins() called at [generated/code/Magento/Checkout/Controller/Cart/Index/Interceptor.php:39]
#14 Magento\Checkout\Controller\Cart\Index\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:159]
#15 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:99]
#16 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#17 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#18 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:94]
#19 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#20 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]
#21 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#22 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#23 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#24 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:136]
#25 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#26 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:258]
#27 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]
Solution:
Please fix these two files:
app/code/Bss/MinMaxQtyOrderPerCate/Helper/data(8).php
app/code/Bss/MinMaxQtyOrderPerCate/Model/Config/Backend/Serialized/minmax.php
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article