You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeing errors in NewRelic on our home page and category pages that result in 500 server errors. I think before using $product it should be confirmed to be an object before calling getId(). Note: according to phpdoc $this->product->loadByAttribute @return bool|\Magento\Catalog\Model\AbstractModel
Error: Uncaught exception 'Error' with message 'Call to a member function getId() on boolean' in /app/2aunx3kebdnga/vendor/reflektion/reflektion_magento_2/Block/Analytics.php:114
in Reflektion\Catalogexport\Block\Analytics::getAttributes called at ? (?)
in call_user_func_array called at /app/2aunx3kebdnga/vendor/magento/framework/View/TemplateEngine/Php.php (82)
in Magento\Framework\View\TemplateEngine\Php::__call called at /app/2aunx3kebdnga/var/view_preprocessed/pub/static/vendor/reflektion/reflektion_magento_2/view/frontend/templates/analytics/rfk_add_to_cart_analytics.phtml (1)
The text was updated successfully, but these errors were encountered:
We're seeing errors in NewRelic on our home page and category pages that result in 500 server errors. I think before using $product it should be confirmed to be an object before calling getId(). Note: according to phpdoc $this->product->loadByAttribute
@return bool|\Magento\Catalog\Model\AbstractModel
reflektion_magento_2/Block/Analytics.php
Line 114 in 04ce01d
The text was updated successfully, but these errors were encountered: