Skip to content

Why can’t I display anything on the product page? product.info.main

app/module/vendor/View/layout <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi: noNamespaceSchemaLocation= “urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”product.info.main”> <block class=”SegaProductHeightBlockProductHeight” template=”Sega_ProductHeight::height.phtml” cacheable=”false”/> </referenceBlock> </body> </page> app/module/vendor/View/template test module/vendor/Block <?php namespace SegaProductHeightBlock; use MagentoCatalogModelProduct; use MagentoFrameworkExceptionLocalizedException; use MagentoFrameworkRegistry; use MagentoFrameworkViewElementTemplate; class ProductHeight extends Template { protected $registry; protected… Read More »Why can’t I display anything on the product page? product.info.main

Magento 2.4.5 AbstractHelper’ is not marked as an API

Extended class ‘MagentoFrameworkAppHelperAbstractHelper’ is not marked as an API Inspection info: The extended class is not marked as an API. <?php namespace VendorModuleHelper; use MagentoFrameworkAppHelperAbstractHelper; class Customer extends AbstractHelper { …

Error upgrading from 2.4.3 to 2.4.4

After changing the version from 2.4.3 to 2.4.4, I’m getting the following error when trying to execute “php bin/magento setup:upgrade” or “php bin/magento setup:di:compile”: In ClassReader.php line 34: Class DfFrameworkLoggerHandler does not exist Any idea what causes this error?