I have the following folder setup:
imports/panels/mini/my_panel.inc
When I enable Panels Import I am getting
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax [error]
to use near '))' at line 2: SELECT t__0.*
FROM
{page_manager_pages} t__0
WHERE (name IN ()) ; Array
(
)
in ctools_export_load_object() (line 462 of /var/www/blood-intranet/profiles/openatrium/modules/contrib/ctools/includes/export.inc)This error then appears on multiple pages afterwards, including the modules page.
Maybe I have set it up wrong, not sure, but I have attached a small patch which I have found fixes the issue for me.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | panels_import-empty-objects-2508015-2.patch | 371 bytes | roflcopterDorrie |
Comments
Comment #1
roflcopterDorrie commentedComment #2
roflcopterDorrie commentedComment #3
mrded commentedCommitted, thanks for your help!