• Resolved leemon

    (@leemon)


    When pasting the following shortcode in a site with PHP 7.3:

    [mp-timetable col="109,110" title="1" time="1" sub-title="1" row_height="45" font_size="" increment="1" view="dropdown_list" label="All Events" hide_label="0" hide_hrs="0" hide_empty_rows="1" group="0" disable_event_url="0" text_align="center" text_align_vertical="default" id="" custom_class="" responsive="1"]

    I’m getting the following warning:

    Warning: count(): Parameter must be an array or an object that implements Countable in /xxxxxx/wp-content/plugins/mp-timetable/templates-functions/action-shortcode-functions.php on line 31

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor motopress

    (@motopress)

    Hi @leemon,
    Thanks for your question. We have tested plugin at server with PHP 7.3.2 and it worked properly. Does the issue occur if you downgrade PHP version on server where you site is running?

    Thread Starter leemon

    (@leemon)

    I downgraded to PHP 7.2 and I’m getting the same warning. If I set the WP_DEBUG constant to TRUE, I also get the following notices:

    Notice: Undefined index: unique_events in /xxxxxx/wp-content/plugins/mp-timetable/classes/class-shortcode.php on line 92
    
    Notice: Undefined index: unique_events in /xxxxxx/wp-content/plugins/mp-timetable/templates-functions/action-shortcode-functions.php on line 31
    • This reply was modified 5 years, 1 month ago by leemon.
    Plugin Contributor motopress

    (@motopress)

    Hi @leemon,
    Could you submit a request to our support team?

    veronicanorth

    (@veronicanorth)

    I have the same issue, did you solve this problem?

    Plugin Contributor motopress

    (@motopress)

    Hi @veronicanorth,
    Please submit a request by the link in the reply above. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning’ is closed to new replies.