{"id":13820428,"date":"2020-12-22T04:33:26","date_gmt":"2020-12-22T04:33:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/create_function-error-3\/"},"modified":"2020-12-22T04:33:26","modified_gmt":"2020-12-22T04:33:26","slug":"create_function-error-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/create_function-error-3\/","title":{"rendered":"create_function error"},"content":{"rendered":"<p>Attention:<br \/>\nNot fully tested. Please test if it works on your system. Responsibility belongs to you.<br \/>\nI would be very happy if you let me know.<\/p>\n<p>Deprecated: Function create_function() is deprecated in \/home\/umut58tr\/public_html\/wp-content\/plugins\/wp-db-backup\/wp-db-backup.php on line 221<br \/>\n\/home\/umut58tr\/public_html\/wp-content\/plugins\/wp-db-backup\/wp-db-backup.php<br \/>\ncreate_function() -&gt; function()<\/p>\n<p>\/* line 221 \t*\/\tadd_action(&#8216;admin_footer&#8217;, create_function(&#8221;, &#8216;ob_end_flush();&#8217;));<br \/>\n\/* line 1197\t*\/\t$all_tables = array_map(create_function(&#8216;$a&#8217;, &#8216;return $a[0];&#8217;), $all_tables);<br \/>\n\/* line 1430\t*\/\t$all_tables = array_map(create_function(&#8216;$a&#8217;, &#8216;return $a[0];&#8217;), $all_tables);<\/p>\n<p>New code<br \/>\n\/* line 221 \t*\/\tadd_action(&#8216;admin_footer&#8217;, function(){ return ob_end_flush(); });<br \/>\n\/* line 1197\t*\/\t$all_tables = array_map( function($a){ return $a[0]; }, $all_tables);<br \/>\n\/* line 1430\t*\/\t$all_tables = array_map( function($a){ return $a[0]; }, $all_tables);<\/p>\n","protected":false},"template":"","class_list":["post-13820428","topic","type-topic","status-publish","hentry","topic-tag-create_function","topic-tag-php-7"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13820428","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\/13820428\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13820428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}