Comments (2)
I have the same problem in my production from time to time.
Doctrine\DBAL\Types\ConversionException: Could not convert PHP value '' of type 'boolean' to type 'datetime'. Expected one of the following types: null, DateTime
#15 /app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php(72): Doctrine\DBAL\Types\ConversionException::conversionFailedInvalidType
#14 /app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/DateTimeType.php(44): Doctrine\DBAL\Types\DateTimeType::convertToDatabaseValue
#13 /app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(99): Doctrine\DBAL\Statement::bindValue
#12 /app/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(283): Doctrine\ORM\Persisters\Entity\BasicEntityPersister::executeInserts
#11 /app/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1075): Doctrine\ORM\UnitOfWork::executeInserts
#10 /app/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(388): Doctrine\ORM\UnitOfWork::commit
#9 /app/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(359): Doctrine\ORM\EntityManager::flush
#8 /app/vendor/cron/cron-bundle/Cron/Manager.php(57): Cron\CronBundle\Cron\Manager::saveReports
#7 /app/vendor/cron/cron-bundle/Command/CronRunCommand.php(63): Cron\CronBundle\Command\CronRunCommand::execute
#6 /app/vendor/symfony/console/Command/Command.php(255): Symfony\Component\Console\Command\Command::run
#5 /app/vendor/symfony/console/Application.php(933): Symfony\Component\Console\Application::doRunCommand
#4 /app/vendor/symfony/framework-bundle/Console/Application.php(87): Symfony\Bundle\FrameworkBundle\Console\Application::doRunCommand
#3 /app/vendor/symfony/console/Application.php(272): Symfony\Component\Console\Application::doRun
#2 /app/vendor/symfony/framework-bundle/Console/Application.php(73): Symfony\Bundle\FrameworkBundle\Console\Application::doRun
#1 /app/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application::run
#0 /app/bin/console(42): null
PHP 7.3.11 (cli)
ntl.default_locale => no value => no value
"name": "cron/cron",
"version": "1.4.1",
"name": "cron/cron-bundle",
"version": "2.2.0"
It happened twice during 15 days. But the command runs every minute. This is last 3 reports:
/app # bin/console doctrine:q:s "SELECT * FROM cron_report ORDER BY run_at DESC LIMIT 3"
/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Tools/Dumper.php:68:
array (size=3)
0 =>
array (size=6)
'id' => int 34246
'job_id' => int 1
'run_at' => string '2019-12-02 06:52:00' (length=19)
'run_time' => string '0.2821638584137' (length=15)
'exit_code' => int 0
'output' => string '0 messages found
' (length=17)
1 =>
array (size=6)
'id' => int 34245
'job_id' => int 1
'run_at' => string '2019-12-02 06:51:00' (length=19)
'run_time' => string '0.28854393959045' (length=16)
'exit_code' => int 0
'output' => string '0 messages found
' (length=17)
2 =>
array (size=6)
'id' => int 34244
'job_id' => int 1
'run_at' => string '2019-12-02 06:50:00' (length=19)
'run_time' => string '0.28462505340576' (length=16)
'exit_code' => int 0
'output' => string '0 messages found
' (length=17)
from symfony-bundle.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from symfony-bundle.
Related Issues (20)
- Add an example of database connection only for the bundle HOT 1
- Allow use of cron:delete without interaction
- Automatically update the schedule of a cron after database update HOT 1
- Syntax error cPanel
- Could not open input file: ../bin/console HOT 1
- Best pratice to hook to cron job errors and send notification ? HOT 3
- Raw is Deprecated HOT 2
- cron:start fails silently HOT 2
- Support for Symfony 6.1 and 6.2 HOT 3
- Cron not working with Symfony 6.4 HOT 3
- Add symfony 7 support
- Error - doctrine.orm.default_annotation_metadata_driver HOT 4
- Error in ShellJob.php with Symfony\Component\Process\Process in cron bundle v3.0.0
- Compile Error: Declaration of Cron\CronBundle\Job\ShellJobWrapper HOT 3
- Multiple accumulative jobs executions HOT 3
- Proble with return type form method execute in Commands HOT 1
- Can't create migration HOT 1
- PHPUnit test errors
- The target-entity Cron\\CronBundle\\Entity\\job cannot be found HOT 1
- Error passing parameters with version 2.18.0 of doctrine/orm
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 symfony-bundle.