5

After Upgrade Latest Magento ver. 2.4.3 Logo displayed Default Magento Logo... Uploaded logo was not display in Magento 2.4.3

I have checked at: Magento Admin > Content > Design > Configuration > Defult Store View > Header > Logo Image. File is properly uploaded.

Any One facing this Issue ?

Note: Magento ver. 2.4.3

2
  • have you ran deploy command in all databases? and cleared all magento cache? Aug 18 at 12:16
  • yes all thing done Aug 18 at 13:09
4

Unsure if you solved this in the end, but we had the same issue when upgrading from 2.4.2 to 2.4.3.

The issue for us was from some new logo arguments added to default.xml in 2.4.3:

<block class="Magento\Theme\Block\Html\Header\Logo" name="logo">
    <arguments>
        <argument name="logoPathResolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoPathResolver</argument>
        <argument name="logo_size_resolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolver</argument>
    </arguments>
</block>

As we were overriding default.xml in our theme these were missing. Adding these arguments to our theme default.xml solved it.

1

I had the same issue with MGS template. I followed advices on this thread Change default logo to .SVG image programatically by adding below code to default.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="logo">
            <action method="setLogoFile">
                <argument name="logo_file" xsi:type="string">
                    images/logo.png
                </argument>
            </action>
        </referenceBlock>
    </body>
</page>
3
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review
    – Pawan
    Aug 28 at 4:10
  • 1
    Sorry about that! I was using my phone and answered it instead of commenting. I updated the text with a real answer this time.
    – Andrew Z
    Aug 29 at 13:35
  • Great, it will help others..+1
    – Pawan
    Aug 29 at 13:51
1

This error is due to different ways of calling the Magento 2.4.3 logo and the previous version. I did override the theme follow path app/design/frontend/VendorTheme/Name_theme/Magento_Theme/layout/default.xml

<block class="Magento\Theme\Block\Html\Header\Logo" name="logo">
<arguments>
    <argument name="logoPathResolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoPathResolver</argument>
    <argument name="logo_size_resolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolver</argument>
</arguments>
0

Under www/app/design/frontend/{Vendor}/{theme}/Magento_Theme/layout/default.xml

            <block class="Magento\Theme\Block\Html\Header\Logo" name="logo">
                <arguments>
                    <argument name="logoPathResolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoPathResolver</argument>
                    <argument name="logo_size_resolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolver</argument>
                </arguments>
            </block>

And mage sure to clear your cache and Fastly cache if you use it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.