module-shipper icon indicating copy to clipboard operation
module-shipper copied to clipboard

Fatal error: Uncaught TypeError: Argument 4 passed to ShipperHQ\Shipper\Ui\Component\Listing\Column\DeliveryDate

Open ramshankar5july opened this issue 8 years ago • 4 comments

Fatal error: Uncaught TypeError: Argument 4 passed to Magento\Ui\Component\Listing\Columns\Date::__construct() must be an instance of Magento\Framework\Stdlib\BooleanUtils, array given, called in /public_html/app/code/ShipperHQ/Shipper/Ui/Component/Listing/Column/DeliveryDate.php on line 68 and defined in /public_html/vendor/magento/module-ui/Component/Listing/Columns/Date.php:37 Stack trace: #0 /public_html/app/code/ShipperHQ/Shipper/Ui/Component/Listing/Column/DeliveryDate.php(68): Magento\Ui\Component\Listing\Columns\Date->__construct(Object(Magento\Framework\View\Element\UiComponent\Context), Object(Magento\Framework\View\Element\UiComponentFactory), Object(Magento\Framework\Stdlib\DateTime\Timezone), Array, Array) #1 /public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): ShipperHQ\Shipper\Ui\Component\Listing\Column\DeliveryDate->__construct(Object(Magento\Framework\View\Element\UiComponent\Context), Obj in /public_html/vendor/magento/module-ui/Component/Listing/Columns/Date.php on line 37

ramshankar5july avatar Jan 30 '18 10:01 ramshankar5july

I've upgraded magento version (Magento 2.1.8 to Magento 2.2.2) using admin setup tool. When I login and click on sales -> order menu I got above error. and also checkout is not working.

ramshankar5july avatar Jan 30 '18 10:01 ramshankar5july

Hi. If you have not done so already we recommend updating to the latest version of the extension, which should resolve this. This article covers how to update the extension.

wsajason avatar Jan 30 '18 12:01 wsajason

Hi wsajason , Thanks, I am using below steps. and above problem is solved. Clean Install Run the following commands from your root Magento installation directory: composer require shipperhq/module-shipper composer require shipperhq/module-logger composer update shipperhq/* php bin/magento setup:upgrade Flush & Re-enable the cache if required Remove generated file content by deleting contents of: var/view_preprocessed pub/static/frontend/ pub/static/_requirejs/ pub/static/adminhtml/ var/generation var/cache var/page_cache If you are in default or production mode, you will need to recompile your code bin/magento setup:di:compile

ramshankar5july avatar Jan 31 '18 07:01 ramshankar5july

Thanks for letting us know that the issue was solved by the above steps.

wsajosh avatar Jan 31 '18 09:01 wsajosh