avisota / contao-core

Basic integration into the Contao Open Source CMS.
avisota.org
20 stars 11 forks source link

Cron Job erzeugt Fatal Error #235

Open baumannsven opened 7 years ago

baumannsven commented 7 years ago

Von garyee: 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.

` 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}

`

In Form gepostet: https://community.contao.org/de/showthread.php?62605-PHP-Fatal-error-Uncaught-exception-Doctrine-ORM-Query-QueryException-with-message&p=409597&viewfull=1#post409597