After I enter all my recipe information and try and preview or post it, I get forwarded to a blank page and the article is not written to the sql database

Comments

bews’s picture

grabbed this out of my httpd error logs

PHP Fatal error: Cannot use string offset as an array in /var/www/html/modules/filter.module on line 842

Hope that helps

loganbear’s picture

The format error can be fixed by modifying the recipe_form function. Near the end is the line:

return array_merge($form, filter_form($node->format));

Replace it with:

$form['format'] = filter_form($node->format);
bews’s picture

Thanks for that .. but now I get

warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /var/www/html/modules/node.module on line 1605.

at the top of my page

bews’s picture

fixed

just added a $return $form; after that line

marble’s picture

Assigned: Unassigned » marble

Could you try this with a CVS version from at least 2006-07-30 and let me know if it still happens please?

bews’s picture

Will do .. it'll have to wait a couple of days though

Cheers

marble’s picture

Any update?

green monkey’s picture

closed on age - if request still active - please resubmit

green monkey’s picture

Status: Active » Closed (fixed)