{"id":18234596,"date":"2025-01-09T14:55:47","date_gmt":"2025-01-09T14:55:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/help-on-a-undefined-array-key-rand\/"},"modified":"2025-01-09T14:56:49","modified_gmt":"2025-01-09T14:56:49","slug":"help-on-a-undefined-array-key-rand","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/help-on-a-undefined-array-key-rand\/","title":{"rendered":"Help on a undefined array key rand"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello, <br \/>I hope all is well. The plugin worked flawlessy for years but now I am getting the below message when I debug my site. Could you help? <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin works fine when I have the debug off. Thank you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Regards,<br \/>Robert<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Warning<\/strong>: Undefined array key &#8220;rand&#8221; in <strong>\/var\/www\/mysite.com\/public_html\/wp-content\/plugins\/recent-posts-widget-with-thumbnails\/recent-posts-widget-with-thumbnails.php<\/strong> on line <strong>138<\/strong><\/p>\n","protected":false},"template":"","class_list":["post-18234596","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18234596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18234596\/revisions"}],"predecessor-version":[{"id":18234599,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18234596\/revisions\/18234599"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18234596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}