Support » Plugin: Events Shortcodes For The Events Calendar » PHP Warning with newest Events Calendar

  • Hello,
    Ever since updating to events calendar 4.9 and then 4.9.2, I get the below PHP notice when viewing an Events Calendar Shortcode and Templates page:
    ——————-
    WARNING: wp-content/plugins/the-events-calendar/common/src/functions/utils.php:525 – preg_match(): No ending delimiter ‘_’ found
    require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/quark-child/page.php’), get_template_part, locate_template, load_template, require(‘/themes/quark-child/content-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, EventsCalendarTemplates->ect_shortcodes, tribe_get_events, Tribe__Events__Query::getEvents, tribe_filter_meta_query, tribe_is_regex, preg_match

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support baljitdhanjal

    (@baljitdhanjal)

    Hi @jimh275,

    I have checked The Events Calendar Shortcode and Templates with the latest version of the events calender but no problem found at our end, Please elaborate more in which case
    you have found this type of problem along with your website link where you added our plugin shortcode.

    Thanks

    Thread Starter jimh275

    (@jimh275)

    The site is in coming soon mode so I can’t share a link right now.

    I’m using PHP version 7.3 which might make a difference? Other then that I suppose it might be a plugin or theme conflict, I can disable plugins and change themes tomorrow and let you know if I can make it go away. I’m using the Quark theme with a child theme and we’re fairly locked into that, so if it is a theme conflict, we’ll have to find another option for showing events.

    Thread Starter jimh275

    (@jimh275)

    Hello,

    I’ve tried changing themes and disbling plugins and the warning still shows up.

    Note: I’m using debug bar plugin to see all errors and warnings, it’s not showing on the page itself.

    Thread Starter jimh275

    (@jimh275)

    I have an events Calendar in the menu a sub menu (the one with the warning) page has the following shortcode:
    [events-calendar-templates category=”all” template=”default” style=”style-2″ date_format=”default” start_date=”” end_date=”” limit=”10″ order=”ASC” hide-venue=”no” time=”future” featured-only=”false” columns=”2″autoplay=”true”]

    Plugin Support baljitdhanjal

    (@baljitdhanjal)

    Hi @jimh275,

    I have tested The Events Calendar Shortcode and Templates plugin with the “Debug bar” plugin and there is no such issue in our plugin.

    WARNING: wp-content/plugins/the-events-calendar/common/src/functions/utils.php:525 – preg_match(): No ending delimiter ‘_’ found
    require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/quark-child/page.php’), get_template_part, locate_template, load_template, require(‘/themes/quark-child/content-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, EventsCalendarTemplates->ect_shortcodes, tribe_get_events, Tribe__Events__Query::getEvents, tribe_filter_meta_query, tribe_is_regex, preg_match

    Above mentioned warning is of “The Events Calendar” plugin.

    Thanks

    Thread Starter jimh275

    (@jimh275)

    The warning is still there. It shows up two places, in the admin on the edit page with the shortcode and on the front end when displaying that page.
    WordPress: 5.2
    PHP: 7.3.5 (Supports 64bit values)
    mySQL: 10.0.38-MariaDB
    Server: Linux 3.10.0-714.10.2.lve1.5.19.9.el7.x86_64 x86_64
    Web Server: LiteSpeed
    ————————-
    WARNING: wp-content/plugins/the-events-calendar/common/src/functions/utils.php:525 – preg_match(): No ending delimiter ‘_’ found
    require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/quark-child/page-templates/full-width.php’), get_template_part, locate_template, load_template, require(‘/themes/quark-child/content-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, EventsCalendarTemplates->ect_shortcodes, tribe_get_events, Tribe__Events__Query::getEvents, tribe_filter_meta_query, tribe_is_regex, preg_match
    ———————————————–

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Warning with newest Events Calendar’ is closed to new replies.