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.

Wichtig Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 20. Dezember 2024 bis zum 8.Januar 2025 mit verlängerten Antwortzeiten zu rechnen.

4 arguments are required, 3 given

Mehr
1 Jahr 9 Monate her #8985 von zegenrijk
4 arguments are required, 3 given wurde erstellt von zegenrijk
Hello,

Opening a field and save it, no problem. Now i delele a option in de option list in this field. Saving -> Error: 4 arguments are required, 3 given

How to solve?

Joomla 4.2.8 Visforms 4.21

Regards Michel

Mehr
1 Jahr 9 Monate her #8988 von Administrator IV
Administrator IV antwortete auf 4 arguments are required, 3 given
Hello zegenrijk,

I assume the following is the case.
A Visforms external plugin participates in the event system.
The external plugin can participate in the role of 'Event Sender' and/or 'Event Receiver'.
It uses the wrong number of event parameters.

A detailed PHP error report would be very helpful for us (the whole call stack with all the information).
To get a verbose PHP error report, enable maximum debugging in the Joomla administration before reproducing the error:

Dashboard --> Global Configuration, tab 'System', parameter 'Debug System' = 'Yes'
Dashboard --> Global Configuration, tab 'Server', parameter 'Error Reporting' = 'Maximum'

Kind regards, Ingmar

: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 :-).

Mehr
1 Jahr 9 Monate her #8990 von zegenrijk
zegenrijk antwortete auf 4 arguments are required, 3 given
Ok, i enabled debug/reporting and doing the same thing as yesterday, the option is deleted and there is no error. Solved....but why ?? there was a problem yesterday is a big ? Tryed it yesterday in many different ways.

Thank you for the quick response
Regards Michel

Mehr
1 Jahr 9 Monate her #8992 von zegenrijk
zegenrijk antwortete auf 4 arguments are required, 3 given
Ok, now i'm deleting another option, same error.....i see no php error, only this on the screen:

Er heeft zich een fout voorgedaan.
0 4 arguments are required, 3 given
Call stack
# Function Location
1 () JROOT/libraries/src/Language/Text.php:283
2 sprintf() JROOT/libraries/src/Language/Text.php:283
3 Joomla\CMS\Language\Text::sprintf() JROOT/administrator/components/com_visforms/helpers/visformsconditions.php:314
4 VisformsConditionsHelper::removeDeletedOptionsDependencies() JROOT/administrator/components/com_visforms/src/Model/VisfieldModel.php:454
5 Visolutions\Component\Visforms\Administrator\Model\VisfieldModel->save() JROOT/libraries/src/MVC/Controller/FormController.php:676
6 Joomla\CMS\MVC\Controller\FormController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:672
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
8 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
13 require_once() JROOT/administrator/index.php:32

I find this in the server log: [Wed Mar 01 10:36:48.120450 2023] [proxy_fcgi:error] [pid 460:tid 139751574591232] [client 86.92.225.208:51380] AH01071: Got error 'PHP message: PHP Warning: Undefined variable $fid in /home/bakkers17/domains/bakkersuikerbuik.nl/public_html/administrator/components/com_visforms/layouts/form/items_batch_copy_footer.php on line 22', referer: bakkersuikerbuik.nl/administrator/index....view=visfields&fid=1

Mehr
1 Jahr 9 Monate her - 1 Jahr 9 Monate her #8993 von Administrator IV
Administrator IV antwortete auf 4 arguments are required, 3 given
Hello zegenrijk,

Thank you for the PHP call stack.
That has helped us a lot.

The error is caused by an incorrect translation text in the Dutch language: COM_VISFORMS_OPTION_TOGGLES_DISPLAY.
I assume that you have Dutch set.

Explanation:

P1 - The English translation in the file:
administrator/language/en-GB/com_visforms.ini
says in the following line 498:
Code:
COM_VISFORMS_OPTION_TOGGLES_DISPLAY="Notice: You deleted an option from the option list of field \"%s\" which was used to toggle the display of the field \"%s\". The conditional settings in the depending field were corrected by automatic action."

P2 - The Dutch translation in the file:
administrator/language/nl-NL/com_visforms.ini
says in the following line 499:
Code:
COM_VISFORMS_OPTION_TOGGLES_DISPLAY="Notitie: U heft het item met id \"%s\" in the option lijst van het veld \"%s\" verwijderd. Deze option was used om de weegave van het veld \"%s\" te verwisselen . As a deze optie de some optie was om de weergave van het afhankelijke veld te wisselen, dan wordt dit veld nooit meer gotoond."

Correct: P1 contains the expression \"%s\" twice.
Wrong: In P2 there are 3 expressions \"%s\".

Therefore, P2 leads to the runtime error when called:
4 - 3 = 1 missing parameter.
You are obviously the first exquisite user to see this language string since the Dutch translation was last changed.

Questions and requests to you:

Q1 - Can you correct the Dutch translation to match the English in spirit and number (\"%s\")?
Q2 - Can you transfer the new translation from Q1 to the following file in your backend?
file = administrator/language/nl-NL/com_visforms.ini
Q3 - Does the error persist?
Q4 - Can you provide us the new translation from Q1 here?

We would then update and exchange the download package for the Dutch translation (visforms-language-nl-NL_j4.zip) as well.

Kind regards, Ingmar

: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 :-).
Letzte Änderung: 1 Jahr 9 Monate her von Administrator IV.

Mehr
1 Jahr 9 Monate her #8994 von zegenrijk
zegenrijk antwortete auf 4 arguments are required, 3 given
Thank you, solved!

COM_VISFORMS_OPTION_TOGGLES_DISPLAY="Notitie: U heeft een optie verwijderd uit de optielijst van het veld \"%s\" welke werd gebruikt om de weergaven van het veld \"%s\" in te schakelen. De voorwaardelijke instellingen in het afhankelijke veld zijn gecorrigeerd door automatische actie."

(note: i can also send the complete file, let me now how to send it to you)

Regards Michel

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum