Open kla-at-twoday opened 1 year ago
Found the cause of the problem the function listPerPage
doesn't seem to exist and as the code isn't ran if the family isn't empty you would normally not get this error, a temporary solution is to filter the families you want to collect in the configuration of Magento.
on line: vendor/akeneo/module-magento2-connector-community/Job/Product.php:520
Error stack: `Next RuntimeException: Error when running a cron job: Call to undefined method Akeneo\Pim\ApiClient\AkeneoPimClient::listPerPage() in /var/www/html/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:380 Stack trace:
`
Another solution is to remove all the code that is commented out in the screenshot below. This will make the cron job work again.
The product import gets stuck on the
Create temporary table
-step when trying to import product family that is empty (eg. none products attached or none products are passing the completeness setting) in Akeneo. As a result, the product import cron job hangs, without any informative logging of the reason nor proper job cancellation.Environment and configuration
Steps to reproduce
Expected result
Actual result
Create temporary table
-step, blocking the job queue.