Home › Forums › Ticket Products › Event Tickets Plus › 500 internal server error
- This topic has 11 replies, 5 voices, and was last updated 10 years, 4 months ago by
Leah.
-
AuthorPosts
-
December 18, 2015 at 4:15 pm #1043855
Roberto
Participantcannot add tickets to Event page. When I add an event, then I add a woocommerce ticket. Save ticket. Then i go to publish and an error occurs. I get an internal server 500 error.
The page will not show after reloading.
December 19, 2015 at 2:55 pm #1044173Venessa
ParticipantI get this as well!
I have:
Events Calendar Pro 4.0.2
Event Tickets Plus 4.0.2
All plugins and WordPress is up-to-date.Any help appreciated!
Venessa
December 19, 2015 at 4:10 pm #1044176Venessa
ParticipantI get a fatal PHP error mentioning return value issues in cancelled.php on line 51. Here, I find references to ticket_id.
I also have Events Manager installed, could there be some kind of ticket_id clash here?
December 20, 2015 at 2:55 pm #1044432brooke
ParticipantI also have an issue.
I get this error message when i try to add a ticket:
Fatal error: Can’t use function return value in write context in /home/courageo/public_html/wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Orders/Cancelled.php on line 51
Please help! I can’t schedule ticketed events.
December 21, 2015 at 6:33 am #1044725Venessa
ParticipantJust removed the other events plugin and still got the same error. Please help!!
December 21, 2015 at 11:18 am #1044814Nico
MemberHi Folks,
Thanks for reaching out and sorry to hear about you experiencing this issue ๐
We are aware this is happening in versions less than PHP 5.5, this error is occurring due to the incorrect use of the empty function. A fix for this will be shipped in upcoming maintenance release 4.0.3 coming out really soon.
In this file event-tickets-plus/src/Tribe/Commerce/WooCommerce/Orders/Cancelled.php on line 51 if you replace this:
if ( empty( get_post( $ticket_id ) ) ) {With this:
$ticket_post = get_post( $ticket_id );
if ( empty( $ticket_post ) ) {
That should fix the issue for now, please let me know if that works for you.
Best,
NicoDecember 21, 2015 at 11:54 am #1044826Venessa
ParticipantAh thank you!! I’ll try it now. ๐
December 21, 2015 at 12:43 pm #1044839Venessa
ParticipantAll fixed – thank you!
December 21, 2015 at 6:37 pm #1044983Nico
MemberHey Vanessa,
Thanks for confirming ๐
I’ll leave this thread open so Roberto and Brook can confirm this is working for them as well.
Best,
NicoDecember 22, 2015 at 7:32 am #1045364Roberto
ParticipantThank you. worked for me as well.
December 22, 2015 at 8:09 am #1045409Nico
MemberHey Roberto,
Thanks for confirming this also ๐
@ Brook, if this didn’t work for you please open up a new thread for the issue.
Iโll go ahead and close out this thread as the original poster (Roberto) marked this as resolved (and also because Vanessa also confirmed the fix is working).
Best,
NicoDecember 22, 2015 at 12:32 pm #1045540Leah
MemberGood news everyone!
Weโve just release a maintenance release that addresses this issue. Please look for updates to your Events plugin(s) on your site. Thank you for your patience while we worked to address the reported issues. And donโt forget to review the release notes for all the details on version 4.0.3.
While our testing shows that the new release fixes the problem reported here, sites are different and itโs possible that there are edge cases. If you are still seeing the issue after you update your plugins, please post a new thread so we can look into it further.
Thank you for your support!
Best,
Leah -
AuthorPosts
- The topic ‘500 internal server error’ is closed to new replies.
