After installing new version I couldn't run update.php, white screen appeared. On modules page I get this error:

Fatal error: Cannot redeclare ctools_node_content_type_render() (previously declared in /mysite/htdocs/sites/all/modules/ctools/plugins/content_types/node/node.inc:37) in /mysite/htdocs/sites/all/modules/ctools/plugins/content_types/node/node.inc on line 94

Returned back to 1.3

Comments

sandino’s picture

Title: Problem with new version » Problem with new version (6.x-1.4)

After downgrading to 1.3 I can't open modules page as well

This message appears:
Fatal error: Cannot redeclare ctools_node_form_attachments_content_type_render() (previously declared in /mysite/htdocs/sites/all/modules/ctools/plugins/content_types/node_form/node_form_attachments.inc:19) in /mysite/htdocs/sites/all/modules/ctools/plugins/content_types/node_form/node_form_attachments.inc on line 37

sandino’s picture

I deleted ctools module from system table and installed it again (1.4 version).
I also upgraded panels module.

It seems to work now.

venusrising’s picture

Fatal error: Call to undefined function panels_print_layout() in /home/site/html/sites/all/modules/views_bonus/panels/views_bonus_panels.module on line 20

I cannot access the site now so I am not sure if this is CTools views or panels

cledman’s picture

Try run update.exe
I had to do that for the update to happen.

But this update was toooo bad for me. It removed the PAGES that I configured with panels.

I decided to go back and continue using the previous version of ctools and panels until I have time to look for more information.

rzelnik’s picture

I have received this error after upgrade to 6.x-1.4:
Fatal error: Class name must be a valid object or a string in /(path to my web root)/sub/oa/profiles/openatrium/modules/contrib/purl/purl.module on line 844

Downgrade to 6.x-1.3 solved it.

zoltán balogh’s picture

Same problem: Fatal error: .../profiles/openatrium/modules/contrib/purl/purl.module on line 844

markus_petrux’s picture

Priority: Normal » Critical

We're also affected by this issue. We were running dev versions of ctools and panels, and same problem. Also tried the recently release stable versions of both modules, and also same problem. Clearing cache tables do not seem to fix anything.

It looks like something is doing require/include rather than require_once/include_once.

Setting to critical because the site is broken with latest "stable" versions of ctools/panels.

markus_petrux’s picture

Priority: Critical » Normal

Restarting Apache fixed the issue! :D

Back to normal, but it could probably be changed to fixed.

sdboyer’s picture

@rzelnik #5 - that is PURL's issue, they need to upgrade to keep up with the plugin system. Until then, though, yes, you'll probably have to run the older version.

@venusrising #3 - see #804336: Fatal error: Call to undefined function panels_print_layout() - views_bonus uses this really old, crufty function.

leaving this open to attract other potential problems to it.

sdboyer’s picture

Project: Chaos Tool Suite (ctools) » Persistent URL
Version: 6.x-1.4 » 6.x-1.x-dev

Actually gonna pop this over to PURL to make sure they see it.

Melissamcewen’s picture

Yep, here too:
Fatal error: Class name must be a valid object or a string in /home/XXX/htdocs/sites/all/modules/purl/purl.module on line 844
Downgrade to 6.x-1.3 at least removed the error, but I had to restore from a backup database because a bunch of stuff dependent on purl seemed messed up

jmiccolis’s picture

Status: Active » Fixed

I've just rolled a release: http://drupal.org/node/804644

Setting this to fixed, but please re-open if the issues persist.

Status: Fixed » Closed (fixed)

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