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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

roflcopterDorrie’s picture

roflcopterDorrie’s picture

Status: Active » Needs review
mrded’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Needs review » Fixed

Committed, thanks for your help!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.