Comments (3)
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.
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.
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)
- Error with frontend_editing HOT 1
- only one button when all cookies are necessary HOT 1
- Consent is not visible having multiple root pages HOT 2
- Load something (Google Tag Manager) on every page view, as long as the option was confirmed before HOT 1
- TCA points to non-existent field label HOT 2
- Only display consent if activated HOT 1
- fire if event cookieConsent on load HOT 5
- Localisation not working HOT 3
- Can't overwritte language labels with typoscript HOT 1
- How to disable the plugin for frontend_editing? HOT 1
- Add v11 compatibility HOT 4
- TYPO3 11 HOT 1
- Incompatibility problem with Typo3 10.4.2 since version 2.0.0 HOT 2
- Translations not working / not usefull for multilang sites HOT 16
- Different Cookies per Language HOT 3
- Preselection HOT 1
- denyLabel not available in Configuration HOT 1
- Trying to create translation of necessary_cookie_options entries throws SQL "incorrect integer value" error HOT 3
- Google Consent Mode [Feature Request] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mindshape_cookie_consent.