Support

Home Forums Event Espresso Premium Not Able to Trash Unsold Tickets

Not Able to Trash Unsold Tickets

Posted: August 19, 2018 at 7:24 pm

Viewing 6 reply threads


zoukizbachata

August 19, 2018 at 7:24 pm

Hello,

I just realized that I cannot restrict promo codes to only some tickets of an event. We wanted the codes to apply only to the Full Pass

I was trying to work around this by creating a new event for only the tickets to which the codes don’t apply, but I found out after that I couldn’t remove the unsold tickets from the main event.

When I try to trash them, I get an HTTP ERROR 500.
“Unable to handle the request”

Is there a way we can do this? We don’t want a clutter of expired tickets on our page.

Please assist.


Tony

  • Support Staff

August 20, 2018 at 3:41 am

Hi there,

Do those tickets have any registration on them at all? If so they’ll show a value in the ‘Regs’ field.

I tested adding and removing tickets from a couple of events and didn’t run into any problems so can you add a screenshot that shows you datetime and ticket section so I can try to reproduce?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

When I try to trash them, I get an HTTP ERROR 500.
“Unable to handle the request”

Error 500 is general error shown to users when there is a fatal error happening on the server, the full error would usually be saved to the servers error logs.

Your host will usually provide a section in your control panel to view those, if you can post the full error we can investigate further.

Or, if you can’t view the errors, you can add this code to your wp-config.php file:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

That will store the errors to a debug.log file, so do the same steps to throw the error and we’ll check that file.


zoukizbachata

August 20, 2018 at 8:18 am

We talked to BlueHost support. They did not get the error, but the tickets re-added themselves after being trashed. And all they saw in the error log is this:

The recent error log for this website is : [18-Aug-2018 19:05:21 UTC] PHP Warning: getimagesize(https://zoukizbachata.com/wp-content/uploads/2017/09/LogoCZKBC-e1505595641907.png): failed to open stream: no suitable wrapper could be found in /home/zoukizba/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499

Not even sure if that’s really related to this issue. The date and time doesn’t match.

Thank you


zoukizbachata

August 20, 2018 at 8:23 am

Please also note that our host also upgraded our PHP version to 7.0.31 and the error persists.

Thank you,


Tony

  • Support Staff

August 20, 2018 at 8:30 am

We talked to BlueHost support. They did not get the error, but the tickets re-added themselves after being trashed. And all they saw in the error log is this:

If you repeat the same steps now, do you get the same error 500?

Not even sure if that’s really related to this issue. The date and time doesn’t match.

Unfortunately, it’s not, that error relates to pulling in the image for the Invoice/Receipt and usually means your server doesn’t have allow_url_fopen enabled, do the Invoice PDF’s look the same as they do when you view the HTML version?


zoukizbachata

August 20, 2018 at 8:55 am

Yes Tony. I do get the same error.

I will use the trick to hide expired events from display for now, but this is not ideal as I now need to have two ticket selectors, so that my customers are not able to apply the promo codes to the cheaper ticket types.

Feedback to EE programming team:
It would be a good idea to simply add a feature to the Promotions add-on that allows you to apply it to individual tickets only.

Also it would be neat if we could have a “Do not display” checkbox to each created ticket to work around this issue of not being able to delete, which a lot of people seem to have.

Thank you,
Miguel


Tony

  • Support Staff

August 20, 2018 at 10:28 am

Yes Tony. I do get the same error.

If you add this code:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

To your sites wp-config.php file and re-trigger the error, we can investigate further. Right now the error could be anything so we need the full error to know where to look as I can’t reproduce the problem.

I will use the trick to hide expired events from display for now, but this is not ideal as I now need to have two ticket selectors, so that my customers are not able to apply the promo codes to the cheaper ticket types.

If we know the error we can narrow down the cause and find the problem, but without the error there’s not enough information.

Feedback to EE programming team:
It would be a good idea to simply add a feature to the Promotions add-on that allows you to apply it to individual tickets only.

Thanks for the feedback, we do have adding the ticket ‘scope’ to promotions on our roadmap here:

https://trello.com/c/zCsClu98/112-promotions-add-ticket-scope-to-promotion

Also it would be neat if we could have a “Do not display” checkbox to each created ticket to work around this issue of not being able to delete, which a lot of people seem to have.

A lot of people have an issue with deleting tickets?

You can change the sell until date on the ticket to an expired date, then set the ticket selector not to display expired tickets.

Viewing 6 reply threads

The support post ‘Not Able to Trash Unsold Tickets’ 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.

Event Espresso