Support » Plugin: Timetable and Event Schedule by MotoPress » time table shortcode problem

  • Resolved suganya1993

    (@suganya1993)


    Hi,

    Thanks for the giving me a wonderful plugin.
    1. If I use shortcode in the text widget, first time table visible and when i refresh the page the table hide,(when i refresh the page the script add the style “display: none”.
    <table class=”mptt-shortcode-table mptt-theme-mode” id=”#all” style=”display:none” data-hide_empty_row=”1″>)
    2.. If I use shortcode in the text widget, it inducing the following error.
    For your info: I used latest WordPress4.7.5 and plugin version2.1.8.

    Kindly letus know if any update.

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘"2858,2870,2868,2861") ORDER BY event_start‘ at line 1]
    SELECT * FROM wp_mp_timetable_data WHERE event_id IN ("2858,2870,2868,2861") ORDER BY event_start

    Warning: Division by zero in /var/www/html/gympress/pro/wp-content/plugins/mp-timetable/classes/class-shortcode.php on line 208

    Warning: Division by zero in /var/www/html/gympress/pro/wp-content/plugins/mp-timetable/classes/class-shortcode.php on line 210

    Notice: Undefined index: input in /var/www/html/gympress/pro/wp-includes/kses.php on line 866

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor MotoPress

    (@motopress)

    Hi @suganya1993,
    Please specify how to replicate the issue. Do you copy timetable shortcode to text widget and that’s all?
    There is also upcoming events widget available that can be used in widget areas of your theme.

    Thread Starter suganya1993

    (@suganya1993)

    Hi,

    Thanks for the response.

    1. If I paste the timetable shortcode into the text widget. It will show correctly at the first time, but when i refresh the page doesn’t show anything.

    I used Page Builder by SiteOrigin plugin.

    I want to show the full table, but upcoming events widget only show the content not a table, that’s why i used the shortcode.

    Plugin Contributor MotoPress

    (@motopress)

    Hi @suganya1993,
    I’ve added TimeTable shortcode to Text Widget (via Appearance>Widgets) tested it locally and could see at the sidebar after numerous reloads. You can try to add shortcode in default way and without using third party plugins. Will it work on your side?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘time table shortcode problem’ is closed to new replies.