Closed (fixed)
Project:
E-Publish
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 05:22 UTC
Updated:
23 Jun 2008 at 13:32 UTC
Jump to comment: Most recent
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
Comment #1
Anonymous (not verified) commentedSolution: 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']);
Comment #2
gloscon commentedhttp://drupal.org/node/268312
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.