Support

Home Forums Event Espresso Premium Errors when going to checkout

Errors when going to checkout

Posted: August 2, 2016 at 10:19 pm

Viewing 2 reply threads


Daedalos Academy

August 2, 2016 at 10:19 pm

I’m getting this in Opera when I go to register for a ticket on http://daedalosacademy.com:

Warning: array_pop() expects parameter 1 to be array, object given in /home/daedalosacademy/public_html/wp-content/plugins/event-espresso-core-reg/core/services/commands/CommandBus.php on line 119

Warning: Invalid argument supplied for foreach() in /home/daedalosacademy/public_html/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php on line 873

Warning: array_pop() expects parameter 1 to be array, null given in /home/daedalosacademy/public_html/wp-content/plugins/event-espresso-core-reg/core/services/commands/CommandBus.php on line 119


ATD Cascadia Chapter

August 3, 2016 at 1:56 am

Same issue here. Warning: array_pop() expects parameter 1 to be array, object given in /home/domainname/public_html/wp-content/plugins/event-espresso-core-reg/core/services/commands/CommandBus.php on line 119

It flashes but doesn’t prevent the from page loading.


Tony

  • Support Staff

August 3, 2016 at 4:26 am

Hi there,

We are aware of this and will be pushing a fix soon, those warnings will not effect the registrations.

One thing to note is that if the Warnings are being displayed then error reporting is enabled on your server and it is set to display the errors on the page. As your sites are live it is recommend NOT to display errors but rather log them within a log file and review the file periodically for any errors being thrown.

You can do that using the snippet of code here:

https://gist.github.com/Pebblo/8787f5530ea777c84aaf62f075e55b32

If you add that to your wp-config.php file the warnings should no longer display, again we will be pushing a fix to prevent the errors in the first place but the above is good practice on your production sites.

Viewing 2 reply threads

The support post ‘Errors when going to checkout’ 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