On a Magento 2.4.5-p1, with akeneo connector in version 103.3.1 installed
Environment and configuration
Magento 2.4.5-p1
akeneo connector 103.3.1
php 8.1
Steps to reproduce
Play command "bin/magento akeneo_connector:import --code=product >> /var/www/html/var/log/magento.
cron.akeneo_product.log"
Expected result
Must import all images
Actual result
Work for first items, but stop after some imports and crash this error
Path to log file : /var/log/akeneo_connector/product-import.log
Family imported in this batch: Diffuseurs
[14:01:49] Fill temporary table
[14:01:55] 116 line(s) found
[14:01:55] Product Model Import
[14:01:55] No results from Akeneo
[14:01:55] Family Variant Import
[14:01:55] completed
[14:01:55] Add required data
[14:01:55] completed
[14:01:55] Create configurables
[14:01:55] completed
[14:01:55] Create empty attributes columns
[14:02:00] completed
[14:02:00] Create Options for Variant Metrics Attributes
[14:02:01] completed
[14:02:01] Check already imported entities
[14:02:01] completed
[14:02:01] Match code with Magento ID
[14:02:01] completed
[14:02:01] Match family code with Magento ID
[14:02:01] completed
[14:02:01] Update column values for options
[14:02:01] completed
[14:02:01] Create or update product entities
[14:02:01] completed
[14:02:01] Import file attributes
[14:02:01] Akeneo Files Attributes is empty
[14:02:01] Set values to attributes
[14:02:02] completed
[14:02:02] Link configurable with children
[14:02:02] completed
[14:02:02] Link simple products with configurable products
[14:02:03] completed
[14:02:03] Set products to websites
[14:02:03] completed
[14:02:03] Set products to categories
[14:02:03] completed
[14:02:03] Init stock
[14:02:03] completed
[14:02:03] Update related, up-sell and cross-sell products
[14:02:03] completed
[14:02:03] Set grouped products relations
[14:02:03] completed
[14:02:03] Set Url Rewrite
[14:02:03] completed
[14:02:03] Import image attributes
Class "Laminas\Diactoros\Response" not found#0 /var/www/html/vendor/akeneo/module-magento2-connector-community/Job/Product.php(3839): Akeneo\Pim\ApiClient\Api\ProductMediaFileApi->download('15186980_6')
Hello,
On a Magento 2.4.5-p1, with akeneo connector in version 103.3.1 installed
Environment and configuration
Steps to reproduce
Expected result
Actual result
In fact yes I see in this file => vendor/akeneo/api-php-client/src/Api/ProductMediaFileApi.php
This code:
So there is missing dependencies in composer.json for this module I must manually add to fix the issue => composer require laminas/laminas-diactoros
Perhaps it is an other problem, but was missing dependency like I see.
Thanks