Page 1 of 1

Company Directory FE edit template fatal error

Posted: Wed Mar 23, 2011 3:31 am
by wazman21
Hi all, I'm hoping somebody can help me out here, as I'm racking my brain at this stage! The part of my code below in the fe_edit template for company directory is throwing the following error:

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}
ERROR:
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

Re: Company Directory FE edit template fatal error

Posted: Mon Apr 04, 2011 2:43 am
by wazman21
bump, anyone have any insight?