Open axka opened 9 years ago
Do you get this error only in combination with phing?
With this information seems a problem with \DateTime and not with Phing. seems that $last is not a DateTime object and its declared in:
16 <?php $last = new \DateTime('-1 Year'); ?>
Maybe have you previous errors related to the timezone configured in your php.ini?
This error just occurs when the phing process starts. The build starts and is running all the tasks but as soon as it reaches phing this error occurs. Afaik this problem occurs just on the dashboard page.
As soon as phing starts its work and I reload our PHPCI page the page is broken; I just get the beginning of the page without any CSS and the following error message:
Latest Builds
Fatal error: Call to a member function format() on a non-object in PHPCI/View/Home/index.phtml on line 47