Coder Social home page Coder Social logo

Comments (3)

featdd avatar featdd commented on June 24, 2024

Hi @meisenberg2305,

are you shure this is related to this extension?
The only place the cache manager is instanciated is in a TCA hook, but via GeneralUtility and not Symfony Service.yaml.

Can you reproduce this error in a naked TYPO3 and tell me the steps you made!?
Otherwise I would assume, by the stack trace you send, that the error is not related to the extensions itself but maybe in conflict with some other things in your instance.

I'll appreciate your feedback.

Greetings
Daniel

from mindshape_cookie_consent.

martineisenberg avatar martineisenberg commented on June 24, 2024

Hi,

on a clean installation of 10.4.21 (non-composer) upon installing v2.1.1 I get the following excerpt:

(1/1) Error
Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchOne()

in C:\Xampp_7\htdocs\typo3_10.4.21\typo3conf\ext\mindshape_cookie_consent\Classes\Service\ExtensionDefaultDataService.php line 69
$resultCount = $queryBuilder
->count('*')
->from(Configuration::TABLE)
->execute()
->fetchOne();

        if (0 === $resultCount) {
            $this->addDefaultConfigurations();
        }

at Mindshape\MindshapeCookieConsent\Service\ExtensionDefaultDataService->checkAndAddDefaultConfigurations()
in C:\Xampp_7\htdocs\typo3_10.4.21\typo3conf\ext\mindshape_cookie_consent\Classes\EventListener\AfterPackageActivationEventListener.php line 32
*/
public function __invoke(AfterPackageActivationEvent $afterPackageActivationEvent)
{
if (SettingsUtility::EXTENSION_KEY === $afterPackageActivationEvent->getPackageKey()) {
$this->extensionDefaultDataService->checkAndAddDefaultConfigurations();
}
}
}
at Mindshape\MindshapeCookieConsent\EventListener\AfterPackageActivationEventListener->__invoke(object(TYPO3\CMS\Core\Package\Event\AfterPackageActivationEvent))
in C:\Xampp_7\htdocs\typo3_10.4.21\typo3\sysext\core\Classes\EventDispatcher\EventDispatcher.php line 51
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
return $event;
}
foreach ($this->listenerProvider->getListenersForEvent($event) as $listener) {
$listener($event);
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
break;
}
}

This may be related to a core bug maybe though for 10.4.21 as the dbal doctrine packages should be available by default within the core I assume?

from mindshape_cookie_consent.

featdd avatar featdd commented on June 24, 2024

Hi @meisenberg2305,

I tried both latest TYPO3 versions (11.5.5 & 10.4.23) and had no such issues.
Please Update your TYPO3 instance and test this case again, but for now I will close this issue due to unreproducability.

Greetings
Daniel

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.