markocupic / gallery-creator-bundle

Manage and display photo galleries. Plugin for Contao CMS.
GNU General Public License v3.0
7 stars 3 forks source link

Fehlermeldung im Dev-Modus mit PHP 8 und Contao 4.13 #28

Closed mlwebworker closed 1 year ago

mlwebworker commented 1 year ago

Ich habe den Gallery-Creator in Version in Version 1.2.11 in Contao 4.13.14 mit PHP 8.1.12 am laufen im Dev-Modus bekomme ich einen Fehler. Hier der komplette Stack-Trace

ErrorException:
Warning: Undefined array key "do"

  at vendor/markocupic/gallery-creator-bundle/src/Resources/contao/config/config.php:50
  at include('/home/xxx/contao_4_13_x/vendor/markocupic/gallery-creator-bundle/src/Resources/contao/config/config.php')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:198)
  at Contao\Config->initialize()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Config.php:163)
  at Contao\Config::getInstance()
     (vendor/contao/core-bundle/src/Framework/Adapter.php:46)
  at Contao\CoreBundle\Framework\Adapter->__call('getInstance', array())
     (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:298)
  at Contao\CoreBundle\Framework\ContaoFramework->initializeFramework()
     (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:122)
  at Contao\CoreBundle\Framework\ContaoFramework->initialize()
     (vendor/contao/core-bundle/src/Security/User/ContaoUserProvider.php:68)
  at Contao\CoreBundle\Security\User\ContaoUserProvider->loadUserByIdentifier('maren')
     (vendor/contao/core-bundle/src/Security/User/ContaoUserProvider.php:87)
  at Contao\CoreBundle\Security\User\ContaoUserProvider->refreshUser(object(BackendUser))
     (vendor/symfony/security-http/Firewall/ContextListener.php:236)
  at Symfony\Component\Security\Http\Firewall\ContextListener->refreshUser(object(UsernamePasswordToken))
     (vendor/symfony/security-http/Firewall/ContextListener.php:137)
  at Symfony\Component\Security\Http\Firewall\ContextListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:49)
  at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(object(RequestEvent))
     (vendor/symfony/security-http/Firewall/AbstractListener.php:26)
  at Symfony\Component\Security\Http\Firewall\AbstractListener->__invoke(object(RequestEvent))
     (vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:73)
  at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(object(RequestEvent), object(Generator))
     (vendor/symfony/security-http/Firewall.php:92)
  at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(RequestEvent), 'kernel.request', object(TraceableEventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(RequestEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/http-kernel/HttpKernel.php:139)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:44)
mlwebworker commented 1 year ago

Danke für schnelle beheben des Fehlers. Läuft jetzt alles fehlerfrei im Debug-Modus.