Error while creating my first Invoice

Posted in CategoryInstallation & Update
  • Chandru    ( User ) 1 month ago
    I have installed Akaunting 2.1.16 in Debian 10 and trying to create my first Invoice but unable to create iam getting error called "500 Internal Server Error". I tried applying "chmod -R 755 /var/www/akaunting and chown www-data:www-data /var/www/akaunting -R " but unable solve the issue.
  • Leonardo Gomes    ( User ) 1 month ago
    Hello Chandru.

    If you are on a development mode, enable APP_DEBUG=true
    Then the error will popup on the screen.

    Can you share a printscreen with the described error?

    If you are on the production, take a look at the logs and share it here too.

  • Chandru    ( User ) 1 month ago
    Hai Leonardo,

    Thank you for your reply.
    After changing APP_DEBUG=true iam getting below error.


    HTTP 500 Internal Server Error
    Trying to get property 'id' of non-object (View: /var/www/akaunting/resources/views/partials/form/file_group.blade.php) (View: /var/www/akaunting/resources/views/partials/form/file_group.blade.php) (View: /var/www/akaunting/resources/views/partials/form/file_group.blade.php) (View: /var/www/akaunting/resources/views/partials/form/file_group.blade.php)

    Exceptions 5 Stack Traces 5

    Illuminate\View\ ViewException
    in /var/www/akaunting/storage/framework/views/cda6b380a09bf68df042968f719f73c12c1f57ef.php (line 80)

    $attachment = \Plank\Mediable\Media::find($value);
    $attachments[] = [
    'id' => $attachment->id,
    'name' => $attachment->filename . '.' . $attachment->extension,
    'path' => route('uploads.get', $attachment->id),
    'type' => $attachment->mime_type,
    'size' => $attachment->size,
    'downloadPath' => false,

  • Leonardo Gomes    ( User ) 1 month ago
    There is something wrong with the Uploads file fields.
    Can you try to Open Purchases > Bills and try to create one to see if the same error happens?
  • Chandru    ( User ) 1 month ago
    I am able to create purchase bills without errors.
  • Abdul Jabbar    ( User ) 1 month ago
    Creating Purchase Invoices works good but when we try to create Sales invoice, it gives 500 Internal Error. Here is what I tried

    1) I tried downloading and hosting on my own system but gives same error.
    2) I created an account on website and tried to create new Sales Invoice, gives same error

    As far as I have found the issue occurs when there is a new user created it gives error to our new user.

    You can try, Create Sales invoice from Admin, it works good but when you try to create some new user and log in with that then it gives 500 Internal Error for Sales Invoice
  • Ameer Hussain Abdul    ( User ) 2 weeks ago
    Issue not resolved
    same error
    Trying to get property 'id' of non-object (View: /home4/nfaintl0/public_html/akaunting/resources/views/partials/form/file_group.blade.php) (View: /home4/nfaintl0/public_html/akaunting/resources/views/partials/form/file_group.blade.php) (View: /home4/nfaintl0/public_html/akaunting/resources/views/partials/form/file_group.blade.php) (View: /home4/nfaintl0/public_html/akaunting/resources/views/partials/form/file_group.blade.php)

Please login or register to leave a response.