Fatal error: Uncaught Error: array_column(): Argument #1 ($array)

[ad_1]

Hi there!
Im getting a fatal error on the orders part of the site.

Any idea what would be causing this?

See screen shot for Fatal Error

https://prnt.sc/lxmjgwqtTVRc

——–

 Fatal error: Uncaught Error: array_column(): Argument #1 ($array) must be of type array, string given
in /var/web/site/public_html/wp-content/plugins/ast-tracking-per-order-items/includes/class-tpi-orders.php on line 844

Call stack:

  1. array_column()
    wp-content/plugins/ast-tracking-per-order-items/includes/class-tpi-orders.php:844
  2. TPI_Orders::before_order_itemmeta()
    wp-includes/class-wp-hook.php:308
  3. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
  4. WP_Hook::do_action()
    wp-includes/plugin.php:517
  5. do_action()
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item.php:43
  6. include()
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php:73
  7. include()
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php:40
  8. WC_Meta_Box_Order_Items::output()
    wp-admin/includes/template.php:1445
  9. do_meta_boxes()
    wp-admin/edit-form-advanced.php:688
  10. require()
    wp-admin/post.php:206

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer