Support » Plugin: Event List » show_cat fatal in version 0.8.1

  • Resolved mschapiro


    The show_cat attribute causes a fatal error in version 0.8.1 as outlined by the author here:

    Is there any method to display the category via shortcode alongside each event while a plugin update is pending? If not, might you have an estimate of the timing of this next update?

    Is show_cat broken in custom instances of the SC_Event_List class as well?

    Thank you for a great plugin. I understand my topic is likely just one of many. Any sense you can provide of show_cat support in future version would be above and beyond.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mibuthu


    The issue is already fixed in the development build.
    You can manually do this changes until the new version is released.

    Thanks for your reply.

    I’ve replaced line 232 in includes/sc_event-list.php as suggested. I’m no longer getting a fatal error, however event categories still do not appear. I am delivering the shortcode via do_shortcode(); in a page template, and this seems to be a root cause of my problem.

    Here is the code I’m using in the page template.

    <?php echo do_shortcode('[event-list date_filter=upcoming show_filterbar=true filterbar_items=cats_hlist show_cat=true link_to_event=false]');?>

    If I serve the shortcode from the backend, in the main content editor, it does work properly – lists categories as expected.

    Please advise the best way forward. And thanks again for your help.

    I was able to resolve this issue by adding autop().

    $upcoming = '[event-list date_filter=upcoming show_filterbar=true filterbar_items=cats_hlist show_cat=true link_to_event=false]';
    • This reply was modified 1 year, 6 months ago by  mschapiro.
    Plugin Author mibuthu


    This issue is fixed with todays released version 0.8.2

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘show_cat fatal in version 0.8.1’ is closed to new replies.