Zen Follower
- Join Date:
- May 2007
- Posts:
- 124
- Plugin Contributions:
- 0
Can't Add any new categories?
Fresh Install 1.5.6c
PHP 7.1
All of a sudden Can't add any new categories.
[14-Feb-2020 21:02:14 UTC] Request URI: /admin/categories.php?action=insert_category&cPath=, IP address: 100.2.167.42#1 trigger_error() called at [/home/teer/public_html/includes/classes/db/mysql/query_factory.php:171]
#2 queryFactory->show_error() called at [/home/teer/public_html/includes/classes/db/mysql/query_factory.php:143]
#3 queryFactory->set_error() called at [/home/teer/public_html/includes/classes/db/mysql/query_factory.php:270]
#4 queryFactory->Execute() called at [/home/teer/public_html/admin/includes/functions/database.php:51]
#5 zen_db_perform() called at [/home/teer/public_html/admin/categories.php:103]
--> PHP Fatal error: 1364:Field 'categories_promotion_id' doesn't have a default value :: insert into categories (sort_order, parent_id, date_added) values ('0', '0', now()) ==> (as called by) /home/teer/public_html/admin/includes/functions/database.php on line 51 <== in /home/teer/public_html/includes/classes/db/mysql/query_factory.php on line 171.
the files in question have not been touched.
Thanx
Mike