Skip to content

TYPO3 v11 compatibility broken #6

Description

@subjacked

Hi,

I know v11 is old, but we have some systems still running it nonetheless.

A colleague had the task to add the possibility to add poster-images to a system. So I recommended b13/poster-image.

We came across the following error:

Expected to find class "B13\PosterImage\VideoTagWithPosterRenderer" in file "/var/www/html/web/typo3conf/ext/poster_image/Classes/VideoTagWithPosterRenderer.php" while importing services from resource "../
Classes/*", but it was not found! Check the namespace prefix used with the resource.

In my opinion this is caused by the if-condition in the VideoTagWithPosterRenderer which then defines two different classes for 11 and 12+.

Or am I missing something?

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions