Enabling "spaces taxonomy" with ctools in the latest version caused the following error message in all the pages of the site:

Warning: file_exists() expects parameter 1 to be string, array given in ctools_get_plugins() (line 253 of /opt/development/test/sites/all/modules/ctools/includes/plugins.inc).

I think that in general the mistake should be fixed in ctools , line 253 should be instead of

 if ((is_array($cache->data['path']) && file_exists($cache->data['path']['file'])) ||
           file_exists($cache->data['path'])) {

checking if the value is string:

 		if ((is_array($cache->data['path']) && is_string($cache->data['path']['file']) && file_exists($cache->data['path']['file'])) ||
           (is_string($cache->data['path']) && file_exists($cache->data['path']))) {

BUT- maybe the "spaces taxonomy" sends incorrect parameter and you can correct it

thanks!
Miriam

Comments

webflo’s picture

Status: Active » Closed (works as designed)
mirian’s picture

Do you mean "7.x-1.x-dev" from 22.5.2012?