Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Can't use string ("separator") as an ARRAY ref

Quote Reply
Can't use string ("separator") as an ARRAY ref
A user is getting the following error from one of my plugins
Can't use string ("separator") as an ARRAY ref ... admin/Links/Utils.pm line 492.

Utils .pm line 492 is in the sub format_title().

All my plugin is doing at this point is displaying a simple page Unsure
I do not have access to the admin yet.

Is there a way for me to check if the templates are where they should be
without actually looking on the server? :-)

I do know that the template that should be displayed has a crumb on it...
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>

And in my script, this is what displays the page...
print Links::SiteHTML::display('zipcode_search', { main_title_loop => Links::Build::build('title', Links::language('ZIP_SEARCH'), "$CFG->{db_cgi_url}/zipcode_search.cgi") });

Any suggestions are appreciated

Thank you,
Chris
RGB World, Inc. - Software &amp; Web Development.
rgbworld.com
Subject Author Views Date
Thread Can't use string ("separator") as an ARRAY ref rgbworld 2052 Jul 24, 2006, 8:06 PM
Thread Re: [rgbworld] Can't use string ("separator") as an ARRAY ref
brewt 1979 Jul 24, 2006, 8:17 PM
Post Re: [brewt] Can't use string ("separator") as an ARRAY ref
rgbworld 1955 Jul 26, 2006, 10:53 PM