{"id":11147488,"date":"2019-01-30T08:02:12","date_gmt":"2019-01-30T08:02:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-7-2-deprecated-function-warning\/"},"modified":"2019-01-30T08:02:12","modified_gmt":"2019-01-30T08:02:12","slug":"php-7-2-deprecated-function-warning","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-7-2-deprecated-function-warning\/","title":{"rendered":"PHP 7.2 Deprecated: Function Warning"},"content":{"rendered":"<p>Hi there <\/p>\n<p>I see there is now a Deprecated: Function warning when using PHP 7.2 and setting up a backup schedule. <\/p>\n<blockquote><p>\ncreate_function() is deprecated in  wp-content\/plugins\/wp-db-backup\/wp-db-backup.php on line 1197\n<\/p><\/blockquote>\n<pre><code>\n$all_tables = array_map(create_function(&#039;$a&#039;, &#039;return $a[0];&#039;), $all_tables);\n<\/code><\/pre>\n<p>Any help on how this function should be coded would be appreciated by many.<\/p>\n<p>Kind Regards<br \/>\nBrad<\/p>\n","protected":false},"template":"","class_list":["post-11147488","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11147488","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\/11147488\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11147488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}