Joomla 6 Notice

We are pleased to announce that all our Joomla extensions have been compatible with Joomla 6 since October 14th, 2025.

For those currently upgrading from Joomla 3 to 4: Instructions for Joomla 4 migration can be found here:

There are standalone documentations Visforms Joomla 4, Visforms Joomla 5 and Visforms Joomla 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
7 years 3 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
7 years 3 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 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation fĂĽr Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: fdonna

More
7 years 3 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