You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ chapi git:(master) bin/chapi scheduling
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Chapi\Entity\Chronos\JobStatsEntity::__construct() must be of the type array, object given, called in /Users/andygrunwald/Development/chapi/src/Service/Chronos/JobStatsService.php on line 66 and defined in /Users/andygrunwald/Development/chapi/src/Entity/Chronos/JobStatsEntity.php:28
Stack trace:
#0 /Users/andygrunwald/Development/chapi/src/Service/Chronos/JobStatsService.php(66): Chapi\Entity\Chronos\JobStatsEntity->__construct(Object(stdClass))
#1 /Users/andygrunwald/Development/chapi/src/Commands/SchedulingViewCommand.php(111): Chapi\Service\Chronos\JobStatsService->getJobStats('Bluekai-FillRed...')
#2 /Users/andygrunwald/Development/chapi/src/Commands/SchedulingViewCommand.php(82): Chapi\Commands\SchedulingViewCommand->printTimeLineTable(1481793861, 1481801061)
#3 /Users/andygrunwald/Development/chapi/src/Commands/AbstractCommand.php(78): Chapi\Commands\SchedulingViewCommand->process()
#4 /Users/andygrunwald/Development/chapi/vendor/symfony/console/Command/Command. in /Users/andygrunwald/Development/chapi/src/Entity/Chronos/JobStatsEntity.php on line 28
Fatal error: Uncaught TypeError: Argument 1 passed to Chapi\Entity\Chronos\JobStatsEntity::__construct() must be of the type array, object given, called in /Users/andygrunwald/Development/chapi/src/Service/Chronos/JobStatsService.php on line 66 and defined in /Users/andygrunwald/Development/chapi/src/Entity/Chronos/JobStatsEntity.php on line 28
TypeError: Argument 1 passed to Chapi\Entity\Chronos\JobStatsEntity::__construct() must be of the type array, object given, called in /Users/andygrunwald/Development/chapi/src/Service/Chronos/JobStatsService.php on line 66 in /Users/andygrunwald/Development/chapi/src/Entity/Chronos/JobStatsEntity.php on line 28
Call Stack:
0.0002 355120 1. {main}() /Users/andygrunwald/Development/chapi/bin/chapi:0
0.0093 1669400 2. Symfony\Component\Console\Application->run() /Users/andygrunwald/Development/chapi/bin/chapi:12
0.0113 1965832 3. Symfony\Component\Console\Application->doRun() /Users/andygrunwald/Development/chapi/vendor/symfony/console/Application.php:118
0.0114 1965832 4. Symfony\Component\Console\Application->doRunCommand() /Users/andygrunwald/Development/chapi/vendor/symfony/console/Application.php:187
0.0114 1965832 5. Symfony\Component\Console\Command\Command->run() /Users/andygrunwald/Development/chapi/vendor/symfony/console/Application.php:820
0.0116 1968408 6. Chapi\Commands\AbstractCommand->execute() /Users/andygrunwald/Development/chapi/vendor/symfony/console/Command/Command.php:254
0.0749 3038280 7. Chapi\Commands\SchedulingViewCommand->process() /Users/andygrunwald/Development/chapi/src/Commands/AbstractCommand.php:78
0.1031 3999464 8. Chapi\Commands\SchedulingViewCommand->printTimeLineTable() /Users/andygrunwald/Development/chapi/src/Commands/SchedulingViewCommand.php:82
0.3782 4846032 9. Chapi\Service\Chronos\JobStatsService->getJobStats() /Users/andygrunwald/Development/chapi/src/Commands/SchedulingViewCommand.php:111
0.4640 4850128 10. Chapi\Entity\Chronos\JobStatsEntity->__construct() /Users/andygrunwald/Development/chapi/src/Service/Chronos/JobStatsService.php:66
Will try to write a unit test and fix it.
The text was updated successfully, but these errors were encountered:
I saw this fatal error (on current master)
Will try to write a unit test and fix it.
The text was updated successfully, but these errors were encountered: