Database Error: 1064 - что может быть причиной?
Добавлено: 04 сен 2023, 13:21
Добрый день!
Возникла ошибка (у отдельного пользователя, не у всех...) такого содержания:
Что это может значить и куда копнуть? Ошибка только у определенной роли пользователей, могу предположить, связано с каким-то доступом... Это по кнопке автоматизации такое.
Возникла ошибка (у отдельного пользователя, не у всех...) такого содержания:
Код: Выделить всё
Database Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Query: select * from app_entity_27 where id=
Page: /crm/index.php?module=items/processes&action=run&id=134&path=27-9479&redirect_to=items_info&token=TX8Kaq82xD
#0 includes/functions/database.php(87): mysqli_query(Object(mysqli), 'select * from a...')
#1 includes/classes/fieldstypes/fieldtype_php_code.php(109): db_query('select * from a...')
#2 includes/classes/fieldstypes/fieldtype_php_code.php(63): fieldtype_php_code::run_code('99', 552, 4545, NULL)
#3 includes/classes/fields_types.php(1131): fieldtype_php_code::run('99', 552, NULL)
#4 includes/classes/items/subentity_form.php(434): fields_types::update_items_fields('99', 552)
#5 includes/classes/items/subentity_form.php(360): subentity_form->save_form_post(Array)
#6 includes/classes/fieldstypes/fieldtype_subentity_form.php(340): subentity_form->save_form()
#7 includes/classes/fields_types.php(1134): fieldtype_subentity_form::update_items_fields('27', 9515)
#8 plugins/ext/classes/processes/processes.php(1209): fields_types::update_items_fields('27', 9515)
#9 modules/items/actions/processes.php(39): processes->run(Array, 0)
#10 index.php(20): require('/var/www/stumpf...')
#11 {main}