Support

Home Forums Event Espresso Premium Error after updating theme

Error after updating theme

Posted: December 18, 2020 at 2:28 am

Viewing 11 reply threads


Fakta Kurser

December 18, 2020 at 2:28 am

I just updated my WP-theme (Lucid Themes from Elegant Themes to version 2.6.14) and I’m no longer able to access widgets or do any adjustments regarding font sizes etc.
I enclose the error-message here:

Event Espresso Calendar Widget
Title:
Calendar

Display Expired Events?
Fatal error: Uncaught Error: Call to undefined function select_input() in /var/www/faktakurser.dk/public_html/wp-content/plugins/espresso-calendar/espresso-calendar-widget.php:125 Stack trace: #0 /var/www/faktakurser.dk/public_html/wp-includes/class-wp-widget.php(519): Espresso_Calendar_Widget->form(Array) #1 /var/www/faktakurser.dk/public_html/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array) #2 /var/www/faktakurser.dk/public_html/wp-includes/class-wp-customize-widgets.php(1050): wp_widget_control(Array, Array) #3 /var/www/faktakurser.dk/public_html/wp-includes/class-wp-customize-widgets.php(998): WP_Customize_Widgets->get_widget_control(Array) #4 /var/www/faktakurser.dk/public_html/wp-includes/class-wp-customize-widgets.php(688): WP_Customize_Widgets->get_available_widgets() #5 /var/www/faktakurser.dk/public_html/wp-includes/class-wp-hook.php(287): WP_Customize_Widgets->enqueue_scripts(”) #6 /var/www/faktakurser.dk/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #7 in /var/www/faktakurser.dk/public_html/wp-content/plugins/espresso-calendar/espresso-calendar-widget.php on line 125
There has been a critical error on this website. Please check your site admin email inbox for instructions.


Tony

  • Support Staff

December 18, 2020 at 7:19 am

Hi there,

Looks like your site is using Event Espresso 4, but the error message shown above is from the EE3 Calendar add-on.

EE3’s add-ons are not compatible with EE4, it has its own version of the add-ons.

Have you recently installed the Calendar add-on on the site?


Fakta Kurser

December 18, 2020 at 7:23 am

This reply has been marked as private.


Tony

  • Support Staff

December 18, 2020 at 7:32 am

Looking on your site I can’t see any EE4 active add-ons, which add-ons do you have installed?

You’ve been using EE4 on the site for a while now, correct?

Fixing it is relatively straight forward in that you’ll need to remove the EE3 add-on and replace it with the EE4 version but I’m just making sure something else isn’t going on before you start removing/replacing plugins etc.


Fakta Kurser

December 18, 2020 at 7:42 am

This reply has been marked as private.


Fakta Kurser

December 18, 2020 at 7:42 am

This reply has been marked as private.


Tony

  • Support Staff

December 18, 2020 at 7:52 am

Both of those are EE3 add-ons, so have you not been using the calendar add-on/widget prior to now?

Again, I’m just trying to make sure there isn’t more to this as it seems strange to have EE4 for so long but now all of a sudden have issues with the calendar. If you’ve not bee using them then that would explain it but if this suddenly started happening then I’m not sure how you’ve ended up with EE3 add-ons installed on the site.

Before moving forward, creating a database backup just to be safe, I don’t recommend skipping this step.

The order you update won’t matter in this case, what I would do is de-activate the calendar and MER add-on, then start with the calender and download the EE4 version from your account page.

In the download section click the EE4 tab, then click on ‘Events Calendar v3.2.13.p’ to download the EE4 calendar .zip file.

On the site go to Dashboard -> Plugins -~> Add new -> Upload plugin and select that .zip you just downloaded, install and activate.

Now you have the EE4 calendar installed, check the widget works before moving forward.

Then download the ‘Multiple Event Registration v2.0.18.p’ add-on from your account page (again thats the EE4 version), and install in the same way as above.

Test adding a ticket to the cart from the ticket selector and proceed to registration to confirm that works.


Tony

  • Support Staff

December 18, 2020 at 7:53 am

Your event data is stored within the database, that loads through Event Espresso itself, the Calendar and Multi-Event Registration add-on have their own setting saved but no actual event data to transfer over, that’s all from EE4 itself.


Fakta Kurser

December 18, 2020 at 8:04 am

This reply has been marked as private.


Tony

  • Support Staff

December 18, 2020 at 8:22 am

No, no change with that error.

To explain what is happening there, the calendar widget is loading and then trying to use a function (select_input() to be specific) that is only available in EE3. Your site has EE4 and has done for a while, so those add-ons can not and could not have been working with the version of Event Espresso installed on your site as it does not have a select_input() function and will always throw that error.

Unless maybe your theme had a function that just happened to work in the correct way but now does not with the update, but even then, the widget wouldn’t ‘work’ as its looking for completely different events than what EE4 uses.

In short, those add-ons need to be replaced with the correct versions for them to work with EE4.


Fakta Kurser

December 18, 2020 at 8:26 am

This reply has been marked as private.


Tony

  • Support Staff

December 18, 2020 at 8:30 am

Awesome, I’m glad switching them over worked.

Any further issues please let us know and the same to you 🙂

Viewing 11 reply threads

The support post ‘Error after updating theme’ 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