Hi all, I upgrade my pf from 4.5 to 4.6 but now I get this error in captive
portal, this message is showing after login:

Caught exception in captiveportal::Controller::CaptivePortal->unknownState
"Can't use string ("0") as a HASH ref while "strict refs" in use at
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/CaptivePortal.pm
line 337."

And line 444 too.

In the file CaptivePortal.pm (Lines 337 and 444):

   if( pf::SwitchFactory->hasId($node->{last_switch}) ){
            $switch =
pf::SwitchFactory->getInstance()->instantiate($node->{last_switch});

But I dont know whats happening.
I use Inline enforcement and in 4.5 everything was working fine.

Att.

*Sandro Wambier*

*Wambier.net - Soluções em TI.*
*Be free, use Linux.*
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to