Joomla 5 Notice

We are pleased to announce that as of October 14, 2025, all of our Joomla extensions are compatible with Joomla 6.

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

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

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?

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

More
6 years 10 months ago #5931 by 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

More
6 years 10 months ago #5935 by 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 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: fdonna

More
6 years 10 months ago #5937 by fdonna
Hi, I confirm that your fix works.
Thank you very much.
Kind regards

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum