New answers tagged

0

The yarn create @magento/pwa command does not work in Windows, and the Magento's team does not want to fix it: github.com/magento/pwa-studio/issues/2342#issuecomment-620161213 A workaround is to use the npx @magento/pwa-buildpack create-project command, e.g.: npx @magento/pwa-buildpack create-project . \ --author "Dmitry Fedyuk" \ --backend-...


0

I saw that you mentioned us and would love to help you with your problem! For Magento 2.4 and above, you need to use elasticsearch 7.x version, and in this version, type_name is no longer available. Please navigate accordingly: config => catalog => catalog to check which version you are using, if you are using 5x or 6x, please change your config to the ...


0

Out of the box I will recommend to use: phpstan-magento Your command should look like: vendor/bin/phpstan analyse -c vendor/bitexpert/phpstan-magento/extension.neon app/code/Vendor/CustomModule --level 0


0

Ok, this was related to ReCaptcha...... Which we don't want to use anyway. The below command to disable ReCaptcha fixed the issue for us: bin/magento security:recaptcha:disable-for-user-login


1

I also had the same issues, actually i had added some third party extension and that was getting conflicted so i have removed that and i have run the command. php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush php bin/magento setup:static-...


0

The namespace in the linked code is this NameSpace\Ffl\Controller\Adminhtml\Ffl You can go with Mastering\Itdesire\Controller\Adminhtml\Itdesire\fileUpload.php.


0

You have used the namespace 2 times in your file. like this: namespace Mastering\Itdesire\Setup; /** * Description of InstallData * * @author pramod */ namespace Mastering\Itdesire\Setup; Just remove last namespace and it will work fine just use first line of namespace namespace Mastering\Itdesire\Setup; Hope it will help you


1

Try the below code for your InstallData.php file: <?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Mastering\Itdesire\Setup; /** * Description of InstallData * * @author pramod */ use Magento\...


0

<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Mastering\Itdesire\Setup; /** * Description of InstallData * * @author pramod */ namespace Mastering\Itdesire\Setup; use Magento\Framework\Setup\...


Top 50 recent answers are included