[fix]
Posted: 11 Dec 2014, 19:14
this is a fix for this bug at the frontend:
file:
components/com_phocaguestbook/models/fields/phocacaptcha.php
line 47
change to
Obviously one should not use strict standards on a live website, but as 'strict' is the default on a local WAMP install you might want to fix it anyway.Strict Standards: Non-static method PhocaguestbookHelperReCaptcha::recaptcha_get_html() should not be called statically, assuming $this from incompatible context in path\components\com_phocaguestbook\models\fields\phocacaptcha.php on line 47
file:
components/com_phocaguestbook/models/fields/phocacaptcha.php
line 47
Code: Select all
$retval = '</div><div>' . PhocaGuestbookHelperReCaptcha::recaptcha_get_html($publicKey);
Code: Select all
$temp = new PhocaGuestbookHelperReCaptcha;
$retval = '</div><div>' . $temp->recaptcha_get_html($publicKey);