I also tried compiling the code for production using sudo php bin/magento setup:di:compile but i get this error
Warning: Declaration of MGS\AjaxCart\Block\Product\ImageBuilder::create() should be compatible with Magento\Catalog\Block\Product\ImageBuilder::create(?Magento\Catalog\Model\Product $product = NULL, ?string $imageId = NULL, ?array $attributes = NULL) in <MyPathTo>/app/code/MGS/AjaxCart/Block/Product/ImageBuilder.php on line 44
Seem you didn't apply the patch for Magento version you are using, please give me your site info ( admin url, admin account and ssh account ) we will check and help you
thanks for tip. The mistake I made was to not copy the app folder from my patch version to the root of magento installation before proceeding with the commands/compilations.
I have since done that and my site is working now.
I got the error shown in the image attached after following all the steps here : http://themes.magesolution.com/supro/doc/index.html#all-home
I also tried compiling the code for production using sudo php bin/magento setup:di:compile but i get this error
Warning: Declaration of MGS\AjaxCart\Block\Product\ImageBuilder::create() should be compatible with Magento\Catalog\Block\Product\ImageBuilder::create(?Magento\Catalog\Model\Product $product = NULL, ?string $imageId = NULL, ?array $attributes = NULL) in <MyPathTo>/app/code/MGS/AjaxCart/Block/Product/ImageBuilder.php on line 44
Please help. Thanks in advance
Hello,
Thanks for contacting us,
Seem you didn't apply the patch for Magento version you are using, please give me your site info ( admin url, admin account and ssh account ) we will check and help you
Hello,
thanks for tip. The mistake I made was to not copy the app folder from my patch version to the root of magento installation before proceeding with the commands/compilations.
I have since done that and my site is working now.
Thanks a lot