Fatal error: Call to a member function get() on a non-object /captcha.php on line 118

pecata

New Member
Hello,

i just install the Fabrik captcha plug in and add it to a form and i got the message bellow.

Fatal error: Call to a member function get() on a non-object in /plugins/fabrik_element/captcha/captcha.php on line 118

i tried to sort it out on my own but nothing seems to work ot, i trace the code to line 118 and it is:
if ($this->user->get('id') != 0)
{
if ($params->get('captcha-showloggedin', 0) == 0)
{
return false;
}
}
 
Hmmm, are you sure the main Fabrik core (the extension itself) has been updated?

Use of $this->user is new in 3.3.4, the only way I can see this error happening is if the CAPTCHA plugin is at 3.3.4 but the main extension isn't.

I'd suggest doing a full update from github.

-- hugh
 
That helped.

I updated to 3.3.4 a few days ago but after the GitHub update i just did everything works like a charm.

Thanks a lot .
 
Back
Top