mage2pro / core

Mage2.PRO core package
https://upwork.com/fl/mage2pro
MIT License
10 stars 13 forks source link

«Df\Typography\Font::familyS(): Return value must be of type string, null returned» #331

Closed dmitrii-fediuk closed 1 year ago

dmitrii-fediuk commented 1 year ago
{
    "mage2pro/core": "10.3.0",
    "Magento": "2.4-develop",
    "PHP": "8.1.11",
    "URL": "https://localhost.com:2190/cat.html",
    "Time": "2023-08-25 17:24:47",
    "Referer": "https://localhost.com:2190/test.html",
    "IP Address": "158.181.235.66",
    "Request Method": "GET",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
}
EXCEPTION
Df\Typography\Font::familyS(): Return value must be of type string, null returned
************************************
1   Df\Typography\Font::familyS
    https://github.com/mage2pro/core/tree/10.3.0/Typography/Font.php#L108

2   Df\Typography\Font::familyIsStandard
    https://github.com/mage2pro/core/tree/10.3.0/Typography/Font.php#L114

3   Df\Typography\Font::Df\Typography\{closure}
    https://github.com/mage2pro/core/tree/10.3.0/Core/lib/cache/dfc.php#L78

4   dfc
    https://github.com/mage2pro/core/tree/10.3.0/Typography/Font.php#L116

5   Df\Typography\Font::link
    vendor/mage2pro/frontend/Block/ProductView/Css.php:39

6   Dfe\Frontend\Block\ProductView\Css::Dfe\Frontend\Block\ProductView\{closure}
    0

7   array_map
    vendor/mage2pro/frontend/Block/ProductView/Css.php:39

8   Dfe\Frontend\Block\ProductView\Css::_toHtml
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1117

9   Magento\Framework\View\Element\AbstractBlock::Magento\Framework\View\Element\{closure}
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1121

10  Magento\Framework\View\Element\AbstractBlock::_loadCache
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:670

11  Magento\Framework\View\Element\AbstractBlock::toHtml
    lib/internal/Magento/Framework/View/Layout.php:578

12  Magento\Framework\View\Layout::_renderBlock
    lib/internal/Magento/Framework/View/Layout.php:555

13  Magento\Framework\View\Layout::renderNonCachedElement
    lib/internal/Magento/Framework/View/Layout.php:510

14  Magento\Framework\View\Layout::renderElement
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:521

15  Magento\Framework\View\Element\AbstractBlock::getChildHtml
    app/code/Magento/Theme/view/frontend/templates/html/container.phtml:7

16  include
    lib/internal/Magento/Framework/View/TemplateEngine/Php.php:71

17  Magento\Framework\View\TemplateEngine\Php::render
    lib/internal/Magento/Framework/View/Element/Template.php:263

18  Magento\Framework\View\Element\Template::fetchView
    lib/internal/Magento/Framework/View/Element/Template.php:293

19  Magento\Framework\View\Element\Template::_toHtml
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1117

20  Magento\Framework\View\Element\AbstractBlock::Magento\Framework\View\Element\{closure}
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1121

21  Magento\Framework\View\Element\AbstractBlock::_loadCache
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:670

22  Magento\Framework\View\Element\AbstractBlock::toHtml
    lib/internal/Magento/Framework/View/Result/Page.php:253

23  Magento\Framework\View\Result\Page::render
    lib/internal/Magento/Framework/View/Result/Layout.php:171

24  Magento\Framework\View\Result\Layout::renderResult
    lib/internal/Magento/Framework/Interception/Interceptor.php:58

25  Magento\Framework\View\Result\Page::___callParent
    lib/internal/Magento/Framework/Interception/Interceptor.php:138

26  Magento\Framework\View\Result\Page::Magento\Framework\Interception\{closure}
    lib/internal/Magento/Framework/Interception/Interceptor.php:153

27  Magento\Framework\View\Result\Page::___callPlugins
    generated/code/Magento/Framework/View/Result/Page/Interceptor.php:32

28  Magento\Framework\View\Result\Page::renderResult
    lib/internal/Magento/Framework/App/Http.php:120

29  Magento\Framework\App\Http::launch
    lib/internal/Magento/Framework/Interception/Interceptor.php:58

30  Magento\Framework\App\Http::___callParent
    lib/internal/Magento/Framework/Interception/Interceptor.php:138

31  Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
    https://github.com/mage2pro/core/tree/10.3.0/Framework/Plugin/App/Http.php#L10

32  Df\Framework\Plugin\App\Http::aroundLaunch
    lib/internal/Magento/Framework/Interception/Interceptor.php:135

33  Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
    lib/internal/Magento/Framework/Interception/Interceptor.php:153

34  Magento\Framework\App\Http::___callPlugins
    generated/code/Magento/Framework/App/Http/Interceptor.php:23

35  Magento\Framework\App\Http::launch
    lib/internal/Magento/Framework/App/Bootstrap.php:264

36  Magento\Framework\App\Bootstrap::run
    pub/index.php:30

1   Df\Typography\Font::familyIsStandard
    https://github.com/mage2pro/core/tree/10.3.0/Typography/Font.php#L108

2   Df\Typography\Font::Df\Typography\{closure}
    https://github.com/mage2pro/core/tree/10.3.0/Typography/Font.php#L114

3   dfc
    https://github.com/mage2pro/core/tree/10.3.0/Core/lib/cache/dfc.php#L78

4   Df\Typography\Font::link
    https://github.com/mage2pro/core/tree/10.3.0/Typography/Font.php#L116

5   Dfe\Frontend\Block\ProductView\Css::Dfe\Frontend\Block\ProductView\{closure}
    vendor/mage2pro/frontend/Block/ProductView/Css.php:39

6   array_map
    0

7   Dfe\Frontend\Block\ProductView\Css::_toHtml
    vendor/mage2pro/frontend/Block/ProductView/Css.php:39

8   Magento\Framework\View\Element\AbstractBlock::Magento\Framework\View\Element\{closure}
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1117

9   Magento\Framework\View\Element\AbstractBlock::_loadCache
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1121

10  Magento\Framework\View\Element\AbstractBlock::toHtml
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:670

11  Magento\Framework\View\Layout::_renderBlock
    lib/internal/Magento/Framework/View/Layout.php:578

12  Magento\Framework\View\Layout::renderNonCachedElement
    lib/internal/Magento/Framework/View/Layout.php:555

13  Magento\Framework\View\Layout::renderElement
    lib/internal/Magento/Framework/View/Layout.php:510

14  Magento\Framework\View\Element\AbstractBlock::getChildHtml
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:521

15  include
    app/code/Magento/Theme/view/frontend/templates/html/container.phtml:7

16  Magento\Framework\View\TemplateEngine\Php::render
    lib/internal/Magento/Framework/View/TemplateEngine/Php.php:71

17  Magento\Framework\View\Element\Template::fetchView
    lib/internal/Magento/Framework/View/Element/Template.php:263

18  Magento\Framework\View\Element\Template::_toHtml
    lib/internal/Magento/Framework/View/Element/Template.php:293

19  Magento\Framework\View\Element\AbstractBlock::Magento\Framework\View\Element\{closure}
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1117

20  Magento\Framework\View\Element\AbstractBlock::_loadCache
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:1121

21  Magento\Framework\View\Element\AbstractBlock::toHtml
    lib/internal/Magento/Framework/View/Element/AbstractBlock.php:670

22  Magento\Framework\View\Result\Page::render
    lib/internal/Magento/Framework/View/Result/Page.php:253

23  Magento\Framework\View\Result\Layout::renderResult
    lib/internal/Magento/Framework/View/Result/Layout.php:171

24  Magento\Framework\View\Result\Page::___callParent
    lib/internal/Magento/Framework/Interception/Interceptor.php:58

25  Magento\Framework\View\Result\Page::Magento\Framework\Interception\{closure}
    lib/internal/Magento/Framework/Interception/Interceptor.php:138

26  Magento\Framework\View\Result\Page::___callPlugins
    lib/internal/Magento/Framework/Interception/Interceptor.php:153

27  Magento\Framework\View\Result\Page::renderResult
    generated/code/Magento/Framework/View/Result/Page/Interceptor.php:32

28  Magento\Framework\App\Http::launch
    lib/internal/Magento/Framework/App/Http.php:120

29  Magento\Framework\App\Http::___callParent
    lib/internal/Magento/Framework/Interception/Interceptor.php:58

30  Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
    lib/internal/Magento/Framework/Interception/Interceptor.php:138

31  Df\Framework\Plugin\App\Http::aroundLaunch
    https://github.com/mage2pro/core/tree/10.3.0/Framework/Plugin/App/Http.php#L10

32  Magento\Framework\App\Http::Magento\Framework\Interception\{closure}
    lib/internal/Magento/Framework/Interception/Interceptor.php:135

33  Magento\Framework\App\Http::___callPlugins
    lib/internal/Magento/Framework/Interception/Interceptor.php:153

34  Magento\Framework\App\Http::launch
    generated/code/Magento/Framework/App/Http/Interceptor.php:23

35  Magento\Framework\App\Bootstrap::run
    lib/internal/Magento/Framework/App/Bootstrap.php:264