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

Very odd :/ "Cant use string..." error...

Quote Reply
Very odd :/ "Cant use string..." error...
Mmm.. anyone see my stupid mistake here (LinksSQL 2.2.0)?

Code:
my $opts = Links::Plugins->get_plugin_user_cfg('Mirago_XML_Feed');
my $active = $opts->{'Active'};
my $affil_id= $opts->{'Mirago_Affiliate_ID'};

It keeps on spewing up;

Quote:
Can't use string ("1831") as a HASH ref while "strict refs" in use at /home/linkssql/linkssql.net/cgi-bin/admin/Links/User/Search.pm line 66.

As soon as I comment out those lines, it doesn't give me a fatal error Unimpressed

Anyone got any ideas?

BTW.. "1831" should be held in $opts->{'Mirago_Affiliate_ID'}

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Very odd :/ "Cant use string..." error... Andy 1332 Jul 16, 2004, 9:17 AM
Post Re: [Andy] Very odd :/ "Cant use string..." error...
Andy 1278 Jul 19, 2004, 8:19 AM