Solution of problems

  1. Problem with update Magento to 2.4.3 version

    If you get this error when running bin / magento setup: upgrade command
    Unable to apply data patch Magento\Paypal\Setup\Patch\Data\UpdateBmltoPayLater for module Magento_Paypal.

    Original exception message: Notice:

    Undefined offset: 1 in /vendor/magento/module-paypal/Setup/Patch/Data/UpdateBmltoPayLater.php on line 138

    then you need to execute the following command in the Database
    DELETE FROM `core_config_data` WHERE path="payment/paypal_express_bml/active";

    Read more »
  2. Proxy class not generated when running php bin/magento setup:di:compile command

    If after running the command php bin / magento setup: di: compile your proxy class was not created, then a possible reason may be that your di.xml has line breaks in the "argument" field.
    Read more »