Title: [Plugin: WooCommerce] writepanel-product-type-variable.php
Last modified: August 21, 2016

---

# [Plugin: WooCommerce] writepanel-product-type-variable.php

 *  Resolved [Slenderman12](https://wordpress.org/support/users/slenderman12/)
 * (@slenderman12)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-woocommerce-writepanel-product-type-variablephp/)
 * When I go to update variables on Woocommerce>Products I get the following Internal
   Sever error:
 * PHP Warning: Invalid argument supplied for foreach() in “G:\PleskVhosts\itselectricgreensboro.
   com\httpdocs\wordpress\wp-content\plugins\woocommerce\admin\post-types\writepanels\
   writepanel-product-type-variable.php on line 826”
 * I have contacted Godaddy concerning this issue, and helped me get the error code.
   Is there a fix for this? I have about 40 different variables I need to add.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [Slenderman12](https://wordpress.org/support/users/slenderman12/)
 * (@slenderman12)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-woocommerce-writepanel-product-type-variablephp/#post-4365011)
 * Wow, I figured it out and it was user error. When adding a attribute, you MUST
   click Variations and add the price for each. This will fix it. Feel dumb haha.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WooCommerce] writepanel-product-type-variable.php’ is closed
to new replies.

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 1 reply
 * 1 participant
 * Last reply from: [Slenderman12](https://wordpress.org/support/users/slenderman12/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-woocommerce-writepanel-product-type-variablephp/#post-4365011)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
