Title: Error message for Custom CSS Editor
Last modified: August 21, 2016

---

# Error message for Custom CSS Editor

 *  [restorit2](https://wordpress.org/support/users/restorit2/)
 * (@restorit2)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-for-custom-css-editor/)
 * The Custom CSS is not working. i get this message:
    Warning: Invalid argument
   supplied for foreach() in /var/www/html/wordpress/wp-content/plugins/custom-editor-
   styles/custom-editor-styles.php on line 137
 * **the code is**
 * if (isset($_POST[$style_name])) { $elements[esc_attr($_POST[$style_name])] = 
   esc_attr($_POST[$class_name]);}

The topic ‘Error message for Custom CSS Editor’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [restorit2](https://wordpress.org/support/users/restorit2/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-for-custom-css-editor/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
