In der aktuellen Contao Version haben wir bei einer Webseite ein Problem mit den Newsletter-Leser. Beim Öffnen eines Newsletters kommt "Bei der Ausführung des Skriptes ist ein Fehler aufgetreten. Irgendetwas funktioniert nicht richtig." Die var/log ist leer. Im Debug Modus spuckt er folgenden Stack Trace aus:
HTML-Code:
UndefinedMethodError
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "parse" of class "Contao\CoreBundle\Util\SimpleTokenParser".
Did you mean to call "parseTokens"?
at /var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/newsletter-bundle/src/Resources/contao/modules/ModuleNewsletterReader.php:129
at Contao\ModuleNewsletterReader->compile()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:209)
at Contao\Module->generate()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/newsletter-bundle/src/Resources/contao/modules/ModuleNewsletterReader.php:83)
at Contao\ModuleNewsletterReader->generate()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:76)
at Contao\ContentModule->generate()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:589)
at Contao\Controller::getContentElement()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:187)
at Contao\ModuleArticle->compile()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:209)
at Contao\Module->generate()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:74)
at Contao\ModuleArticle->generate()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:529)
at Contao\Controller::getArticle()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:380)
at Contao\Controller::getFrontendModule()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:168)
at Contao\PageRegular->prepare()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:48)
at Contao\PageRegular->getResponse()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:343)
at Contao\FrontendIndex->renderPage()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle()
(/var/www/vhosts/eksg-freiberg.de/httpdocs/web/index.php:31)
composer update ist gemacht, eventuell ein Drittanbieter Problem? Die Seite ist jahrelang aktualisiert wurden, evtl. sind da noch Rückstände von nicht mehr benötigten Erweiterungen vorhanden. composer show sagt:
HTML-Code:
ausi/slug-generator v1.1.0
bacon/bacon-qr-code 2.0.2
beberlei/assert v3.2.7
clue/stream-filter v1.4.1
codefog/contao-haste 4.24.9
composer/ca-bundle 1.2.8
composer/package-versions-deprecated 1.11.99
contao-community-alliance/composer-plugin 3.0.9
contao-community-alliance/meta-palettes 2.0.7
contao-components/ace 1.4.12
contao-components/chosen 1.2.4
contao-components/colorbox 1.6.6
contao-components/colorpicker 1.5.1
contao-components/contao 9.1.1
contao-components/datepicker 2.3.1
contao-components/dropzone 5.7.2
contao-components/highlight 10.1.2
contao-components/installer 1.4.0
contao-components/jquery 3.5.1
contao-components/jquery-ui 1.12.1.1
contao-components/mediabox 1.5.5
contao-components/mootools 1.6.0.6
contao-components/simplemodal 2.1.1
contao-components/swipe 2.2.0
contao-components/tablesort 4.0.1
contao-components/tablesorter 2.31.3
contao-components/tinymce4 5.4.2
contao/calendar-bundle 4.10.0
contao/conflicts dev-master ba331b1
contao/core-bundle 4.10.0
contao/image 1.0.2
contao/imagine-svg 1.0.1
contao/installation-bundle 4.10.0
contao/maintenance-bundle-deprecated v2.1.5
contao/manager-bundle 4.10.0
contao/manager-plugin 2.10.2
contao/news-bundle 4.10.0
contao/newsletter-bundle 4.10.0
dasprid/enum 1.0.2
doctrine/annotations 1.10.4
doctrine/cache 1.10.2
doctrine/collections 1.6.7
doctrine/common 2.13.3
doctrine/dbal 2.10.3
doctrine/doctrine-bundle 2.1.2
doctrine/event-manager 1.1.1
doctrine/inflector 1.4.3
doctrine/instantiator 1.3.1
doctrine/lexer 1.2.1
doctrine/orm v2.7.3
doctrine/persistence 1.3.8
doctrine/reflection 1.2.1
doctrine/sql-formatter 1.1.1
dragonmantank/cron-expression v2.3.0
egulias/email-validator 2.1.19
facebook/graph-sdk 5.7.0
friendsofsymfony/http-cache 2.9.2
friendsofsymfony/http-cache-bundle 2.9.0
fritzmg/contao-lightcase 2.2.0
guzzlehttp/guzzle 6.5.5
guzzlehttp/promises v1.3.1
guzzlehttp/psr7 1.6.1
imagine/imagine 1.2.3
jeremykendall/php-domain-parser 5.7.1
knplabs/knp-menu v3.1.2
knplabs/knp-menu-bundle v3.0.0
knplabs/knp-time-bundle v1.13.0
laminas/laminas-code 3.4.1
laminas/laminas-eventmanager 3.3.0
laminas/laminas-zendframework-bridge 1.1.0
lcobucci/jwt 3.3.3
league/uri-components 1.8.2
league/uri-hostname-parser 1.1.1
league/uri-interfaces 1.1.1
league/uri-parser 1.4.1
league/uri-schemes 1.2.1
madeyourday/contao-rocksolid-slider v2.0.16
matthiasmullie/minify 1.3.63
matthiasmullie/path-converter 1.1.3
menatwork/contao-multicolumnwizard 3.3.16
michelf/php-markdown 1.9.0
monolog/monolog 1.25.5
nelmio/cors-bundle 2.1.0
nelmio/security-bundle v2.10.1
netzmacht/contao-leaflet-geocode-widget 1.3.0
netzmacht/contao-leaflet-libraries 1.3.4.0
netzmacht/contao-leaflet-maps 3.2.1
netzmacht/contao-page-context 1.0.2
netzmacht/contao-toolkit 3.4.5
netzmacht/php-javascript-builder 1.0.2
netzmacht/php-leaflet 1.1.0
numero2/contao-marketing-suite 1.0.22
nyholm/psr7 1.3.0
ocramius/proxy-manager 2.8.0
org_heigl/hyphenator v2.6.0
paragonie/constant_time_encoding v2.3.0
paragonie/random_compat v9.99.99
patchwork/utf8 v1.3.2
php-http/client-common 2.3.0
php-http/discovery 1.9.1
php-http/httplug 2.2.0
php-http/message 1.9.0
php-http/message-factory v1.0.2
php-http/promise 1.1.0
phpspec/php-diff v1.1.0
phpunit/php-token-stream 3.1.1
psr/cache 1.0.1
psr/container 1.0.0
psr/http-client 1.0.1
psr/http-factory 1.0.1
psr/http-message 1.0.1
psr/log 1.1.3
psr/simple-cache 1.0.1
ralouphie/getallheaders 3.0.3
ramsey/uuid 3.9.3
scheb/two-factor-bundle v4.18.2
scssphp/scssphp 1.2
simplepie/simplepie 1.5.5
spomky-labs/otphp v9.1.4
symfony-cmf/routing 2.3.2
symfony-cmf/routing-bundle 2.4.0
symfony/asset v4.4.13
symfony/cache v4.4.13
symfony/cache-contracts v2.1.3
symfony/config v4.4.13
symfony/console v4.4.13
symfony/debug v4.4.13
symfony/debug-bundle v4.4.13
symfony/dependency-injection v4.4.13
symfony/deprecation-contracts v2.1.3
symfony/doctrine-bridge v4.4.13
symfony/dom-crawler v4.4.13
symfony/dotenv v4.4.13
symfony/error-handler v4.4.13
symfony/event-dispatcher v4.4.13
symfony/event-dispatcher-contracts v1.1.9
symfony/expression-language v4.4.13
symfony/filesystem v4.4.13
symfony/finder v4.4.13
symfony/framework-bundle v4.4.13
symfony/http-client v4.4.13
symfony/http-client-contracts v2.1.3
symfony/http-foundation v4.4.13
symfony/http-kernel v4.4.13
symfony/lock v4.4.13
symfony/mailer v4.4.13
symfony/mime v5.1.5
symfony/monolog-bridge v4.4.13
symfony/monolog-bundle v3.5.0
symfony/options-resolver v5.1.5
symfony/polyfill-ctype v1.18.1
symfony/polyfill-intl-grapheme v1.18.1
symfony/polyfill-intl-idn v1.18.1
symfony/polyfill-intl-normalizer v1.18.1
symfony/polyfill-mbstring v1.18.1
symfony/polyfill-php70 v1.18.1
symfony/polyfill-php72 v1.18.1
symfony/polyfill-php73 v1.18.1
symfony/polyfill-php80 v1.18.1
symfony/process v4.4.13
symfony/property-access v5.1.5
symfony/property-info v5.1.5
symfony/proxy-manager-bridge v4.4.13
symfony/routing v4.4.13
symfony/security v4.4.13
symfony/security-bundle v4.4.13
symfony/service-contracts v2.1.3
symfony/stopwatch v4.4.13
symfony/string v5.1.5
symfony/templating v4.4.13
symfony/translation v4.4.13
symfony/translation-contracts v2.1.3
symfony/twig-bridge v4.4.13
symfony/twig-bundle v4.4.13
symfony/var-dumper v4.4.13
symfony/var-exporter v5.1.5
symfony/web-profiler-bundle v4.4.13
symfony/yaml v4.4.13
terminal42/dcawizard 2.4.7
terminal42/escargot 0.6.1
terminal42/notification_center 1.5.15
terminal42/service-annotation-bundle 1.1.2
toflar/psr6-symfony-http-cache-store 2.3.1
true/punycode v2.1.1
twig/twig v2.13.1
ua-parser/uap-php v3.9.13
webignition/disallowed-character-terminated-string 2.0
webignition/robots-txt-file 3.0
webimpress/safe-writer 2.1.0
webmozart/assert 1.9.1
webmozart/path-util 2.3.0
wikimedia/less.php 1.8.2
Lesezeichen