Ask, reply and learn. Join the community of Akaunting.
Hello
When trying uninstall/disable an app to troubleshoot it not updating, it fails, and the logs show General error: 1364 Field category doesn't have a default value. Has anyone seen this and if so, how did you fix it. Thanks very much.
Hello,
I'm not able to reproduce such an issue, make sure you're using the latest version of Akaunting.
Regards
Same here when traying to install a new module
In Connection.php line 671:
SQLSTATE[HY000]: General error: 1364 Field 'category' doesn't have a default value (SQL: insert into `qn8_module_histories` (`company_id`, `modul
e_id`, `version`, `description`, `updated_at`, `created_at`) values (1, 4, 1.0.0, extend-item-product installed, 2020-10-21 22:43:36, 2020-10-21
22:43:36))
In PDOStatement.php line 119:
SQLSTATE[HY000]: General error: 1364 Field 'category' doesn't have a default value
In PDOStatement.php line 117:
SQLSTATE[HY000]: General error: 1364 Field 'category' doesn't have a default value
I get the same error when try to create a company
Hi,
I got the same error. I then changed in this table qkp_module_histories category to have a default of NULL. It seems category disappeared after I upgraded on of the modules or changed to description.
Showing 1 to 6 of 6 discussions