- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020
03:28 AM
10-12-2020
03:28 AM
php bin/magento setup:di:compile problem
hello, i tried runing that command but shows an error
Compilation was started. Repositories code generation... 1/8 [==>-----------------] 12% < 1 sec 79.0 MiBPHP Fatal error: Declaration of MGS\Mpanel\Helper\Swatches\Data::getProductMediaGallery(Magento\Catalog\Model\Product $product) must be compatible with Magento\Swatches\Helper\Data::getProductMediaGallery(Magento\Catalog\Model\Product $product): array in /Applications/Ampps/www/magento/app/code/MGS/Mpanel/Helper/Swatches/Data.php on line 316
anyone knows what is the problem?
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020
04:30 AM
10-12-2020
04:30 AM
Re: php bin/magento setup:di:compile problem
Hello @Hankaizhane1bd
It's a theme issue of MGS, either contact them or read this which they have provided patch for this :
https://arrowhitech.ticksy.com/ticket/2327863/
Hope it helps !
Problem Solved ? Click on 'Kudos' & Accept as Solution !
