Strict standards messages and Captcha issue in AJAX Register

11 years 1 month ago - 11 years 1 month ago #7160 by Henk
Hi there,

I have two issues.

1.
I am using 2 registration forms. Both form show messages while debug is off.
Strict Standards: Only variables should be assigned by reference in /home/pkdvscmw/domains/b-onstage.nl/public_html/mid/libraries/joomla/form/form.php on line 887

Strict Standards: Non-static method JXCaptcha::getInstance() should not be called statically, assuming $this from incompatible context in /home/pkdvscmw/domains/b-onstage.nl/public_html/mid/components/com_ajaxregister/views/registration/view.html.php on line 181

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method JXCaptchaImage::test() should not be called statically in /home/pkdvscmw/domains/b-onstage.nl/public_html/mid/components/com_ajaxregister/libraries/captcha/captcha.php on line 74

2.
Captcha is showing, but when validation failes the new code is not displayed (broken link?).

How can this be solved?

Regards,
Henk

Joomla 3.1.5 Stable
PHP 5.4.16

Link to the site:
www.b-onstage.nl/mid/notifying-authority...rveillance-authority
The topic has been locked.
11 years 1 month ago #7161 by Saka
Please disable strict notices on the production site. It will solve all problems.
The stricts do not come from my component as you can see, they come from Joomla API and captcha library.

Emir Sakic
www.sakic.net
The topic has been locked.
11 years 1 month ago #7166 by Henk
Thank you for your quick respons. This solves the issues.
The topic has been locked.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch