Skip to content

Spam Errors in Logs #41

@thomas-kl1

Description

@thomas-kl1

I add a CMS block to a CMS page, with the following content:

<figure class="hero-logo container" data-content-type="image" data-appearance="full-width" data-animation="none" data-element="main" data-pb-style="LVD2RON"><img class="pagebuilder-mobile-hidden" src="{{media url=wysiwyg/cms/logo-white.svg}}" alt="" title="" loading="lazy" data-use-native-image-dimensions="true" width="" height="" data-element="desktop_image" data-pb-style="JU5NBDL"><img class="pagebuilder-mobile-only" src="{{media url=wysiwyg/cms/logo-white.svg}}" alt="" title="" loading="lazy" data-use-native-image-dimensions="true" width="" height="" data-element="mobile_image" data-pb-style="V00AULV"></figure>

I see the following error in mass in my logs:

[2025-04-03T07:55:45.114569+00:00] report.ERROR: Unsupported image format. File: /app/pub/media/wysiwyg/cms/logo-white.svg {"exception":"[object] (InvalidArgumentException(code: 0): Unsupported image format. File: /app/pub/media/wysiwyg/cms/logo-white.svg at /app/vendor/magestyapps/module-web-images/Model/Image/Adapter/Gd2.php:302)"} []

I'm not sure why it tries to modify the image in the SVG case. The image seems to render fin on FO and BO so I'm not sure why I have such logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions