Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter markappeal

    (@markappeal)

    Also the plugin will not deactivate.

    Brook

    (@brook-tribe)

    Howdy Mark!

    That sounds very bad. I am not sure why that would be. We have been testing this update for months now, and even during our public beta never had anything like that. I have one theory and one idea on how to collect more info if the theory doesn’t pan out.

    Do you have WP_DEBUG enabled? If so, try temporarily disabling it. Does that fix it?

    Either way you should check your server’s PHP or Apache logs. You will likely see some PHP errors in there. What do they say? Do they give any hint on how to fix this?

    You can manually disable any plugin by opening up your plugins folder and renaming it. For instance you could name the-events-calendar to the-events-calendar-bak. You can also install a past version by delete the The Events Calendar folder, and downloading this file: https://downloads.www.ads-software.com/plugin/the-events-calendar.3.9.3.zip

    Cheers!
    – Brook

    Thread Starter markappeal

    (@markappeal)

    Yes I renamed
    Deleted
    Reinstalled.
    Stood on my head

    But 3.10 doesn’t seem to be working.

    I do not have WP_Debug enabled as far as I know.

    But if you visit the site on the home page on the left you will see there are no upcoming events but if you go to the events page you will there are several events in the que for this month.

    RP

    Brook

    (@brook-tribe)

    What do your error logs say? It sounds very much like you are seeing some PHP errors, the error logs should let you know what the errors are. Knowing the errors is likely going to be essential to fixing them. If you haven’t already, worth double checking if WP_DEBUG is enabled. Often times servers enable it by default, so even if you didn’t someone might have done it for you.

    – Brook

    I had the same problem and solved it.
    It was caused by using a custom list-widget.php in my theme.

    This update updated also list-widget.php in the plugin folder. I my case merging my customize list-widget.php in the theme with the changes in the new list-widget.php file solved my problem.

    Hope this helps.

    Hello,

    I have the same problem. Since the latest update, I no longer have any events displaying in widget areas.

    I possibly have the same problem that RutjeT discovered – but am not sure where to find or how to make the change to the list-widget.php within my theme.

    In the meantime, all event areas are blank. Can you please advise how to fix this?

    Here’s my website: https://www.governormifflinsd.org Nothing in the setup of widgets has changed, but you’ll see several pages with blank “upcoming events”.

    ALSO – we can no longer add recurring events. We can enter the info but are then directed to a blank page instead of the Dashboard, and only the initial event saves.

    Thanks for your help! Pam

    Thanks! Pam

    I am having this issue as well.

    https://cravencc.edu

    The DEBUG log is providing the following error:

    PHP Notice: Undefined variable: posts in /home/newcrave/public_html/wp-content/themes/craven-main/tribe-events/widgets/list-widget.php on line 28

    If you could please provide the proper procedures to follow to get this resolved.

    Thanks

    Thread Starter markappeal

    (@markappeal)

    I was using a shortcode widget maker also.

    Maybe that is something EC might need to look into.

    Built in shortcodes ??

    Like RutjeT said, there appears to be an issue with this latest update and using a custom list-widget.php file in your theme. This is unfortunate because it means more dev work in order to benefit from this upgrade. I hope this is not a common issue with updates of this plugin.

    EDIT: All I had to do was add the following 2 lines from the new list-widget.php file to my custom list-widget.php file

    $events_label_plural = tribe_get_event_label_plural();
    
    $posts = tribe_get_list_widget_events();

    for context, here is some surrounding code so you can see where I placed them.

    * @package TribeEventsCalendar
     *
     */
    if ( ! defined( 'ABSPATH' ) ) {
    	die( '-1' );
    }
    
    $events_label_plural = tribe_get_event_label_plural();
    
    $posts = tribe_get_list_widget_events();
    
    //Check if any posts were found
    if ( $posts ) {
    	?>

    I can confirm that I did the same as mheple2 to resolve my error.

    In general: you can customize the widgets (and more) from the event calendar by placing copies of the files from the plugin folder in you theme folder.
    /home/newcrave/public_html/wp-content/themes/craven-main/tribe-events/widgets/list-widget.php

    These copies are (cannot) be updated automatically by the plugin. So if the plugin is updated you should always check if the copied files in the theme need to be updated.

    I did a file compare between the new list-widget.php from the plugin folder and the old customized one in the theme. This revealed that the line
    $posts = tribe_get_list_widget_events();
    was missing in my customized file.

    Of course if you have more/other customized files you should check those too.

    Hello,
    I have the same problem. Please look at my thread from yesterday.
    https://www.ads-software.com/support/topic/startpage-didnt-start?replies=3
    I insert the php Code you recommended. But it doesn’t works. I Think there is a problem in the PlugIn . Please could you give us a new Update – so that the plugin is working reliable.

    Thank you

    Hi Ginebiene,

    Thanks for chiming in here and opening your own thread. We will see you over there. ??

    Geoff

    Hello,

    I see this thread is marked as resolved, directed to a new thread. However, Ginebiene’s problem does not seem the same as mine and a few others on this list.

    My plugin – since the most recent update – does not display upcoming events in the widget. Everything is set up properly and was working previously. None of the suggestions above work for me.

    Here is our site:

    https://www.governormifflinsd.org

    You’ll see several blank widget areas listing Upcoming Events that no longer display.

    Could you please check into this for me and provide a fix?

    Thank you, Pam

    Note that I did add mheple2 code into my list_widget.php file, and nothing changed.

    On your FTP server, go to /wp-content/plugins/the-events-calendar/src/views/widgets/ then copy file list-widget.php and overwrite existing one in /wp-content/themes/your_theme/tribe-events/widgets/ and that’s it.

    If you have done any changes previously in that file, like I did, you will have to do changes again.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Upcoming Events’ is closed to new replies.