• Resolved binbinink

    (@binbinink)


    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
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error: array_column(): Argument #1 ($array)’ is closed to new replies.