recoverable fatal error

eggthing - March 10, 2008 - 05:22
Project:E-Publish
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:minor
Assigned:Unassigned
Status:closed
Description

Here's the error message I got:

recoverable fatal error: Object of class stdClass could not be converted to string in epublish.module on line 1317.

#1

srani - June 4, 2008 - 12:53
Category:bug report» task
Priority:normal» minor
Assigned to:Anonymous» srani
Status:active» fixed

Solution: Just remove quotes around %d in the query in line 1317. The error will be solved.
eg:
db_query("INSERT INTO {epublish_section} (sid, title, vid, node_types, timeframe, layout_list, layout_page) VALUES (%d, '%s', %d, '%s', '%s', '%s', '%s')", $form_values['sid'], $form_values['title'], $form_values['vid'], implode(',', $form_values['node_types']), $form_values['timeframe'], $form_values['layout_list'], $form_values['layout_page']);

#2

gloscon - June 9, 2008 - 13:24
Assigned to:srani» Anonymous

http://drupal.org/node/268312

#3

Anonymous (not verified) - June 23, 2008 - 13:32
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.