Forum

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

New Discussion

ERROR: Attempted to lazy load [currency] on model

Juan Torres   ( User )

Commented 2 years ago

Hello, this error is eating space on my hosting at an enormous speed of +/-3GB per day. Can anyone help?

[2022-11-02 08:10:58] production.ERROR: Attempted to lazy load [currency] on model [App\Models\Banking\Account]. {"userId":1,"exception":"[object] (Exception(code: 0): Attempted to lazy load [currency] on model [App\\Models\\Banking\\Account]. at /home/akount/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:677)
[stacktrace]

Muhammad Rafly Maulana   ( User )

Commented 1 year ago

This error is occurred because of Laravel things, if you understand how to code, then you can modify /app/Abstracts/Model.php file following this guide https://stackoverflow.com/a/70754136, please not that this isn't a good practice, and you may wait until this bug is fixed by the devs

or you could play with LOG_LEVEL or LOG_CHANNEL things on .env for that

Please login or register to leave a response.

Showing 1 to 2 of 2 discussions