Support

Home Forums Event Espresso Premium Problems with update WordPress 5.1.1 + Event Espresso 4.9.79

Problems with update WordPress 5.1.1 + Event Espresso 4.9.79

Posted: April 4, 2019 at 6:03 am

Viewing 8 reply threads


efransen

April 4, 2019 at 6:03 am

Hi,
after updaten WP core + plugins, I get php-errors when visiting the EE-events. Any suggestions here?
Warning: extract() expects parameter 1 to be array, null given in…
Warning: implode(): Invalid arguments passed in…. /single-espresso_events.php on line 26

Thanks in advanced


efransen

April 4, 2019 at 6:05 am

This reply has been marked as private.


Josh

  • Support Staff

April 4, 2019 at 6:54 am

Hi,

Per the additional information in your private reply, I checked your site’s active theme’s single-espresso_events.php file and I can report back that you have some out of date code in that template file that does not sync up with the current version of the bridge theme.

What you could do is compare the parent’s theme’s single.php file to your custom single-espresso_events.php template located in the child theme and update the helper functions accordingly.

For example, the parent theme has this on line 1:
<?php extract(bridge_qode_get_blog_single_params()); ?>

the child theme has this:
<?php extract(qode_get_blog_single_params()); ?>

The parent theme has this on line 22:
<div <?php bridge_qode_class_attribute(implode(' ', $single_class)) ?>>

the child theme has:
<div <?php qode_class_attribute(implode(' ', $single_class)) ?>>

In both cases it will probably help to update single-espresso_events.php so its included functions match closely what’s in the parent theme’s single.php


efransen

April 4, 2019 at 7:33 am

Josh, you made my day! That works just fine!


efransen

April 4, 2019 at 7:33 am

Josh, you made my day! That works just fine!


efransen

April 4, 2019 at 7:48 am

One quick question: I would like to hide post meta info on EE4-events, such as date, author and title.
To add this code in my child template css won’t work:

.espresso_events .post-info {
display: none;
}

Any suggestions here?
Thanks in advanced!


Tony

  • Support Staff

April 4, 2019 at 8:08 am

You need to change the above to use:

.espresso_events .post_info

Rather then

.espresso_events .post-info

Then it should work fine.


efransen

April 4, 2019 at 2:28 pm

Perfect!


Tony

  • Support Staff

April 5, 2019 at 9:21 am

Great, I’m glad that worked.

If you haven’t done so already, I’d recommend removing the user account you created for us earlier. We don’t save user details for longer than needed and I’ll be removing the details above after this reply.

(Note that if we need login credentials to view the problem we recommend using THIS form rather than posting credentials to the forum, although we generally don’t work directly on a site without a support token)

Viewing 8 reply threads

The support post ‘Problems with update WordPress 5.1.1 + Event Espresso 4.9.79’ 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