Error "3 arguments are required, 2 given"

  • Ulrich Wagner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 days ago #157729 by Ulrich Wagner
Error "3 arguments are required, 2 given" was created by Ulrich Wagner
Hi,When I try to configure the freshly installed eventbooking under "Configuration", the error message "3 arguments are required, 2 given" appears. After activating the debugging mode, the following errors are displayed. Can anyone provide me with a solution to this issue? 

Regards
kueppersCall stack#FunctionLocation1()JROOT/libraries/src/Language/Text.php:2832sprintf()JROOT/libraries/src/Language/Text.php:2833Joomla\CMS\Language\Text::sprintf()JROOT/plugins/editors/codemirror/layouts/editors/codemirror/element.php:674include()JROOT/libraries/src/Layout/FileLayout.php:1285Joomla\CMS\Layout\FileLayout->render()JROOT/libraries/src/Layout/LayoutHelper.php:766Joomla\CMS\Layout\LayoutHelper::render()JROOT/plugins/editors/codemirror/codemirror.php:2687PlgEditorCodemirror->onDisplay()JROOT/libraries/src/Editor/Editor.php:1948Joomla\CMS\Editor\Editor->display()JROOT/administrator/components/com_eventbooking/view/configuration/tmpl/default_custom_css.php:409include()JROOT/administrator/components/com_eventbooking/libraries/rad/view/html.php:29310RADViewHtml->loadTemplate()JROOT/administrator/components/com_eventbooking/view/configuration/tmpl/default.php:11211include()JROOT/administrator/components/com_eventbooking/libraries/rad/view/html.php:26412RADViewHtml->render()JROOT/administrator/components/com_eventbooking/libraries/rad/view/html.php:14913RADViewHtml->display()JROOT/administrator/components/com_eventbooking/view/configuration/html.php:107714EventbookingViewConfigurationHtml->display()JROOT/administrator/components/com_eventbooking/libraries/rad/controller/controller.php:33515RADController->display()JROOT/administrator/components/com_eventbooking/controller/controller.php:4216EventbookingController->display()JROOT/administrator/components/com_eventbooking/libraries/rad/controller/controller.php:28517RADController->execute()JROOT/administrator/components/com_eventbooking/eventbooking.php:4518require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7119Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7320Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:35521Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/AdministratorApplication.php:14322Joomla\CMS\Application\AdministratorApplication->dispatch()JROOT/libraries/src/Application/AdministratorApplication.php:18623Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:29424Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:6125require_once()JROOT/administrator/index.php:32
 

Please Log in or Create an account to join the conversation.

  • Ulrich Wagner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 days ago #157731 by Ulrich Wagner
Replied by Ulrich Wagner on topic Error "3 arguments are required, 2 given"
Sorry, the copied error table of the debugging mode has changed its position and is hardly to read. I have made a screenshot and attached it.
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 2 days ago #157732 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error "3 arguments are required, 2 given"
Hello

I guess this error happens because you updated your site from Joomla 3 to Joomla 4 but forgot to update language package for your language

Please make sure you update language package for your language and the error will be gone

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Ulrich Wagner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 days ago #157747 by Ulrich Wagner
Replied by Ulrich Wagner on topic Error "3 arguments are required, 2 given"
Thank you for your answer. 

No, it was not the language file. I installed it again, but the error message appeared again.
Now I  uninstalled Eventbooking completely including the language file and all the plugins and deleted also the corresponding tables in the database. Then I installed eventbooking + language file again. The error was gone. Fine.
Then I want to create my first event. Categories and Event works well, but when I click on "Registrants" (and also "Mass mail") an error message appears: "Table 'dbs10653336.j25_eb_mmtemplates' doesn't exist". What does this mean?

Regards
Kueppers

Please Log in or Create an account to join the conversation.

More
2 years 1 day ago #157758 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error "3 arguments are required, 2 given"
Hello Ulrich

It is language for your Joomla site, not language for Events Booking :(

Please submit a support ticket sending me super admin account of your site. I will get this issue sorted for you

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago - 1 year 11 months ago #157832 by Rolf Walter
Replied by Rolf Walter on topic Error "3 arguments are required, 2 given"
I got the same problem:

"Table 'd03cc107.event_eb_mmtemplates' doesn't exist"

I also de-/re-installt the software, - but no effect.
Attachments:
Last edit: 1 year 11 months ago by Rolf Walter.

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #157833 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error "3 arguments are required, 2 given"
Please go to Events Booking, then Tools -> Fix Database Schema, then check it again to see if it works

Tuan

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #157834 by Rolf Walter
Replied by Rolf Walter on topic Error "3 arguments are required, 2 given"
Thanks a lot, .... fixed ...

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #157835 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error "3 arguments are required, 2 given"
Great. Thanks for confirming

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc