• Resolved Marcus

    (@omako)


    Hi there, i am using the latest version of WC (3.8) and your Plugin(3.0.4). The following Error pops up while i am on “shipments” and “return shipments” page:

    Warning: Invalid argument supplied for foreach() in /www/htdocs/XXXX/XXXX/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Admin/Admin.php on line 304

    Can you fix it? Actually i don’t need those extensions, how can i deactivate them? Thanks for your reply ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi there,

    I’ll look into that – it is just a warning – on a live-site (WP_DEBUG turned off) the error should not show up but I’ll still fix that within the next update so thank you for reporting.

    Which extensions do you mean exactly? You might “hide” them from the menu by removing our menu filter, e.g.:

    remove_action( 'admin_menu', array( 'Vendidero\Germanized\Shipments\Admin\Admin', 'shipments_menu' ), 15 );

    Cheers

    Thread Starter Marcus

    (@omako)

    Yes i meant this two menu items “shipments” and “return shipments”. Thank you for this quick reply i found a way to hide them. Bye

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Error “Invalid argument supplied for foreach()”’ is closed to new replies.