error message after PayPal payment

  • Senioren Beuningen
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 11 months ago #124545 by Senioren Beuningen
error message after PayPal payment was created by Senioren Beuningen
I have just tested payment of some events through PayPal. Everything works alright; payment arrived at PayPal and the registrants are listed in EventBooking. But when I "Return to Webshop" in top of the page I see following error message:
"Notice: Trying to get property of non-object in /share/CACHEDEV1_DATA/Web/VvSB/seniorenbeuningen.joomla/components/com_eventbooking/helper/registration.php on line 3084"
When I open registration.php I find on line 3084:
"$fieldSuffix = EventbookingHelper::getFieldSuffix($row->language);"

In this case customers don't have te register for an account on my site.

What could be the cause?

Regards,

Douwe Bangma

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

More
6 years 11 months ago #124549 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic error message after PayPal payment
Hi Douwe

Honestly, I have no clue why the error happen. Do you see registration details displayed on that registration complete page?

If you still see registration details on that page, then you can just go to Events Booking -> Configuration, set Debug Mode config option to No and the warning message should be removed

Regards,

Tuan

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

  • Senioren Beuningen
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 11 months ago #124563 by Senioren Beuningen
Replied by Senioren Beuningen on topic error message after PayPal payment
Hello Tuan
Thanks for your reply. So a mistery error message and yes it was in the registration complete page.
As you adviced I disabled the Debug Mode and the message is removed.

Thanks and regards

Douwe

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

More
6 years 11 months ago #124564 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic error message after PayPal payment
OK. Thanks Douwe. Please turn off Debug Mode for now as I mentioned. I will check it myself more to see what's causing that warning and if it's a bug, I will fix it in next release of the extension

Regards,

Tuan

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

More
6 years 11 months ago #124567 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic error message after PayPal payment
It's actually cause by a small typo in the code. Please access to My Downloads menu item, download latest package, upgrade it to your site and the issue won't happen again (even with Debug Mode config option turned on - it should be Off/No anyway)

Tuan

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

Moderators: Tuan Pham Ngoc