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.

Comments

Anonymous’s picture

Assigned: Unassigned »
Category: bug » task
Priority: Normal » Minor
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']);

gloscon’s picture

Assigned: » Unassigned
Anonymous’s picture

Status: Fixed » Closed (fixed)

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