Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Undefined variable: revenue

Andrew Esterhuysen   ( User )

Commented 2 years ago

I installed the latest version today on shared hosting. Set up a company and started to configure the software. On creating a first invoice as a test to see what the PDF would look like when I download it or even try to print it, I get a 500 Internal server error and upon nspecting in debug mode I get the following.

Undefined variable: revenue (View: resources/views/sales/revenues/print_default.blade.php)

HandleExceptions->handleError(8, 'Undefined variable: revenue', 'storage/framework/views/59551b02a181d0f0550f7a4054551e9f4ef02637.php', 1, array('__path' => '/storage/framework/views/59551b02a181d0f0550f7a4054551e9f4ef02637.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'payment' => object(Transaction), 'currency_style' => true), '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'payment' => object(Transaction), 'currency_style' => true))
in storage/framework/views/59551b02a181d0f0550f7a4054551e9f4ef02637.php (line 1)

Any ideas?

Please login or register to leave a response.

Showing 1 to 1 of 1 discussions