Skip to content

Commit

Permalink
AC-493: Upgrade Issue, While upgrade from Magento 2.4.2-p1 to Magento…
Browse files Browse the repository at this point in the history
… 2.4.3

- Ignore unrecognized BML paths during upgrade
  • Loading branch information
Rrego6 committed Aug 12, 2021
1 parent 9728fe3 commit a301735
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -134,6 +134,9 @@ public function apply()
foreach ($bmlSettings as $bmlPath => $bmlValue) {
$setting = str_replace(self::BMLPATH, '', $bmlPath);
$settingParts = explode('_', $setting);
if (count($settingParts) !== 2) {
continue;
}
$page = $settingParts[0];
$setting = $settingParts[1];
$payLaterPage = $page === 'checkout' ? 'cartpage' : $page;
Expand Down

2 comments on commit a301735

@drinkingsouls
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How should this be used?

@heyepic
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put in this fix but I'm unable to view orders. Logs are showing the following:
Exception Log:
[2021-08-22 17:44:56] main.CRITICAL: Payment model name is not provided in config! {"report_id":"8163fc9886f377c5643748019c6cb7e66fb1744348f02a76fd9eebd1055c2125","exception":"[object] (UnexpectedValueException(code: 0): Payment model name is not provided in config! at /home/public_html/vendor/magento/module-payment/Helper/Data.php:113)"} []
System Log:
[2021-08-22 17:53:20] main.ERROR: Payment model name is not provided in config! [] []

Please sign in to comment.