Skip to content

Commit

Permalink
10.2.6: #318
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 5, 2023
1 parent 1f8510e commit bec4322
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Core/lib/caller.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@ function df_caller_module(int $o = 0):string {
# 2023-07-26
# "«The required key «class» is absent» is `df_log()` is called from `*.phtml`":
# https://github.com/mage2pro/core/issues/259
df_bt_entry_is_method($e)
# 2023-08-05
# 1) "«Module 'Monolog_Logger' is not correctly registered» in `lib/internal/Magento/Framework/Module/Dir.php:62`":
# https://github.com/mage2pro/core/issues/318
# 2) `Monolog_Logger` is not a Magento module, so I added `df_module_enabled()`.
df_bt_entry_is_method($e) && df_module_enabled(df_bt_entry_class($e))
# 2023-07-26
# "If `df_log()` is called from a `*.phtml`,
# then the `*.phtml`'s module should be used as the log source instead of `Magento_Framework`":
Expand Down
1 change: 1 addition & 0 deletions Framework/lib/module/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* 2019-11-21
* @used-by df_caller_module()
* @used-by df_log_l()
* @used-by df_msi()
*/
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/core"
,"version": "10.2.5"
,"version": "10.2.6"
,"description": "Mage2.PRO core package."
,"type": "magento2-module"
,"homepage": "https://mage2.pro"
Expand Down

0 comments on commit bec4322

Please sign in to comment.