After update, widgets broken

Home Forums Calendar Products Events Calendar PRO After update, widgets broken

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1091111
    nysci
    Participant

    After updating to the latest version, the widgets don’t show and in fact are breaking the site (nothing after the widget is loaded into the page).

    In my WordPress debug.log, I have this string of notices:

    [18-Mar-2016 14:41:31 UTC] PHP Notice: Undefined index: obsres_debug in /Users/aaron/Sites/www-nysci-org/wp-content/plugins/wcg-ob-res-api/wcg-ob-res-api.php on line 38
    [18-Mar-2016 14:41:31 UTC] PHP Notice: get_theme_data is <strong>deprecated</strong> since version 3.4! Use wp_get_theme() instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3573
    [18-Mar-2016 14:41:31 UTC] PHP Strict Standards: Redefining already defined constructor for class myCustomFields in /Users/aaron/Sites/www-nysci-org/wp-content/themes/bigbangwp/includes/bra_custom_fields.php on line 173
    [18-Mar-2016 14:41:31 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3624
    [18-Mar-2016 14:41:31 UTC] PHP Notice: /Users/aaron/Sites/www-nysci-org/wp-content/plugins/events-calendar-pro/src/deprecated/TribeEventsPro.php is <strong>deprecated</strong> since version 3.10! Use Tribe__Events__Pro__Main instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3677
    [18-Mar-2016 14:41:31 UTC] PHP Notice: /Users/aaron/Sites/www-nysci-org/wp-content/plugins/events-calendar-pro/src/deprecated/TribeEventsPro_RecurrenceInstance.php is <strong>deprecated</strong> since version 3.10! Use Tribe__Events__Pro__Recurrence__Instance instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3677
    [18-Mar-2016 14:41:35 UTC] PHP Notice: Undefined index: obsres_debug in /Users/aaron/Sites/www-nysci-org/wp-content/plugins/wcg-ob-res-api/wcg-ob-res-api.php on line 38
    [18-Mar-2016 14:41:36 UTC] PHP Notice: get_theme_data is <strong>deprecated</strong> since version 3.4! Use wp_get_theme() instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3573
    [18-Mar-2016 14:41:36 UTC] PHP Strict Standards: Redefining already defined constructor for class myCustomFields in /Users/aaron/Sites/www-nysci-org/wp-content/themes/bigbangwp/includes/bra_custom_fields.php on line 173
    [18-Mar-2016 14:41:36 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3624
    [18-Mar-2016 14:41:36 UTC] PHP Notice: /Users/aaron/Sites/www-nysci-org/wp-content/plugins/events-calendar-pro/src/deprecated/TribeEventsPro.php is <strong>deprecated</strong> since version 3.10! Use Tribe__Events__Pro__Main instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3677
    [18-Mar-2016 14:41:36 UTC] PHP Notice: /Users/aaron/Sites/www-nysci-org/wp-content/plugins/events-calendar-pro/src/deprecated/TribeEventsPro_RecurrenceInstance.php is <strong>deprecated</strong> since version 3.10! Use Tribe__Events__Pro__Recurrence__Instance instead. in /Users/aaron/Sites/www-nysci-org/wp-includes/functions.php on line 3677

    It’s weird that the latest version of the plugin is complaining about itself that its deprecated … there must be a quick fix to this. Help?

    I did, by the way, switch to TwentySixteen and the widgets work. But since the only errors I have to work from are those above, which are confusing (and since the plugin worked with the theme before the plugin upgrade) I’m hoping you can give me some ideas of where to start solving.

    #1091224
    Geoff B.
    Member

    Good evening Dan and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about these warnings bothering you.
    I would love to help you with this topic.

    Full disclosure, if you look carefully at the paths from you log, you will notice that all the files that are labeled as deprecated are in fact sitting in a folder called /wp-content/plugins/events-calendar-pro/src/deprecated/

    What might be going on though is that, if you have template customizations in place (found in the /tribe-events/ folder of your WordPress theme), you might need to update the call to these deprecated functions by calls to newer ones.

    You can read all about our functions here (deprecated and current): https://theeventscalendar.com/functions/

    In other words, unless you are using any of these functions in your customization or custom plugin, there should not be any negative consequence.

    To be extra sure, could you please provide us with your system information in a private reply ? (following the instructions found in the link)

    Have a good week-end,

    Geoff B.

    #1097433
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘After update, widgets broken’ is closed to new replies.