При добавлении Tags Fatal error: Uncaught Exception: Mysql error:: 1048
Posted: Mon Sep 05, 2022 9:38 am
Здравствуйте! При добавлении tags выдает ошибку:
Fatal error: Uncaught Exception: Mysql error:: 1048 (Column 'tag_name' cannot be null) (db_link) in query insert into rot_tags (`tag_name`, `status`) values (null, 'active'). ( domain.com) in /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php:140 Stack trace: #0 /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php(198): db_error('insert into rot...', 1048, 'Column 'tag_nam...', 'db_link') #1 /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php(323): db_query('insert into rot...', 'db_link') #2 /home/sites/sites/ domain.com/rttyh/admin/files/rot_tags.php(12): db_perform('rot_tags', Array, 'insert') #3 /home/sites/sites/ domain.com/rttyh/admin/index.php(329): unknown() #4 {main} thrown in /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php on line 140
Подскажите пожалуйста как поправить
Fatal error: Uncaught Exception: Mysql error:: 1048 (Column 'tag_name' cannot be null) (db_link) in query insert into rot_tags (`tag_name`, `status`) values (null, 'active'). ( domain.com) in /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php:140 Stack trace: #0 /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php(198): db_error('insert into rot...', 1048, 'Column 'tag_nam...', 'db_link') #1 /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php(323): db_query('insert into rot...', 'db_link') #2 /home/sites/sites/ domain.com/rttyh/admin/files/rot_tags.php(12): db_perform('rot_tags', Array, 'insert') #3 /home/sites/sites/ domain.com/rttyh/admin/index.php(329): unknown() #4 {main} thrown in /home/sites/sites/ domain.com/rttyh/includes/db_modules/mysql.php on line 140
Подскажите пожалуйста как поправить