Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Error in registration if no payment plugin activat

  • Stephan Herter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #103890 by Stephan Herter
As we have not decided which payment plugin to be used on our site, we need to deactivate all plugins for a while.
But we get the following error message during registration for an event if no payment plugin is activated:
Invalid Argument supplied for foreach()
Please have a look at the following file:
components/com_eventbooking/view/Register/html.php line 179

Shouldn't be a big problem to fix it.

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

More
9 years 1 month ago #103898 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error in registration if no payment plugin activat
Hello Stephan

Is your event is free or paid event? If it is a paid event, there would be at least one payment plugin published (the simplest one would be offline payment plugin)

Or you are saying that you receive this error even if the event is free? BTW, publishing one payment plugin should solve the issue

And you also should go to Events Booking -> Configuration, make sure you set Debug Mode config option set to No, too

Regards,

Tuan

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

  • Stephan Herter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #103911 by Stephan Herter
Replied by Stephan Herter on topic Error in registration if no payment plugin activat
Hello Tuan,
all events are free events. But we use tickets instead. Hence they are not really free.
You should be able to reprodude with those settings.
As described below, we need to deactivate all payment plugins.
Debug option is off.

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

More
9 years 1 month ago #103925 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error in registration if no payment plugin activat
Hi Stephan

If an event is not free, then at least one payment plugin need to be published, otherwise, it won't work

In your case, I think you can use offline payment plugin, see documentation at eventbookingdoc.joomservices.com/basic-s...gins#offline-payment

Regards,

Tuan
The following user(s) said Thank You: Stephan Herter

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

  • Stephan Herter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #103949 by Stephan Herter
Replied by Stephan Herter on topic Error in registration if no payment plugin activat
Hi Tuan,
OK, thanks.
I think that I can deal with this solution.

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

More
9 years 1 month ago #103950 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Error in registration if no payment plugin activat
Great :)

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

Moderators: Tuan Pham Ngoc