Вылезла ошибка
Добавлено: 29 авг 2022, 13:56
Помогите что это может значить.
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '223,224) and type='fieldtype_text_pattern'' at line 1
Query: select configuration from app_fields where entities_id='25' and id in (,223,224) and type='fieldtype_text_pattern'
Page: /index.php?module=items/info&path=32-2&redirect_to=subentity&gotopage[100]=1
#0 includes/functions/database.php(87): mysqli_query(Object(mysqli), 'select configur...')
#1 includes/classes/fieldstypes/fieldtype_formula.php(241): db_query('select configur...')
#2 includes/classes/fieldstypes/fieldtype_formula.php(314): fieldtype_formula::check_formula_query_needed('218', '25', Array)
#3 includes/classes/fieldstypes/fieldtype_entity.php(321): fieldtype_formula::prepare_query_select('25', '', false, Array)
#4 includes/classes/fields_types.php(998): fieldtype_entity->output(Array)
#5 includes/classes/items/items.php(792): fields_types::output(Array)
#6 modules/items/views/info.php(191): items::render_info_box(32, 2, false, ','fieldtype_rel...')
#7 template/layout.php(157): require('/home/admin/web...')
#8 index.php(32): require('/home/admin/web...')
#9 {main}
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '223,224) and type='fieldtype_text_pattern'' at line 1
Query: select configuration from app_fields where entities_id='25' and id in (,223,224) and type='fieldtype_text_pattern'
Page: /index.php?module=items/info&path=32-2&redirect_to=subentity&gotopage[100]=1
#0 includes/functions/database.php(87): mysqli_query(Object(mysqli), 'select configur...')
#1 includes/classes/fieldstypes/fieldtype_formula.php(241): db_query('select configur...')
#2 includes/classes/fieldstypes/fieldtype_formula.php(314): fieldtype_formula::check_formula_query_needed('218', '25', Array)
#3 includes/classes/fieldstypes/fieldtype_entity.php(321): fieldtype_formula::prepare_query_select('25', '', false, Array)
#4 includes/classes/fields_types.php(998): fieldtype_entity->output(Array)
#5 includes/classes/items/items.php(792): fields_types::output(Array)
#6 modules/items/views/info.php(191): items::render_info_box(32, 2, false, ','fieldtype_rel...')
#7 template/layout.php(157): require('/home/admin/web...')
#8 index.php(32): require('/home/admin/web...')
#9 {main}