Skip to content

magento man

Class “MagentoFrameworkComponentComponentRegistrar” not found in setup/src/Magento/Setup/registration.php:9

When I run “composer install or “composer update” command from my magento 2.4.5 root folder I am getting this error. – Installing laminas/laminas-dependency-plugin (2.4.0): Extracting archive PHP Fatal error: Uncaught Error: Class “MagentoFrameworkComponentComponentRegistrar” not found in /public_html/setup/src/Magento/Setup/registration.php:9 Stack trace: #0… Read More »Class “MagentoFrameworkComponentComponentRegistrar” not found in setup/src/Magento/Setup/registration.php:9

Category Creation Form Customization

I am trying to customize the category page by adding a new section called category faq To Implement this customization I wrote this category_form.xml file <form xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Ui:etc/ui_configuration.xsd”> <fieldset name=”category_faqs”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>Category… Read More »Category Creation Form Customization

In my data-provider addFieldtoFilter() is not working with url param

I have made a grid in admin that is supposed to return a filtered collection based on a URL parameter lesson_id. DataProvider: <?php namespace VendorNameModuleNameUiDataProviderParticipants; use MagentoFrameworkAppRequestHttp; use VendorNameModuleNameModelResourceModelParticipantsCollectionFactory; class DataProvider extends MagentoUiDataProviderAbstractDataProvider { public function __construct( $name, $primaryFieldName, $requestFieldName,… Read More »In my data-provider addFieldtoFilter() is not working with url param