CODE:
Code: Select all
{if $categoriescount gt 0}
<div class="pagerow">
<p class="rowtext">State:</p>
<p class="rowinput">
<select name="{$actionid}cd_categories[]" multiple="multiple" size="5">
{html_options options=$categories selected=$sel_categories"}
</select>
</p>
</div>
{/if}
Catchable fatal error: Object of class stdClass could not be converted to string in XX/XX/XX/shared.escape_special_chars.php on line 22
I'm led to believe it may be a PHP version error, but I am hoping somebody has a workaround - the categories don't necessarily need to be in a list, but they won't function correctly when displayed as checkboxes (or, I can't get them to anyway).
My system details:
CMS Version
1.9.4.1
CompanyDirectory
1.8.1
Current PHP Version (phpversion):
5.2.13