Skip to content

Exception on empty filename (should be skipped) #3

@aspann

Description

@aspann

Hey,
I'm currently facing a small issue - should be easy to fix (MediaOptimizeCommand.php#L158)

$ bin/console rl:media:optimize
  33/909 [=>--------------------------]   3%20:17:27 CRITICAL  [console] Error thrown while running command "rl:media:optimize". Message: "A valid Filename must be provided." ["exception" => Shopware\Core\Content\Media\Exception\EmptyMediaFilenameException^ { …},"command" => "rl:media:optimize","message" => "A valid Filename must be provided."]

In UrlGenerator.php line 136:
                                      
A valid Filename must be provided. 

If you need any further information, just let me know. (Btw. nice plugin!)

Cheers.

[edit]
Added linenumber and filename where the error is initially triggered.

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