Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Fatal error:Access level to VisformsModelVisplaceholders::$fid must be protected

Mehr
5 Jahre 3 Monate her #5931 von fdonna
Hi,
I don't know since which version it happens because I haven't been using placeholders for long time but, trying to insert a placeholder with "Visforms Placeholder" button in "Email receipt text" an error is shown in the popup:

Fatal error: Access level to VisformsModelVisplaceholders::$fid must be protected (as in class VisformsModelVisfields) or weaker in path/to/my/website/folder/administrator/components/com_visforms/models/visplaceholders.php on line 17

I'm using v3.12.5

Thank you very much
Kind regards

Mehr
5 Jahre 3 Monate her #5935 von Administrator AV
Hi,
thanks for pointing my to this but. I think this has happened between on the Visforms 3.12.x update.

It is very easy to fix and I will release a bugfix as soon as possible.

Just open the file path/to/my/website/folder/administrator/components/com_visforms/models/visplaceholders.php

Replace the code
Code:
private $fid;

at line 19 with
Code:
protected $fid;
This will fix the problem.

Regards,
Aicha

P.S. I don't know, why the line number is 17 in the error message, so maybe you find the code in line 17 in your file

: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 :-).
Folgende Benutzer bedankten sich: fdonna

Mehr
5 Jahre 3 Monate her #5937 von fdonna
Hi, I confirm that your fix works.
Thank you very much.
Kind regards

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum