Ask, reply and learn. Join the community of Akaunting.
Hi,
An error was ecountered after updating to version 2.1.25.
Below debug details. any suggestions?
[11:53:53] LOG.error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'bgm_media.company_id' in 'where clause' (SQL: select `bgm_media`.*, `bgm_mediables`.`mediable_id` as `pivot_mediable_id`, `bgm_mediables`.`media_id` as `pivot_media_id`, `bgm_mediables`.`mediable_type` as `pivot_mediable_type`, `bgm_mediables`.`tag` as `pivot_tag`, `bgm_mediables`.`order` as `pivot_order` from `bgm_media` inner join `bgm_mediables` on `bgm_media`.`id` = `bgm_mediables`.`media_id` where `bgm_mediables`.`mediable_id` = 1 and `bgm_mediables`.`mediable_type` = users and `deleted_at` is null and `bgm_media`.`deleted_at` is null and `bgm_media`.`company_id` = 1 order by `order` asc)
(View: /**********/public_html/acc/resources/views/partials/admin/navbar.blade.php)
(View: /**********/public_html/acc/resources/views/partials/admin/navbar.blade.php)
(View: /**********/public_html/acc/resources/views/partials/admin/navbar.blade.php)
{"userId":1,"exception":{}}
I created the field "company_id" in "bgm_media" and gave it the value "1". looks like problem solved
Showing 1 to 2 of 2 discussions