Closed betterapp closed 1 year ago
We found in logs something like this:
[2023-01-26 13:37:39] php.DEBUG: Notice: Object of class Symfony\Component\Console\Helper\ProgressBar could not be converted to number {"exception":"[object] (Symfony\Component\Debug\Exception\SilencedErrorContext: {\"severity\":8,\"file\":\"/var/www/xxx/www/vendor/blackbit/data-director/Command/QueueProcessorCommand.php\",\"line\":52 7,\"trace\":[{\"function\":\"Blackbit\\DataDirectorBundle\\Command\\{closure}\",\"class\":\"Blackbit\\DataDirectorBundle\\Command\\QueueProcessorCommand\",\"type\":\"::\"}],\"count\":1})"} [] [2023-01-26 13:37:39] doctrine.DEBUG: UPDATE plugin_pim_queue SET started_at=NULL [] []
[2023-01-26 13:37:39] console.CRITICAL: Error thrown while running command "data-director:process-queue". Message: "Warning: Division by zero" {"exception":"[object] (ErrorException(code: 0): Warning: Division by zero at /var/www/xxx/www/vendor/blackbit/data-director/Command/QueueProcessorCommand.php:527, ErrorException(code: 0): Warning: Division by zero at /var/www/xxx/www/vendor/blackbit/data-director/Command/QueueProcessorCommand.php:527)","command":"data-director:process-queue","message":"Warning: Division by zero"} []
[2023-01-26 13:37:39] console.DEBUG: Command "data-director:process-queue" exited with code "1" {"command":"data-director:process-queue","code":1} []
527 $remaining1 = round((time() - $progressBar1) / $progressBar1->getProgress() * ($progressBar1->getMaxSteps() - $progressBar1->getProgress()));
528 $remaining2 = round((time() - $progressBar2) / $progressBar2->getProgress() * ($progressBar2->getMaxSteps() - $progressBar2->getProgress()));
DD: 3.2.11
updating DD to 3.2.35.
For now I do not see any errors.
I started to have this button on dataport.![image](https://user-images.githubusercontent.com/7449124/214829285-d081ab11-36ac-46db-8fcc-7c2920764513.png)
When I click on it nothing happend and I get black modal window.![image](https://user-images.githubusercontent.com/7449124/214829528-7db83502-a600-44cb-bfd5-5ed9e8dab1ce.png)
The job is queued but nothing happend.![image](https://user-images.githubusercontent.com/7449124/214829444-3dd358e8-0c19-422f-8e52-7cc4cb7f3092.png)
There is nothing in the php log.
What should we check. Message from button says that there is something wrong with configuration but we did not changed anything. Server is up and running since 554 days. What should we check ?