Support

Home Forums Event Espresso Premium WARNING:array_pop() expects parameter 1 to be array, in CommandBus.php line 119

WARNING:array_pop() expects parameter 1 to be array, in CommandBus.php line 119

Posted: August 3, 2016 at 4:20 am

Viewing 1 reply thread


Scene Club

August 3, 2016 at 4:20 am

Hi,

EE just updated to latest Version 4.9.6.p

But warning error is being displayed under the page: /registration-checkout/#checkout

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

– also wpconfig already has define(‘WP_DEBUG’, false)


Tony

  • Support Staff

August 3, 2016 at 4:34 am

Hi there,

We are aware of this and will be pushing a fix for this soon.

– also wpconfig already has define(‘WP_DEBUG’, false)

If WP_DEBUF is set to false but the warning still displays then your server is set to display all errors anyway.

You can force the server to stop displaying errors by adding:

@ini_set( 'display_errors', 0 );

To your wp-config.php file or using something like this this:

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

To log all of your errors to a debug.log file within /wp-content/ and not displays any errors.

Viewing 1 reply thread

The support post ‘WARNING:array_pop() expects parameter 1 to be array, in CommandBus.php line 119’ 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