{"id":13214336,"date":"2020-08-05T18:42:25","date_gmt":"2020-08-05T18:42:25","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php7-got-error\/"},"modified":"2020-08-05T18:42:25","modified_gmt":"2020-08-05T18:42:25","slug":"php7-got-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php7-got-error\/","title":{"rendered":"PHP7, got error"},"content":{"rendered":"<p>ver 1.2.24<\/p>\n<p>hi, thanks to great plugins!<\/p>\n<p>shortcodes.php lines:66~69<br \/>\nIt has got error on greater than PHP7.<\/p>\n<p>AH01071: Got error &#8216;PHP message: PHP Warning:  Illegal string offset &#8216;title&#8217; in \/wp-content\/plugins\/download-attachments\/includes\/shortcodes.php on line 69<\/p>\n<p>So I commented out 65~70 lines, and change 57 line to that below.<\/p>\n<p>&#8216;title&#8217; =&gt; __( isset(Download_Attachments()-&gt;options[&#8216;label&#8217;]) ? Download_Attachments()-&gt;options[&#8216;label&#8217;] : &#8216;Attachments&#8217;, &#8216;download-attachments&#8217; ),<\/p>\n<p>after changes, maybe it seems work on PHP7.<\/p>\n<p>thanks, yours.<\/p>\n","protected":false},"template":"","class_list":["post-13214336","topic","type-topic","status-publish","hentry","topic-tag-errors","topic-tag-php7"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13214336","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13214336\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13214336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}