Contao-Camp 2024
Ergebnis 1 bis 4 von 4

Thema: PHP Fatal error: Uncaught exception 'Doctrine\ORM\Query\QueryException' with message

  1. #1
    Contao-Nutzer
    Registriert seit
    23.01.2016.
    Beiträge
    32

    Standard PHP Fatal error: Uncaught exception 'Doctrine\ORM\Query\QueryException' with message

    Hallo
    Ich habe im "PHP Error Log" vom Server folgende Fehlermeldung.
    Leider kann ich nicht nachvollziehen woher diese kommt. Meine installierten Componenten sind anschliessend an die Fehlermeldung.

    **********************
    PHP Fatal error: Uncaught exception 'Doctrine\ORM\Query\QueryException' with message '[Semantical Error] line 0, col 59 near 'confirmed = :confirmed': Error: Class Avisota\Contao\Entity\Subscription has no field or association named confirmed' thrown in /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php on line 63
    #0 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(483): Doctrine\ORM\Query\QueryException::semanticalError ('line 0, col 59 ...', Object(Doctrine\ORM\Query\QueryException))
    #1 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(759): Doctrine\ORM\Query\Parser->semanticalError('Class Avisota\\C...', Array)
    #2 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(279): Doctrine\ORM\Query\Parser->processDeferredPathExpressions(Object(Doctrine\OR M\Query\AST\SelectStatement))
    #3 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(351): Doctrine\ORM\Query\Parser->getAST()
    #4 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(255): Doctrine\ORM\Query\Parser->parse()
    #5 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(267): Doctrine\ORM\Query->_parse()
    #6 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(794): Doctrine\ORM\Query->_doExecute()
    #7 /data/web/e40672/html/apps/contao/composer/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(574): Doctrine\ORM\AbstractQuery->execute(NULL, 1)
    #8 /data/web/e40672/html/apps/contao/composer/vendor/avisota/contao-subscription/src/Cron.php(83): Doctrine\ORM\AbstractQuery->getResult()
    #9 [internal function]: Avisota\Contao\Subscription\Cron->cronCleanupRecipientList(Object(ContaoCommunityAl liance\Contao\Events\Cron\CronEvent), 'cron.daily', Object(Symfony\Component\EventDispatcher\EventDisp atcher))
    #10 /data/web/e40672/html/apps/contao/composer/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(ContaoCommunityAlliance\Contao\Events\Cron\ CronEvent), 'cron.daily', Object(Symfony\Component\EventDispatcher\EventDisp atcher))
    #11 /data/web/e40672/html/apps/contao/composer/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'cron.daily', Object(ContaoCommunityAlliance\Contao\Events\Cron\ CronEvent))
    #12 /data/web/e40672/html/apps/contao/composer/vendor/contao-community-alliance/events-cron/src/ContaoCommunityAlliance/Contao/Events/Cron/CronDispatcher.php(49): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('cron.daily', Object(ContaoCommunityAlliance\Contao\Events\Cron\ CronEvent))
    #13 /data/web/e40672/html/apps/contao/system/modules/core/controllers/FrontendCron.php(100): ContaoCommunityAlliance\Contao\Events\Cron\CronDis patcher->daily()
    #14 /data/web/e40672/html/apps/contao/system/cron/cron.php(20): Contao\FrontendCron->run()
    #15 {main}
    **********************

    Hier meine Systemdaten:
    avisota/contao-bundle-all 3.1.0
    contao/core 3.5.12
    contao-community-alliance/composer-client 0.16.4
    dklemmt/contao_dk_masonry 1.2.1.9006
    felixpfeiffer/contao-downloadarchive 3.0.0.9009
    ma3xl3/contao-easy-favicon 1.0.2.9006
    contao-legacy/flexslider 1.4.3.9004
    contao-legacy/i18nl10n 1.5.5.9004
    fritzmg/contao-short-urls 1.1.5.9004
    delahaye/dlh_googlemaps 2.1.1
    isotope/isotope-core 2.3.5
    isotope/isotope_documents 1.0.2
    menatwork/synccto 3.2.0-beta8

    Ich danke für die Unterstützung.

  2. #2
    Contao-Nutzer
    Registriert seit
    22.09.2014.
    Ort
    Chemnitz
    Beiträge
    34

    Standard

    Ich habe das selbe Problem.
    Das Problem an der Sache ist, dass dieses Problem bei der Ausführung der Täglichen Crons Auftritt und dazu führt, dass die Crons die danach kommen sollen, nicht ausgeführt werden!
    Ich habe sonst auch leider noch keine Hinweise gefunden.

  3. #3
    Contao-Nutzer
    Registriert seit
    22.09.2014.
    Ort
    Chemnitz
    Beiträge
    34

    Standard

    Ein Workaround ist in die localconfig folgende Zeile zu schreiben:

    $GLOBALS['TL_CONFIG']['avisota_subscription_cleanup']=false;

  4. #4
    Contao-Nutzer Avatar von baumannsv
    Registriert seit
    28.01.2015.
    Beiträge
    152

    Standard

    Hallo Community,

    ich habe den Fehler aufgenommen.

    https://github.com/avisota/contao-core/issues/235

    LG Sven Baumann

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •