Monthly Archives: October 2022

  1. Order email arrives without product list - Magento2

    If after updating Magento (Adobe Commerce) to version 2.4.4 and higher your customers receive order emails without a list of products, then the solution below should help you solve your problem.

    First of all, you need to check your email templates for "New Order" and "New Order for Guest".
    If they contain such a code

    {{layout handle="sales_email_order_items" order=$order area="frontend"}}

    then change the selected part in it as shown below
    {{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}}

    Read more »
  2. Error with command catalog:images:resize

    If you noticed that your images have not appeared on your Magento2 site you can check the log file. There you can see the error below

    imagecolorsforindex(): Argument #2 ($color) is out of range#0

    /vendor/magento/framework/Image/Adapter/Gd2.php(347): imagecolorsforindex()

    This error happens because the PHP library GD2 for PHP 8.1 has a bug. 

    For fixing this issue you should run the command below

    bin/magento config:set dev/image/default_adapter IMAGEMAGICK

    Read more »
  3. Magento admin login problem

    If you can't log in to the admin panel, but no error is shown, then you may have a problem with the session size.

    Below is one solution to this problem.

    Read more »