Shortcode open_special writes out Warnings

[ad_1]

Hi,

My old shortcode has stopped working and it’s writing out alot of warnings in a loop since the new update v. 1.53 of We´re Open:

Warning: Undefined array key “start” in /public/wp-content/plugins/opening-hours/index.php on line 2771

Warning: Undefined array key “end” in /public/wp-content/plugins/opening-hours/index.php on line 2771

My old shortcode, worked before the update:
[open closed=”Closed” class=”hours-right closed-bold” day_format=”full_date_month_nos” regular=false count=”31″]

I tested this shortcode for Conditional special opening hours, with same results:
[open_special start=0 end=31] <h3>Holiday opening times</h3> [open regular=false special=true day_format=”short_date_short_month” start=0 end=31] [/open_special]

What is odd is when I’am logged in as Admin the Warnings is not displayed and not working, but in incognito (not logged in) it shows warnings and I have wp_config set to define( ‘WP_DEBUG’, false );

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer