After updating the module to the 7.x.1.10 the following error is appearing in my logs on every page load:
DOException: SQLSTATE[HY000]: General error: 25 column index out of range: INSERT INTO {menu_router} (path, load_functions, to_arg_functions, [error]
access_callback, access_arguments, page_callback, page_arguments, delivery_callback, fit, number_parts, context, tab_parent, tab_root, title, title_callback,
title_arguments, theme_callback, theme_arguments, type, description, position, weight, include_file) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?); Array
(
[0] => admin/config/media/image-styles/import
[1] =>
[2] =>
[4] => a:0:{}
[5] => drupal_get_form
[6] => a:1:{i:0;s:30:"image_styles_admin_import_form";}
[7] =>
[8] => 31
[9] => 5
[10] => 1
[11] => admin/config/media/image-styles
[12] => admin/config/media/image-styles
[13] => Import style
[14] => t
[15] =>
[16] =>
[17] => a:0:{}
[18] => 388
[19] => Import an image style.
[20] =>
[21] => 3
[22] => sites/all/modules/contrib/imagecache_actions/image_styles_admin/image_styles_admin.inc
[3_0] => image_styles_admin_access
)
in _menu_router_save() (line 3901 of /web/includes/menu.inc).
The site cannot clear / update its menu cache because of this error.
Downgrading to the 1.9 version seems solve the problem.
I'm using the sqlite database backend.
Comments
Comment #2
fietserwinI found a similar issue under #1055774: Postgres and SQLite incompatibility. Seems to err only on sqlite.
Can you test by changing line 51 of image_styles_admin.module to not be an array:
If that is indeed the problem I will release a new version.
Comment #3
felubraYes, I can confirm that this solved the issue.
Thanks!
Comment #5
fietserwinCommitted and fixed. Thanks for reporting and testing.