One user reached out to us regarding this concern that they are getting PHP Warning: Undefined array key on "HotelRoom" schema.
WP 6.5.3 / PHP 8.3.6
Schema & Structured Data for WP & AMP Version 1.31
** Warning: Undefined array key “saswp_hotelroom_offer_unitcode” in /wp-content/plugins/schema-and-structured-data-for-wp/output/service.php on line 1187
PHP Warning: Undefined array key “saswp_hotelroom_offer_validthrough” in /l/wp-content/plugins/schema-and-structured-data-for-wp/output/service.php on line 1188**
One user reached out to us regarding this concern that they are getting PHP Warning: Undefined array key on "HotelRoom" schema.
WP 6.5.3 / PHP 8.3.6 Schema & Structured Data for WP & AMP Version 1.31
** Warning: Undefined array key “saswp_hotelroom_offer_unitcode” in /wp-content/plugins/schema-and-structured-data-for-wp/output/service.php on line 1187
PHP Warning: Undefined array key “saswp_hotelroom_offer_validthrough” in /l/wp-content/plugins/schema-and-structured-data-for-wp/output/service.php on line 1188**
reference ticket: https://wordpress.org/support/topic/2-new-php-warning-undefined-array-key/