Closed (duplicate)
Project:
Persistent URL
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2012 at 22:00 UTC
Updated:
28 Mar 2012 at 15:16 UTC
After I installed purl and kept getting this warning in all pages:
Warning: file_exists() expects parameter 1 to be string, array given in ctools_get_plugins() (line 247 of /var/www/drupal/sites/all/modules/contrib/ctools/includes/plugins.inc).
Line 247 at plugins.inc:
if (isset($cache->data['path']) && file_exists($cache->data['path'])) {
I looked in Purl, purl.module line 958 and realizde PURL is using
$info['path'] = array(
'title' => t('Path'),
So i changed to
$info['purlpath'] = array(
'title' => t('Path'),
But I don't know if this change cause problems or not.
Comments
Comment #1
idflood commentedduplicate of #1497258: Warning: file_exists() expects parameter 1 to be string, array given in ctools_get_plugins()