Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Visforms vs PHP7

More
8 years 4 months ago #3184 by ferino
Visforms vs PHP7 was created by ferino
Hello,
I have visforms v3.7.6
I updated PHP to v7.0.2
Now I get error:
"Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgVisformsSpambotCheckImpl has a deprecated constructor in /home/az015800/www_domy_na_kluc_eu/plugins/visforms/spambotcheck/spambotcheck/spambotcheckimpl.php on line 22"

More
8 years 4 months ago #3185 by Administrator AV
Replied by Administrator AV on topic Visforms vs PHP7
Hi ferino,

thanks for that information.
I have not tested with php 7 yet but that is really old legacy code which should be fixed.

Could you please open the file plugins/visforms/spambotcheck/spambotcheck/spambotcheckimpl.php

Find the following code at line 51
Code:
public function plgVisformsSpambotCheckImpl(&$plgParams, $sEmail, $sIP, $sUsername) {

Replace it with
Code:
public function __construct(&$plgParams, $sEmail, $sIP, $sUsername) {

This should solve the problem.
Please let me know, if this solves the problem.
I will add the changes to the Visforms core then and they will be released with the next Visforms release.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
8 years 4 months ago #3186 by ferino
Replied by ferino on topic Visforms vs PHP7
Super, now its OK.
Thank you very much.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum