Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2010 at 10:54 UTC
Updated:
6 Dec 2011 at 23:10 UTC
Hi there.
I'm running OpenPublish, and every time I try and run cron or access some panels pages, I get the following error:
Fatal error: Class name must be a valid object or a string in /home/socialpu/public_html/sites/all/modules/ctools/includes/export.inc on line 905
I've asked in the OpenPublish group and had no response, but since it specifically references CTools I thought I'd post here.
I have tried this with and without the CTools Export module active, and it makes no difference, I just get an error whenever I try and run cron or access panels pages.
Does anyone have any idea what might be causing this?
Thanks.
Comments
Comment #1
marco88 commentedHi there,
I got what seems to be a similar issue on upgrading panels from 5.x to 6.28. The error occurs while running update.php. Looking into the watchdog logs an error on a select was raised because table panels_layout was not created.
I ran again the update.php script and the error didn't appear any more. I tested a small panel page and it worked fine.
Hope this helps,
Kind regards,
Marc.
Comment #2
bigkevracer commentedThanks Marc.
I tried that with no change.
I then tried downgrading to the version of panels that shipped with OpenPublish. I uninstalled the version I had installed, then installed the version straight out of the OpenPublish distribution (6.x-3.8), and now I get this error:
Fatal error: Call to undefined method stdClass::render() in /home/socialpu/public_html/sites/all/modules/panels/panels.module on line 1023Any more ideas?
Comment #3
nedjoSee #890634-5: Fatal error when attempting to create a topic hub for a suggested fix.
Comment #4
mohit0604 commentedHi bigkevracer
I am getting the same issue
Fatal error: Class name must be a valid object or a string in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\paniim\httpdocs\sites\all\modules\ctools\includes\export.inc on line 905
when running the drupal project from localhost
and after commenting the code in this file, I got this error : Fatal error: Call to undefined method stdClass::render()
You must have found a solution by now.
Please let me know if anyone has any solution to this problem.
Comment #5
anawillem commentedI am also getting:
Fatal error: Call to undefined method stdClass::render() in /home/dev/devsmoke/sites/all/modules/panels/panels.module on line 1023Using:
ctools 6.x-1.8
panels 6.x-3.9
Comment #6
anawillem commentedchanging issue to panels.
Comment #7
merlinofchaos commented#5 doesn't look anything like the original error. All you are accomplishing is to muddle an existing issue.
Comment #8
merlinofchaos commentedAs for the initial error, it would appear that some module is implementing export.inc API and has declared that its objects are of a class; however, when an object is loaded that class is not available. It's hard to tell, from the error message, where that might be happening, but in Drupal 6 it is going to be the responsibility of that module to ensure that its class is available.
Comment #9
anawillem commentedmerlinofchaos i agree that my changing the project on the issue was a nasty no good trick, and i love you and your work so much. so i am sorry.
the error i noted was the same error as bigkevracer #2 noted above which made me think i might be able to get in under the radar like the sneeky, sneeky dog that i am.
i have created a ticket here:
http://drupal.org/node/1312680
if you have any thoughts, which have always been helpful in the past, i would love to hear them.
thanks!
Comment #10
goofken commentedHad the same error runningOpenpublish when trying to view a Topic hub You have to activate the ctools module "Custom content panes" in module control panel.
Comment #11
nedjoDuplicate of #890634: Fatal error when attempting to create a topic hub.