Posted: December 1, 2016 at 5:37 pm
|
We get this error on some of the transaction detail pages: Fatal error: Call to a member function name() on boolean in /public_html/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Ticket.class.php on line 1090 That line is this: if ( ! $datetime instanceof \EE_Datetime ) { And the “Apply Refund” and “Apply Payment” buttons don’t work and don’t throw any errors. Any help!? |
Hi there, Was that transaction created by manually registering onto the event? If so was that through the front-end or admin?
If there is a fatal error on the page those buttons will not work, so its likely related to the above. |
|
|
The transaction was created by walking through the entire front-end process as a normal website user. The specific example we’re using to troubleshoot has a 90% off coupon applied to it, if that means anything… |
Does the event and the datetime within that event that the ticket was for still exist on the site or has it been deleted? Which payment method did you use? |
|
|
The event being registered for still exists. The datetime has been deleted! Payment method is Paypal Pro. |
That’s were the error is coming from, there is no datetime for the transaction to pull in as it has been deleted. You should not be able to deleted those datetimes if any registrations are assigned to them. I’ve reproduced this locally and created a ticket for our developers to investigate, we will post any updates in this thread. |
|
|
Thank you! |
You’re most welcome, however.. Just to be clear, even with the above fixed it will not actually ‘fix’ that registration as it has now been made on an datetime that no longer exists and should be deleted. EE should not allow you to delete Datetimes with registrations assigned to them, currently it will prevent you from removing registrations with ‘Approved’ registration but it should also prevent you if the registrations are pending payment. Currently if you do not delete datetimes within the event you should not have any further problems (in the future it is likely EE will just prevent you from deleting the datetimes with regs) |
|
Update: version 4.9.23.p is released this version will prevent deleting date times that have registrations. |
|
The support post ‘Fatal Error on Transaction Detail Page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.