Hi, I’m getting the following three errors:
A PHP Error was encountered
Severity: Warning
Message: preg_split() expects parameter 2 to be string, object given
Filename: libraries/safecracker_lib.php
Line Number: 1979
———-
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: libraries/safecracker_lib.php
Line Number: 1979
————
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/vg004web03/94/79/XXXXXX/web/system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 405
Here’s the page code:
{exp:safecracker channel="section_settings" return="setup_wizard/section1_confirm/ENTRY_ID" entry_id="{segment_3}” preview=“setup_wizard/section1_enter”}
<div><label>Section Name</label><input type=“text” name=“title” id=“title” value=”{title}” size=“20” maxlength=“20”><input type=“text” name=“url_title” id=‘url_title’ value=”{url_title}” maxlength=“75” size=“50” ></div>
<div class=”{color_class}”><label>Section Color</label>{options:sec_section_color}
<input type=“radio” name=“sec_section_color” value=”{option_value}” {checked} />{option_name}</label>
{/options:sec_section_color} </div>
<div><label>Feed Address</label><input type=“text” name=“sec_rss” id=“sec_rss” value=”{sec_rss}” size=“20” maxlength=“256”></div>
{!-- <div><label>Feed Address</label><input type="text" name="{sec_rss}” id=”{sec_rss}” value=”{sec_rss}” size=“20” maxlength=“256”></div>—}
<div><label><input type=“checkbox” name=“sec_if_rss_special” value=“y” {sec_if_rss_special} />Will you include a special listing feed for this section, i.e., sports scores, movie times, stock listings, etc? </label></div>
<div><label>Feed Address</label><select name=“sec_rss_special” id=“sec_rss_special”>
{options:sec_rss_special}
<option value=”{option_value}”{selected}>{option_name}</option>
{/options:sec_rss_special}
</select>
<div><label>Special Feed Address</label><input type=“text” name=“sec_rss_special” id=“sec_rss_special” value=”{sec_rss_special}” size=“20” maxlength=“256”></div>
{!-- <div><label>Special Feed Address</label><input type="text" name="sec_rss_special" id="sec_rss_special" value="{sec_rss_special}” size=“20” maxlength=“256”></div>
<div><label>Section Order</label><select id=”{sec_order}” name=”{sec_order}”>
{options}<option value=”{option_value}”{selected}>{option_name}</option>{/options}</select></div>
<div><input type=“submit” name=“submit” value=“Submit” /></div></div><!—/.entry—>
</div><!—/.post—>
{/exp:safecracker}
Also, on this entry form, the tag values are filling in with the channel custom field instead of being blank. Thoughts on where to begin?