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?

Call to a member function get() on null after reload success page

More
6 years 6 months ago #5485 by bugreport1234
Hi Aicha,

I get an error if I reload the form success page after submit:

Fatal error: Call to a member function get() on null in /htdocs/components/com_visforms/views/message/view.html.php on line 46

I suppose it happens because there is no menu item associated with the form.

Fix: extra check at line 46+ of components/com_visforms/views/message/view.html.php
(Default values/types might not be appropiate, I haven't checked further)
Code:
$this->showReturnLink = false; $this->returnUrl = false; $this->linkText = ''; if( ! empty($this->menu_params) ) { $this->showReturnLink = $this->menu_params->get('textresult_previouspage_link'); $this->returnUrl = $this->menu_params->get('returnurl'); $this->linkText = $this->menu_params->get('linktext'); }

Hope it helps!

More
6 years 6 months ago #5486 by Administrator AV
Hi thanks,

yeah, I noticed the problem a while ago.

This bug was fixed with Visforms 3.11.0 which is currently released as a release candidate (and therefore not available through Joomla! Update manager yet). See: www.vi-solutions.de/de/support/dokumenta...orms/release-history

If you want to update to the Visforms release candidate, you can download the latest version (3.11.2) on the download menu.

Please note, that if you have a Visforms Subscription you have to update the Visforms Subscription to version 3.2.1 release candadate, too, then. (Also available on the download menu, after you have logged in with your Subscription user).

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 :-).
The following user(s) said Thank You: marcel-visform

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum