Coder Social home page Coder Social logo

Error in Log: Core: Exception handler (WEB): Uncaught TYPO3 Exception: Mindshape\MindshapeCookieConsent\Service\CookieConsentService::__construct(): Argument #2 ($configurationRepository) must be of type Mindshape\MindshapeCookieConsent\Domain\Repository\ConfigurationRepository about mindshape_cookie_consent HOT 4 CLOSED

cbaumstark avatar cbaumstark commented on July 23, 2024
Error in Log: Core: Exception handler (WEB): Uncaught TYPO3 Exception: Mindshape\MindshapeCookieConsent\Service\CookieConsentService::__construct(): Argument #2 ($configurationRepository) must be of type Mindshape\MindshapeCookieConsent\Domain\Repository\ConfigurationRepository

from mindshape_cookie_consent.

Comments (4)

featdd avatar featdd commented on July 23, 2024

Hi @cbaumstark,

I wasn't really able to reproduce this, have you a valid configuration?

Greetings
Daniel

from mindshape_cookie_consent.

cbaumstark avatar cbaumstark commented on July 23, 2024

Hi @featdd,

I did not change the configuration for several months, so it has been the same before and after the update.
Is there anything else I could provide?

Thx & greetings,
Clea

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

Hi @cbaumstark,

sorry for the late response, I'm still not able to reproduce this.
Could you have done anything else that influences the autoloading!?

Reading the error the autoloading tries to inject the TemplateRenderingService instead of the ConfigurationRepository, but the TemplateRenderingService is nowhere declared in the CookieConsentService...

I'll close this issue for now, but if you could provide more information or figure it out I will open it again.

Greetings
Daniel

from mindshape_cookie_consent.

cbaumstark avatar cbaumstark commented on July 23, 2024

Hi @featdd,

the error has been provoked because the extension did not load the preview image due to privacy settings in the Vimeo videos. The Vimeo videos are only allowed to be embedded at specific domains. The extension has then not loaded the preview image and has thrown the error and did not show the whole Content Element any more.
Adapting ext_mindshape_cookie_consent\classes_viewhelpers\MediaConsentViewHelper.php has resolved the issue.

Greetings
Clea

from mindshape_cookie_consent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.