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 |
Jump to:
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
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
http://drupal.org/node/268312
#3
Automatically closed -- issue fixed for two weeks with no activity.