Recoverable fatal error: Object of class stdClass could not be converted to string in require_once() (line 98 of ... adaptivetheme/at_core/inc/forms/at_core.submit.info.inc)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | problem.png | 61.22 KB | mathieso |
Recoverable fatal error: Object of class stdClass could not be converted to string in require_once() (line 98 of ... adaptivetheme/at_core/inc/forms/at_core.submit.info.inc)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | problem.png | 61.22 KB | mathieso |
Comments
Comment #1
techpassion commentedI have the same issue. Any update on this??
Comment #2
Jeff Burnz commentedWhat version of Adaptivetheme, I can't reproduce this on 7.x-3.x
Comment #3
mathieso commentedSame issue here.
Only happens when I upload an image.
Attached a debugging screenshot. Line 128 (where the problem is) uses $setting_value as a string. $setting_value is set in a foreach in line 118, from the $theme_settings array. In the variables list at the bottom of the screenshot, you can see that $theme_settings includes a stdClass object, $header_upload.
That might be the source of the problem. However, sometimes I have been able to upload an image without any problem.
Tried Noggin 1.1 and dev.
Using AT 7.x-3.1. Pixture Reloaded 7.x-3.0-rc1. Using a subtheme of a subtheme of Pixture Reloaded, in case that makes a difference. This has to do with using domain access to give users domain-level theme control.
BTW, Jeff - AT, Noggin, and friends are impressive pieces of work. The complexity they handle would make my brain explode. I appreciate the depth of your work.
Kieran
Comment #4
mathieso commentedThe problem:
$theme_settings['header_upload']has a file object (stdClass) in it when this line in at_core.submit.info.inc is run:So
$setting_nameis'header_upload', and$setting_valueis a stdClass object.The
foreachloop has this in it:This is the line that causes the error:
Object of class stdClass could not be converted to string.Should the file object be serialized before being being put into settings? I don't know. Grasping at straws.
Comment #5
Balbo commentedAny news?
Comment #6
jamesoakleyIs this still an issue for people? I'm not clear if this is an issue with Noggin or Adaptive Theme.
If anyone is still fighting this error, please post here with further information.
Comment #7
jamesoakleyPlease reopen with more information if this is still an issue.