*** Note for staff : could you move this post to Paul's user filering plugin discussion please. ***
Paul,
I'm getting an error that looks as if it is coming from the blockuser.pm file ?
How I get the error : On a public available message I created a link to a group only available message (obviously people who are authenticated don't get the error). When guests click on the link they get the log in page with a normal error message asking them to log-in to see the page followed further down the page by the below error.
The error message : A fatal error has occurred:
Can't use an undefined value as an ARRAY reference at /localpath_to/cgi-bin/admin/Plugins/GForum/Block_User.pm line 39.
Please enable debugging in setup for more details.
Stack Trace
======================================
GForum (22316): Plugins::GForum::Block_User::flat called at /localpath_to/cgi-bin/admin/GT/Plugins.pm line 118 with no arguments.
GForum (22316): GT::Plugins::dispatch called at /localpath_to/cgi-bin/admin/GForum.pm line 239 with arguments
(GT::Plugins, /localpath_to/cgi-bin/admin/Plugins/GForum, do_post_view_flat, CODE(0x11fcac), post_view_flat).
GForum (22316): GForum::_plg_do_func called at /localpath_to/cgi-bin/admin/GForum.pm line 230 with arguments
(post_view_flat).
GForum (22316): GForum::__ANON__ called at /localpath_to/cgi-bin/admin/GT/Plugins.pm line 108 with arguments
(post_view_flat).
GForum (22316): GT::Plugins::dispatch called at /localpath_to/cgi-bin/admin/GForum.pm line 230 with arguments
(GT::Plugins, /localpath_to/cgi-bin/admin/Plugins/GForum, do_func, CODE(0x29a18c), post_view_flat).
GForum (22316): GForum::do_func called at /localpath_to/cgi-bin/admin/GForum/Post/View.pm line 43 with arguments
(post_view_flat).
GForum (22316): GForum::Post::View::view called at /localpath_to/cgi-bin/admin/GForum.pm line 275 with arguments
(GForum::Post::View, post_view, HASH(0x3a0ab0)).
GForum (22316): GForum::_plg_do_func_2 called at /localpath_to/cgi-bin/admin/GForum.pm line 239 with arguments
(post_view).
GForum (22316): GForum::__ANON__ called at /localpath_to/cgi-bin/admin/GT/Plugins.pm line 108 with arguments
(post_view).
GForum (22316): GT::Plugins::dispatch called at /localpath_to/cgi-bin/admin/GForum.pm line 239 with arguments
(GT::Plugins, /localpath_to/cgi-bin/admin/Plugins/GForum, do_post_view, CODE(0x11fcac), post_view).
GForum (22316): GForum::_plg_do_func called at /localpath_to/cgi-bin/admin/GForum.pm line 230 with arguments
(post_view).
GForum (22316): GForum::__ANON__ called at /localpath_to/cgi-bin/admin/GT/Plugins.pm line 108 with arguments
(post_view).
GForum (22316): GT::Plugins::dispatch called at /localpath_to/cgi-bin/admin/GForum.pm line 230 with arguments
(GT::Plugins, /localpath_to/cgi-bin/admin/Plugins/GForum, do_func, CODE(0x29a18c), post_view).
GForum (22316): GForum::do_func called at /localpath_to/cgi-bin/gforum.cgi line 106 with arguments
(post_view).
GForum (22316): main::main called at /localpath_to/cgi-bin/admin/GT/Plugins.pm line 108 with no arguments.
GForum (22316): GT::Plugins::dispatch called at /localpath_to/cgi-bin/gforum.cgi line 22 with arguments
(GT::Plugins, /localpath_to/cgi-bin/admin/Plugins/GForum, main, CODE(0x31b48c)).
System Information
======================================
Perl Version: v5.6.1
Gossamer Forum Version: 1.1.8
GForum.pm version: 1.118
GT::SQL Version: 1.099
GT::Template Version: 2.084
DBI.pm Version: 1.30
@INC =
/localpath_to/cgi-bin/admin
/usr/local/lib/perl5/5.6.1/sun4-solaris
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.00503
/usr/local/lib/site_perl
.
Does this give you an idea of what is going on or do you need more info ??
John
Significant Media