{"id":15590631,"date":"2022-04-26T04:04:31","date_gmt":"2022-04-26T04:04:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-uncaught-typeerror-array_map-order-php184\/"},"modified":"2022-04-26T04:04:31","modified_gmt":"2022-04-26T04:04:31","slug":"php-uncaught-typeerror-array_map-order-php184","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-uncaught-typeerror-array_map-order-php184\/","title":{"rendered":"PHP Uncaught TypeError: array_map() order.php:184"},"content":{"rendered":"<p>WordPress version 5.9.3<br \/>\nCurrent theme: Neori (version 3.0)<br \/>\nCurrent plugin: WooCommerce &#8211; Store Exporter Deluxe (version 5.2.1)<br \/>\nPHP version 8.0.16<\/p>\n<p>I failed to export my orders. Below is the log<\/p>\n<p>An error of type E_ERROR was caused in line 184 of the file \/home3\/username\/public_html\/wp-content\/plugins\/woocommerce-store-exporter-deluxe\/includes\/order.php. Error message: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, string given in \/home3\/username\/public_html\/wp-content\/plugins\/woocommerce-store-exporter-deluxe\/includes\/order.php:184<br \/>\nStack trace:<br \/>\n#0 \/home3\/username\/public_html\/wp-content\/plugins\/woocommerce-store-exporter-deluxe\/includes\/order.php(184): array_map(&#8216;absint&#8217;, &#8221;)<br \/>\n#1 \/home3\/username\/public_html\/wp-includes\/class-wp-hook.php(307): woo_ce_order_dataset_args(Array, &#8216;order&#8217;)<br \/>\n#2 \/home3\/username\/public_html\/wp-includes\/plugin.php(189): WP_Hook-&gt;apply_filters(Array, Array)<br \/>\n#3 \/home3\/username\/public_html\/wp-content\/plugins\/woocommerce-store-exporter-deluxe\/exporter-deluxe.php(403): apply_filters(&#8216;woo_ce_extend_d&#8230;&#8217;, Array, &#8216;order&#8217;)<br \/>\n#4 \/home3\/username\/public_html\/wp-includes\/class-wp-hook.php(307): woo_cd_admin_init(&#8221;)<br \/>\n#5 \/home3\/username\/public_html\/wp-includes\/class-wp-hook.php(331): WP_Hook-&gt;apply_filters(NULL, Array)<br \/>\n#6 \/home3\/username\/public_html\/wp-includes\/plugin.php(474): WP_Hook-&gt;do_action(Array)<br \/>\n#7 \/home3\/username\/public_html\/wp-admin\/admin.php(175): do_action(&#8216;admin_init&#8217;)<br \/>\n#8 {main}<br \/>\nthrown<\/p>\n<p>Is there anything I can do?<\/p>\n","protected":false},"template":"","class_list":["post-15590631","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15590631","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\/15590631\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15590631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}