2 new “PHP Warning: Undefined array key”

WP 6.5.3 / PHP 8.3.6
Schema & Structured Data for WP & AMP Version 1.31 

Using “HotelRoom” schema type, we get these warnings in the logs :

PHP 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

Thanks,

 

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