stiftungswo / Dime

DimeERP - Timetracker, Offers & Invoices
MIT License
5 stars 1 forks source link

Error: Call to a member function addDay() on null #165

Closed swoadmin closed 5 years ago

swoadmin commented 6 years ago

https://sentry.io/swo/dime/issues/673875620/

Error: Call to a member function addDay() on null
  File "src/Dime/InvoiceBundle/Handler/InvoiceHandler.php", line 63, in createFromProject
    $invoice->setStart($existinginvoice->getEnd()->addDay());
  File "src/Dime/InvoiceBundle/Controller/InvoiceController.php", line 225, in createInvoiceFromProjectAction
    return $this->container->get($this->handlerSerivce)->createFromProject($this->getOr404($id, 'dime.project.handler'));
  File "app/bootstrap.php.cache", line 3262, in handleRaw
    $response = \call_user_func_array($controller, $arguments);
  File "app/bootstrap.php.cache", line 3221, in handle
    return $this->handleRaw($request, $type);
  File "app/bootstrap.php.cache", line 3375, in handle
    $response = parent::handle($request, $type, $catch);
...
(7 additional frame(s) were not displayed)