Fatal error: Uncaught TypeError: Argument 5 passed to Amasty\Preorder\Block\Product\View\Preorder\ProductDefault\Interceptor::__construct() must be of the type array, object given, called in /home/iglesi10/public_html/palabra2018/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /home/iglesi10/public_html/palabra2018/var/generation/Amasty/Preorder/Block/Product/View/Preorder/ProductDefault/Interceptor.php:11 Stack trace: #0 /home/iglesi10/public_html/palabra2018/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Amasty\Preorder\Block\Product\View\Preorder\ProductDefault\Interceptor->__construct(Object(Magento\Catalog\Block\Product\Context), Object(Magento\Framework\Json\Encoder), Object(Magento\Framework\Stdlib\ArrayUtils), Object(Amasty\Preorder\Helper\Data), Object(Magento\CatalogInventory\Model\StockRegistry), Array) #1 /home/iglesi10/public_html/palabra2018/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Fa in /home/iglesi10/public_html/palabra2018/var/generation/Amasty/Preorder/Block/Product/View/Preorder/ProductDefault/Interceptor.php on line 11