Closed (fixed)
Project:
Drupal core
Version:
4.6.5
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2005 at 17:56 UTC
Updated:
2 Jan 2006 at 13:00 UTC
When I set all the default options for a page or other content type to false (uncheck "Published", "In moderation queue", "Promoted to front page", "Sticky at top of lists", and "Create new revision" in admin/node/configure/types/page) and then go to any node editing, I get the following error:
As I noticed the global variable node_options_page is a serialized string instead of serialized empty array in the database, when the default page options are unchecked.
This error appears in Drupal 4.6.3 as well.
Comments
Comment #1
archatas commentedThis error appears in 4.6.5 - 4.6.3. If you are missing some information just let me know.
Comment #2
archatas commentedAs nobody fixes this error, I have to fix it myself. Use the fix if the error bothers you too.
In the file modules/node.module insert some new lines (the fix starts at line number 1314)
You can delete the comments.
Good luck.
Comment #3
(not verified) commented