Support

Home Forums Event Espresso Premium Empty Confirmation Box

Empty Confirmation Box

Posted: March 19, 2024 at 8:28 am


starnet

March 19, 2024 at 8:28 am

Hello,

I have noticed an issue on my site where some of my events show an empty confirmation box when I click the registration button. You can see this if you go to https://starnet.org/home/events/2485-paraeducator-series-friendships/ and click the green “Register” button toward the bottom of the page. Even though I get the empty confirmation box it does add the event to my cart.

By comparison, here is an event that shows a confirmation box that does have content in it. https://starnet.org/home/events/2474-region-i-and-iii-administrator-cop/ This event does show a correct confirmation pop-up.

I currently have version 5.0.18.p of EE installed on my site.

I did get an initial response from support with some trouble shooting steps. That still didn’t resolve my issue. Anything you can do to shed some light would be awesome!
Thanks


Rio

  • Support Staff

March 19, 2024 at 7:08 pm

Hello,

I tried to check it, but the event is already expired.

I have noticed an issue on my site where some of my events show an empty confirmation box when I click the registration button. You can see this if you go to https://starnet.org/home/events/2485-paraeducator-series-friendships/ and click the green “Register” button toward the bottom of the page. Even though I get the empty confirmation box it does add the event to my cart

5.0.19 is now available. Can you update your plugin to that version and let us know if you still experience any problem.

thanks


starnet

March 20, 2024 at 8:17 am

Hello,

I just now updated to the newest release of EE. I am still getting the empty confirmation box. If you go to this page. https://starnet.org/home/webinar-early-childhood-professionals/

Click the register button for this event: Transition from Early Intervention to Early Childhood Services: Roles and Responsibilities (webinar) You should see the empty confirmation box appear.

Thanks!


Tony

  • Support Staff

March 20, 2024 at 8:33 am

There is a fatal error being thrown on the ajax request:

https://monosnap.com/file/nymY0NdD91GlLVgK9HeZCOICRN5VfE

Can you check your server error logs for an error around this time? Your host will usually have a section for you to view PHP errors in your control panel.

Or, if you add this to your sites wp-config.php file:

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

I can check from here.


starnet

March 20, 2024 at 9:03 am

Hi Tony,

When I go to the error log section of my hosting site. I see two errors that popped up today:

2024-03-20 13:42:35 UTC [nginx][error] 63508#0: *1943197 openat() “/home/u6-l1amclgbqtnk/www/starnet.sgt.cait.org/public_html/.well-known/traffic-advice” failed (2: No such file or directory), client: 74.125.215.96, server: starnet.org, request: “GET /.well-known/traffic-advice HTTP/1.1”, host: “starnet.org”

2024-03-20 12:48:14 UTC [nginx][error] 63508#0: *1928302 openat() “/home/u6-l1amclgbqtnk/www/starnet.sgt.cait.org/public_html/.well-known/traffic-advice” failed (2: No such file or directory), client: 66.249.93.4, server: starnet.org, request: “GET /.well-known/traffic-advice HTTP/1.1”, host: “www.starnet.org”

Anything useful in here?


Tony

  • Support Staff

March 20, 2024 at 9:42 am

Nope, nothing in there.

Try adding the above to wp-config.php and I’ll take a look.


starnet

March 20, 2024 at 9:56 am

Hi Tony,

I have added the debug code to the WP-config file.


Sam

  • Support Staff

March 20, 2024 at 10:56 am

After adding the code, you can now check the root folder of the website through FTP or cPanel to find the debug.log file.

Please check for the file and share the error code mentioned in the file here.


Tony

  • Support Staff

March 20, 2024 at 11:50 am

This reply has been marked as private.


starnet

March 20, 2024 at 12:00 pm

Hi Tony,

We use siteground to host this site. When I go to the file manager section of siteground. I don’t see a debug.log file there. I see something named php_errorlog. In there I see the following errors from today:

Starnet Log


Tony

  • Support Staff

March 20, 2024 at 1:48 pm

Those done point to an issue I would expect from that error.

As your using SiteGround can you add me as a collaborator so I can take a look? THat’s probably the easiest option:

https://www.siteground.co.uk/kb/can-add-collaborator-website/

The account we have with them uses support[at]eventespresso.com


starnet

March 20, 2024 at 1:56 pm

Hi Tony,

I have added you as a collaborator on siteground.

Thank you!


Tony

  • Support Staff

March 20, 2024 at 2:12 pm

Thank you.

So, this is interesting.

THis is the error your getting:


[20-Mar-2024 20:04:53 UTC] PHP Fatal error:  Uncaught Error: Call to a member function name() on null in /wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Line_Item.helper.php:391
Stack trace:
#0 /wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Line_Item.helper.php(178): EEH_Line_Item::create_ticket_line_item(Object(EE_Line_Item), Object(EE_Ticket), 1)
#1 /wp-content/plugins/event-espresso-core-reg/core/EE_Cart.core.php(265): EEH_Line_Item::add_ticket_purchase(Object(EE_Line_Item), Object(EE_Ticket), 1, false)
#2 /wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/ProcessTicketSelector.php(370): EE_Cart->add_ticket_to_cart(Object(EE_Ticket), 1)
#3 /wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/ProcessTicketSelector.php( in /wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Line_Item.helper.php on line 391

And the line in question is:

$price_desc = $price->desc() ? $price->desc() : $price->type_obj()->name();

So $price->type_obj() is returning null…. which isn’t expected.

I’ll check in with our developers on this.


starnet

March 20, 2024 at 3:31 pm

Okay! Thank you, Tony


Tony

  • Support Staff

March 20, 2024 at 3:32 pm

Are these new events or have they been on the site a while?


starnet

March 21, 2024 at 7:23 am

Hi Tony, We have been seeing this issue since the end of January. Up until then we didn’t have any reports of this behavior happening during the registration process.

Thanks,
Brandon

The support post ‘Empty Confirmation Box’ 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