3

Seems like a bug to me. I fixed it by modifying this function in vendor/magento/module-asynchronous-operations/Model/BulkManagement.php Bad of me but hey, maybe it's a PR :) private function publishOperations(array $operations) { $operationsByTopics = []; foreach ($operations as $operation) { + $this->entityManager->...


2

Write custom MYSQL query without using Model Here is example how to write custom mysql query in Magento2. Suppose we have table employee with fields emp_id, emp_name, emp_code and emp_salary. Now use following code to run custom queries in magento2 without using model. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // Instance of ...


1

Try this code <?php require_once 'app/Mage.php'; umask("0"); Mage::app(); ini_set('display_errors',"1"); ini_set('display_startup_errors', "1"); error_reporting(E_ALL); $connection=Mage::getSingleton('core/resource')->getConnection('core_write'); if (($handle = fopen("inputs.csv", "r")) !== FALSE) { while (($data = fgetcsv($handle, '...


1

Maybe this is your idea, You can check again: Check again connect magento 2 to rabiitmq(php bin/magento queue:consumer:start) Check again process queue:consumer:start is starting(ps aux | grep "queue:consumer:start") Test Rest API with specifying API Copy data to test bulk API with same data, same routers


1

The magento cron in your web server is disabled. Set Magento cron by command line crontab -e */1 * * * * php -c {php.ini_path} {magento_path}/bin/magento cron:run */1 * * * * php -c {php.ini_path} {magento_path}/update/cron.php */1 * * * * php -c {php.ini_path} {magento_path}/bin/magento setup:cron:run Or simply way is php bin/magento cron:install [--...


1

This is a known core bug in Magento 2.2+ Github issues here: https://github.com/magento/magento2/issues/14398 https://github.com/magento/magento2/issues/21885 And pull requests here: https://github.com/magento/magento2/pull/21146 https://github.com/magento/magento2/pull/21855 I'm using the first PR successfully in production, and patched using cweagans/...


Only top voted, non community-wiki answers of a minimum length are eligible