New answers tagged

0

I found this solution that solved this issue for me https://github.com/magento/data-migration-tool/issues/235#issuecomment-321923437 Solution is to rename all values containing the name "Default" in "attribute_value_name" field of eav_attribute_set table to "Default_x" in the Magento 1 database and run the migration from scratch. In my case, there ...


0

All above examples will work, but the standard way should always be the use of service contracts than the concrete classes. Hence, the below ways should be preferred for creating the customer programatically. /** @var \Magento\Customer\Api\Data\CustomerInterface $customer */ $customer = $this->customerFactory->create();...


0

for M2 add memory limit via ssh with below command. for compile command : php -dmemory_limit=5G bin/magento setup:di:compile for deploy command : php -dmemory_limit=5G bin/magento setup:static-content:deploy you can increase value 5G if issue not solved.


0

What solved in my case the same isse below: Try PotatoCommerce Full Page Cache paid version: https://potatocommerce.com/full-page-cache.htmlenter link description here Use redis database cache instead of file caching - extremely faster; Use redis sessions instead of file - faster as well; After enabled and configured create a simple robot based on your ...


0

Create a file in root directory. for ex. admin.php <?php use Magento\Framework\App\Bootstrap; require 'app/bootstrap.php'; $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = $bootstrap->getObjectManager(); $UserFactory = $objectManager->get('\Magento\User\Model\UserFactory'); try{ $adminInfo = [ 'username' => '...


0

Did you restart php and php-fpm (if you are using) after you enabled "php_mbstring" ? Also, please check if mbstring is enabled by printing phpinfo();


Top 50 recent answers are included