Error on Woocommerce Orders page
-
When loggeed into the site admin, if you visit the Orders in Woocommerce and attempt to manually add an order using the Add Order button at the top of the screen, the page does not load. It works fine with the plugin disabled.
We get the follwoing error shoing in the site logs:AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “id” in /var/www/vhosts/butterflypupae.com/httpdocs/wp-content/plugins/currency-switcher-woocommerce/includes/class-alg-wc-currency-switcher.php on line 257; PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_currency() on false in /var/www/vhosts/butterflypupae.com/httpdocs/wp-content/plugins/currency-switcher-woocommerce/includes/class-alg-wc-currency-switcher.php:261\nStack trace:\n#0 /var/www/vhosts/butterflypupae.com/httpdocs/wp-admin/includes/template.php(1456): Alg_WC_Currency_Switcher_Main->create_order_admin_currency_meta_box()\n#1 /var/www/vhosts/butterflypupae.com/httpdocs/wp-admin/edit-form-advanced.php(716): do_meta_boxes()\n#2 /var/www/vhosts/butterflypupae.com/httpdocs/wp-admin/post-new.php(75): require(‘…’)\n#3 {main}\n thrown in /var/www/vhosts/butterflypupae.com/httpdocs/wp-content/plugins/currency-switcher-woocommerce/includes/class-alg-wc-currency-switcher.php on line 261′, referer: https://butterflypupae.com/wp-admin/edit.php?post_type=shop_order
This error has only started happening today, presumably a bug brought on by something else updating? Are you able to help?
- You must be logged in to reply to this topic.