- First commit to issue fork.
db_insert('custom_menu_link_data')
->fields(array('route_parameters', 'route_name'))
->values(array(array(), 'test'))
->execute();
/*
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that [31;40m[1m[error][0m
corresponds to your MySQL server version for the right syntax to use near ' 'test')' at line 1: INSERT INTO
{custom_menu_link_data} (route_parameters, route_name) VALUES (, :db_insert_placeholder_1); Array
(
[:db_insert_placeholder_1] => test
)
*/
Check before the insert for the scalarness.
Active
11.0 🔥
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.