Shortcode open_special writes out Warnings
-
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 );
- The topic ‘Shortcode open_special writes out Warnings’ is closed to new replies.