Magento 2.4.7-p6: zymion/module-seo-friendly-images 1.5.5 – Class ProductSelectBuilder does not exist on compile

After updating the module zymion/module-seo-friendly-images from version 1.5.4 to 1.5.5 on Magento 2.4.7-p6, I started getting the following error during dependency injection compilation (php bin/magento setup:di:compile):
Impossible to process constructor argument Parameter #16 [ ?MagentoSitemapModelResourceModelCatalogProductSelectBuilder $productSelectBuilder = NULL ] of ZymionSeoFriendlyImagesModelResourceModelCatalogProduct class

Class “MagentoSitemapModelResourceModelCatalogProductSelectBuilder” does not exist

pgsql
Kopiuj
Edytuj

  • This issue did not occur with version 1.5.4 of the module.
  • I have checked the Magento 2.4.7-p6 core code and there is no class called ProductSelectBuilder in MagentoSitemapModelResourceModelCatalog.
  • It seems the new version of the module expects this class to exist, but it doesn’t in my Magento version.

Questions:

  • Has anyone else encountered this issue?
  • Is this a bug in the module or a compatibility problem with my Magento version?
  • Is there a recommended workaround or patch for this problem?

Additional info:

  • Magento version: 2.4.7-p6
  • Module: zymion/module-seo-friendly-images
  • Problem started after upgrading from 1.5.4 to 1.5.5
  • Reverting to 1.5.4 solves the problem, but I would prefer to use the latest version if possible.

Any help or suggestions would be greatly appreciated!