I also get it when trying to edit a product.
Not sure how to test this, I guess by turning the theme to another / default theme
Im using flashlight v1.8 (the latest release)
Wordpress v3.5 (the latest release)
WooCommerce v1.6. 6 (the latest release)
It doesn't do it all the time, which is weird, roughly 90% of the time I click edit or add it goes to a white screen.
I have activated error reporting,but nothing is showing, I have made an error log and this is reporting
02-Jan-2013 14:44:52] PHP Warning: Invalid argument supplied for foreach() in /jamespictures.co.uk/wp-content/plugins/woocommerce/admin/post-types/writepanels/writepanel-product-type-variable.php on line 911
[02-Jan-2013 15:20:58] PHP Parse error: syntax error, unexpected $end in /jamespictures.co.uk/wp-content/themes/flashlight/framework/php/class-megamenu.php on line 586
Im going to change the theme now to see if the problem is resolved.
I have Googled "writepanel-product-type-variable.php on line 911" and there seems to be no other reports of the same problem, however if you Google "PHP Warning: Invalid argument supplied for foreach() woocommerce" it suggests that the theme is not fully compatable with woocommerce, so i thought I would post here to see if you guys knew any tips or advice.














