Closed (fixed)
Project:
Content Type: Extras
Version:
7.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 13:51 UTC
Updated:
26 Nov 2011 at 16:10 UTC
Hi I received the following error as soon as I tried to change the general settings on my content types
(the setting I wanted to change was the "Publishing Options / promote to front page" )
Warning: unserialize() expects parameter 1 to be string, array given in content_type_extras_get_default() (line 325 of ....../sites/all/modules/content_type_extras/content_type_extras.module).
in order to find out the exact conflict I tried this on 2 fresh installs using both the div and version 7.x-1.4
the errors appear using both versions
Comments
Comment #1
jesss commentedI'm seeing this error as well. Also, my default settings are not being saved.
Comment #2
bocaj commentedI just committed a simple fix that should resolve this issue. Currently in dev release. Please test out the dev release and let me know if this issue is resolved.
@jesss: I am not having any issues saving default settings. Can you please try the dev release as well and let me know if you are still having issues saving your default settings?
Comment #3
stevieb commentedHi bocaj
changing "Publishing Options / promote to front page" on both a fresh install and an active site now gives the following error
Notice: Undefined index: content_type_extras_remove_body in content_type_extras_node_type_form_submit() (line 248 of .../sites/all/modules/content_type_extras/includes/content_type_extras.node_type_form.inc).
Comment #4
bocaj commented@stevieb: Thanks for reporting these issues and helping me get this all cleaned up. I just posted a new commit to the dev release that resolves your issue in #3 above. Please let me know if you run into anything else.
Thanks!