- Posts: 32
- Thank you received: 0
CRITICAL ERROR - Call to a member function getName() on null
- Luca De Matteis
- Topic Author
- Offline
- Junior Member
-
Less
More
6 years 8 months ago #119135
by Luca De Matteis
CRITICAL ERROR - Call to a member function getName() on null was created by Luca De Matteis
- James Riley
-
- Offline
- Platinum Member
-
6 years 8 months ago #119137
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic CRITICAL ERROR - Call to a member function getName() on null
A couple of things you can check while you wait for the Devs to see your post:
1) Do you have any overrides created in /Templates/*YOUR*TEMPLATE*/html/com_eventbooking/? Rename this com_eventsbooking folder and test to see if that fixes the problem. If it does, then you'll have to narrow down which override.
2) On my site, payment options looks like it loads after Final Cost. Check each of your payment plugins to make sure that the proper info in entered in each one. Maybe an update accidentally cleared some info or new info is required. Make sure you have a payment plugin(s) specified too. I can see at a code level that there are several calls to getName in various payment-related files. Do you use a custom payment plugin? Maybe that needs updating?
@Tuan will undoubtedly have better insight into specific reasons that this error could show up...
1) Do you have any overrides created in /Templates/*YOUR*TEMPLATE*/html/com_eventbooking/? Rename this com_eventsbooking folder and test to see if that fixes the problem. If it does, then you'll have to narrow down which override.
2) On my site, payment options looks like it loads after Final Cost. Check each of your payment plugins to make sure that the proper info in entered in each one. Maybe an update accidentally cleared some info or new info is required. Make sure you have a payment plugin(s) specified too. I can see at a code level that there are several calls to getName in various payment-related files. Do you use a custom payment plugin? Maybe that needs updating?
@Tuan will undoubtedly have better insight into specific reasons that this error could show up...
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Luca De Matteis
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
6 years 8 months ago #119138
by Luca De Matteis
Replied by Luca De Matteis on topic CRITICAL ERROR - Call to a member function getName() on null
Thanks a lot, my customer disabled all payments plugins...so mark this topic as SOLVED
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 8 months ago #119145
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic CRITICAL ERROR - Call to a member function getName() on null
Great. Thanks Luca for confirming that it's solved and thanks James for help answering the questions
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Matt Baxter
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
2 years 4 months ago #156915
by Matt Baxter
Replied by Matt Baxter on topic CRITICAL ERROR - Call to a member function getName() on null
Thanks guys. Had the same error and it was due to having no plug published.
Please Log in or Create an account to join the conversation.
- Nicole Warner
- Offline
- Junior Member
-
1 day 2 hours ago - 1 day 2 hours ago #173117
by Nicole Warner
Replied by Nicole Warner on topic CRITICAL ERROR - Call to a member function getName() on null
I've now got this error on my site when I click register (individual registration):
www.germanwithnicole.com/german-tutoring
. The payment plugins are working and someone could register successfully this morning, but now although I haven't changed anything and there have been no updates, it doesn't work properly.
This is the "category" listing using the syntax {ebcategory 9} and the plugin "Content - Events Booking Category" is enabled. This is the first time I've used it, and would like to keep using it.
What shall I do?
This is the "category" listing using the syntax {ebcategory 9} and the plugin "Content - Events Booking Category" is enabled. This is the first time I've used it, and would like to keep using it.
What shall I do?
Last edit: 1 day 2 hours ago by Nicole Warner. Reason: added more info
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
21 hours 2 minutes ago #173119
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic CRITICAL ERROR - Call to a member function getName() on null
It could be something wrong with the payment plugin settings. Maybe you choose the payment methods for category/event but now it is unpublished/not available and it causes the error. Please submit a support ticket so that we can check it directly on your site and get the issue sorted
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Nicole Warner
- Offline
- Junior Member
-
7 hours 16 minutes ago #173130
by Nicole Warner
Replied by Nicole Warner on topic CRITICAL ERROR - Call to a member function getName() on null
Hi Tuan!
I checked the payment methods for the category and they hadn't yet been selected. I selected the one I need and now the error is gone and the registration form appears as expected.
Thanks for your speedy reply!
Best,
Nicole
I checked the payment methods for the category and they hadn't yet been selected. I selected the one I need and now the error is gone and the registration form appears as expected.
Thanks for your speedy reply!
Best,
Nicole
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 hours 10 minutes ago #173131
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic CRITICAL ERROR - Call to a member function getName() on null
Normally, you do not need to select payment methods in category/event. Just set Payment Methods to All Payment Methods (by default) and all published payment methods will be available for the event.
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.