Pie Calender breaks front end and Bricks Builder
-
After putting shortcode for Pie Calendar in shortcode-element from Bricks Builder, the page shows an error when loading in front as well as in builder:
Fatal error: Uncaught InvalidArgumentException: The INTERVAL rule part must be a positive integer (> 0) in /var/www/wordpress/wp-content/plugins/pie-calendar/vendor/php-rrule/RRule.php:254 Stack trace: #0 /var/www/wordpress/wp-content/plugins/pie-calendar/includes/utils/PiecalRRuleUtil.php(76): RRule\RRule->__construct() #1 /var/www/wordpress/wp-content/plugins/pie-calendar/includes/piecal-pro.php(820): Piecal\Utils\RRuleUtil::expandOccurrencesWithinRange() #2 /var/www/wordpress/wp-includes/class-wp-hook.php(324): piecalExpandOccurrencesInView() #3 /var/www/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /var/www/wordpress/wp-content/plugins/pie-calendar/includes/shortcode.php(94): apply_filters() #5 /var/www/wordpress/wp-includes/shortcodes.php(433): piecal_render_calendar() #6 [internal function]: do_shortcode_tag() #7 /var/www/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #8 /var/www/wordpress/wp-content/themes/bricks/includes/elements/shortcode.php(96): do_shortcode() #9 /var/www/wordpress/wp-content/themes/bricks/includes/elements/base.php(2290): Bricks\Element_Shortcode->render() #10 /var/www/wordpress/wp-content/themes/bricks/includes/ajax.php(315): Bricks\Element->init() #11 /var/www/wordpress/wp-content/themes/bricks/includes/builder.php(2124): Bricks\Ajax::render_element() #12 /var/www/wordpress/wp-content/themes/bricks/includes/builder.php(2030): Bricks\Builder::query_content_type_for_elements_html() #13 /var/www/wordpress/wp-content/themes/bricks/includes/builder.php(288): Bricks\Builder::builder_data() #14 /var/www/wordpress/wp-includes/class-wp-hook.php(324): Bricks\Builder->enqueue_scripts() #15 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #16 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /var/www/wordpress/wp-includes/script-loader.php(2262): do_action() #18 /var/www/wordpress/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #19 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #20 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #21 /var/www/wordpress/wp-includes/general-template.php(3052): do_action() #22 /var/www/wordpress/wp-content/themes/bricks/header.php(7): wp_head() #23 /var/www/wordpress/wp-includes/template.php(790): require_once(‘…’) #24 /var/www/wordpress/wp-includes/template.php(725): load_template() #25 /var/www/wordpress/wp-includes/general-template.php(48): locate_template() #26 /var/www/wordpress/wp-content/themes/bricks/template-parts/builder.php(2): get_header() #27 /var/www/wordpress/wp-includes/template-loader.php(106): include(‘…’) #28 /var/www/wordpress/wp-blog-header.php(19): require_once(‘…’) #29 /var/www/wordpress/index.php(17): require(‘…’) #30 {main} thrown in /var/www/wordpress/wp-content/plugins/pie-calendar/vendor/php-rrule/RRule.php on line 254
- The topic ‘Pie Calender breaks front end and Bricks Builder’ is closed to new replies.