akester/storehouse

Fork Project
Opened By: Andrew Kester
Assigned To: Andrew Kester
Status: Test Applied Severity: Normal

500 Error When Creating Projects

Andrew Kester created May 9, 2018 20:54

Sub accounts get a 500 error when creating new projects.

Trace:

{
    "class": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",
    "message": "Type error: Argument 1 passed to BillingBundle\\Billing\\InvoiceConstructor::getInvoice() must be an instance of StorehouseBundle\\Entity\\User\\User, instance of StorehouseBundle\\Entity\\User\\SubAccount given, called in /var/storehouse/src/BillingBundle/Controller/BillingController.php on line 58",
    "code": 0,
    "file": "/var/storehouse/src/BillingBundle/Billing/InvoiceConstructor.php:167",
    "trace": [
        "/var/storehouse/src/BillingBundle/Controller/BillingController.php:58",
        "/var/storehouse/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151",
        "/var/storehouse/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68",
        "/var/storehouse/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:202",
        "/var/storehouse/web/app.php:30"
    ]
}
Andrew Kester on May 9, 2018 20:54

Changed Assignee to Andrew Kester (akester).

Changed Status to Fix Applied.

Andrew Kester on May 21, 2018 21:49

Changed Status to Test Applied.

You need to login before you can comment.