Support

Home Forums Event Espresso Premium Error message on events post Split() expect parameter 2 to be string

Error message on events post Split() expect parameter 2 to be string

Posted: March 27, 2014 at 2:31 am

Viewing 1 reply thread


Michele Duke

March 27, 2014 at 2:31 am

Warning: split() expects parameter 2 to be string, object given in /home/micheled/public_html/wp-content/themes/cruz/functions.php on line 349

See here: http://micheleduke.co.uk/events/coffee-morning/

This appears in the header above the event.
I’m using wordpress 3.8.1 and EE 4.1.10.reg This is a new installation.


Tony

  • Support Staff

March 27, 2014 at 6:40 am

Hi Michele,

Event Espresso 4 uses Custom Post Types for events, these are styled via your theme and we inject our code to display things like the ticket selector through WP filters.

If you notice within the error it is referencing you themes functions.php file

Warning: split() expects parameter 2 to be string, object given in /wp-content/themes/cruz/functions.php on line 349

You’ll need to find what the theme is doing on line 349 to see why that error is thrown. I would recommend contacting the theme author to ask them to investigate.

Viewing 1 reply thread

The support post ‘Error message on events post Split() expect parameter 2 to be string’ 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