When I disable and uninstall toolbar and then install Administration menu with the Shortcuts module enabled I get this error after I submit some forms in the admin, I suspect maybe it is forms that clear the cache but I'm not sure. If I disable shortcuts module I no longer get the error. It happens to me on multiple sites.

Notice: Array to string conversion in menu_tree_all_data() (line 1111 of /home/abcdefg/public_html/includes/menu.inc).
Notice: Array to string conversion in _menu_build_tree() (line 1377 of /home/abcdefg/public_html/includes/menu.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 ')) ORDER BY p1 ASC, p2 ASC, p3 ASC, p4 ASC, p5 ASC, p6 ASC, p7 ASC, p8 ASC, p9 ' at line 2: SELECT ml.*, m.load_functions AS load_functions, m.to_arg_functions AS to_arg_functions, m.access_callback AS access_callback, m.access_arguments AS access_arguments, m.page_callback AS page_callback, m.page_arguments AS page_arguments, m.delivery_callback AS delivery_callback, m.tab_parent AS tab_parent, m.tab_root AS tab_root, m.title AS title, m.title_callback AS title_callback, m.title_arguments AS title_arguments, m.theme_callback AS theme_callback, m.theme_arguments AS theme_arguments, m.type AS type, m.description AS description FROM {menu_links} ml LEFT OUTER JOIN {menu_router} m ON m.path = ml.router_path WHERE (ml.menu_name IN (:db_condition_placeholder_0, )) ORDER BY p1 ASC, p2 ASC, p3 ASC, p4 ASC, p5 ASC, p6 ASC, p7 ASC, p8 ASC, p9 ASC; Array ( [:db_condition_placeholder_0] => <li class="first leaf"><a href="/node/add">Add content</a></li> <li class="last leaf"><a href="/admin/content">Find content</a></li> ) in _menu_build_tree() (line 1439 of /home/abcdefg/public_html/includes/menu.inc).

Comments

jphelan’s picture

Issue summary: View changes
jphelan’s picture

I get this on a lot of my sites and the only solution is to disable the shortcut module. Nobody else is experiencing this?

jphelan’s picture

Title: PDOException: SQLSTATE[42000]: Syntax error or access violation » Fatal error when shortcuts module is installed
Version: 7.x-3.0-rc4 » 7.x-3.0-rc5

Still having this issue with RC5

truls1502’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +postponed2w

I am sorry for no reply until now.

There are many issues regarding this module admin_menu which is a bit difficult for us to follow up since some of the issues might be already outdated, or is already fixed by the module or any other modules or itself core which means that the problem might no longer need to be fixed.

We can see that the issue has been created for a few years ago, I hope it is okay for you that I am postponing the issue, and give you around two weeks. If you still face the problem, could you tell us the step by step when until you get the error message or what is frustrated you, and a list of modules you are using related to admin_menu and a screenshot that might help us? So it makes us easier to reproduce your issue.

However, after two weeks with no feedback - we will close this issue. So in case, you noticed it after the issue is closed, do not hesitate to reopen it like and fill information which is mentioned above.

So before giving us a feedback, do you mind to test it again with our latest 7.x-3.x-dev?

Thank you for understanding! :)

truls1502’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: -postponed2w

This issue has been automatically marked as closed because it has not had recent activity after the last post.

However, if you or someone is still facing the same issue as described to the issue, could you please to re-open the issue by changing the status of the issue, and add an explanation with more details which can help us to reproduce your situation.

Again, thank you for your contributions.