Hot answers tagged

3

\vendor\magento\framework\View\Element\Template\File\Validator.php Around line 133 find function isPathInDirectories add $realPath = str_replace('\\', '/', $realPath); // extra code added like protected function isPathInDirectories($path, $directories) { if (!is_array($directories)) { $directories = (array)$directories; ...


2

You have to run cron by command line as mentioned here: php bin/magento cron:run https://github.com/magento/magento2/issues/23450#issuecomment-507581035 Then refresh the export page and you should see the file at the bottom.


2

Pass data with json format and replace your success ajax console : Controller : protected $wishlist; public function __construct( \Magento\Wishlist\Model\Wishlist $wishlist, \Magento\Framework\App\Request\Http $request, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\App\Action\Context $context, \Magento\...


1

From what i can see the reason for this error is down to an unsupported file format or the quality for the imagepng does not have a valid quality format it needs to be between 1 and 9. you will need to remove the affected image and edit and resave the image using an image editing tool such as photoshop or gimp


1

Solved: When adding new blog it's necessary to upload an image with the new blog.


1

Oops, I figured it out by myself: gd extentions is mssing but I have already installed the mod! $ service apache2 restart It seems after installing php along with many modules is not enough, restarting apache is also needed!


1

I solved this problem by using... php bin/magento setup:upgrade php bin/magento setup:static-content:deploy


1

Thank you so much Sukumar, your answer totally saved me a lot of time. I have put it in a convenient SQL request: DELETE FROM eav_attribute WHERE attribute_code IN ( 'shipperhq_shipping_group', 'shipperhq_warehouse', 'shipperhq_shipping_fee', 'shipperhq_handling_fee', 'shipperhq_volume_weight', 'shipperhq_declared_value', 'shipperhq_dim_group', '...


1

Please try with below code, hope its work for you.. if (is_array($hash) && array_key_exists($hash_key, $hash)) { //...magic stuff here }


Only top voted, non community-wiki answers of a minimum length are eligible