Skip to main content

Timeline for Extending Product View fails

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Apr 18, 2016 at 13:27 comment added fefe hm this has was an issue wit di compile thanks a lot!!
Apr 18, 2016 at 13:27 vote accept fefe
Apr 18, 2016 at 12:46 comment added fefe seems to be a problem in constructor [2016-04-18 12:43:46] main.CRITICAL: exception 'Exception' with message 'Recoverable Error: Argument 1 passed to Vendor\Custom\Block\Variants::__construct() must be an instance of Magento\Catalog\Block\Product\Context, instance of Magento\Backend\Block\Template\Context given, called in /Users/Sites/bsw/var/generation/Vendor/Custom/Block/Variants/Interceptor.php on line 14 and defined in /Users/Sites/bsw/app/code/Vendor/Custom/Block/Variants.php on line 20' in …
Apr 18, 2016 at 12:15 comment added fefe I just checked my logs and I see main.CRITICAL: exception 'Magento\Framework\Exception\LocalizedException' with message product.info.options has a child default
Apr 18, 2016 at 12:11 comment added Raphael at Digital Pianism @fefe try to delete var/cache,var/generation and var/page_cache/ Also check your logs under the var folder, 404 in Magento 2 often means an error happened.
Apr 18, 2016 at 12:09 comment added fefe thanks a lot for your feedback I just corrected the constructor and added inside var_dump('test'); exit; but still getting 404 how do I find out what is causing the problem?
Apr 18, 2016 at 11:44 history answered Raphael at Digital Pianism CC BY-SA 3.0