Magento\Catalog\Model\Product $product = NULL, ?string $imageId = NULL, ?array $attributes = NULL



  • Official comment

    This error is most likely caused by using the wrong set of extension files relative to the Magento version you're running. Each one of our modules comes with two sets of files:

    • One for Magento 2.4.x
    • One for Magento 2.3.x

    You need to ensure that, when installing or upgrading one of our extensions, you use the set of files that corresponds to your Magento version. If you're unsure which set of files you used, remove the extension code completely from app/code/WeltPixel/YourExtension and copy it over to the server again, paying close attention to the Magento version requirements.

    Comment actions Permalink
  • Avatar
    Tarun Meena

    bin/magento setup:di:compile -- Run this command and get below error # 


      Warning: Declaration of WeltPixel\OwlCarouselSlider\Block\Product\ImageBuilder::create() should be compatible with Magento\Catalog\Block\Product\ImageBuilder::create(?Magen
      to\Catalog\Model\Product $product = NULL, ?string $imageId = NULL, ?array $attributes = NULL) in /home/
      r/Block/Product/ImageBuilder.php on line 100

    Comment actions Permalink

Please sign in to leave a comment.