Title: [Plugin: WP Super Edit] Compatibility with WP e-Commerce
Last modified: August 19, 2016

---

# [Plugin: WP Super Edit] Compatibility with WP e-Commerce

 *  [msander](https://wordpress.org/support/users/msander/)
 * (@msander)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-edit-compatibility-with-wp-e-commerce/)
 * Hey,
 * just found a little bug that causes the following error message in wp e-commerce:
 * Invalid argument supplied for foreach() in […]/wp-admin/includes/post.php on 
   line 1571
 * Solution is to change line 291 in wp-super-edit.core.class.php from:
    if ( !$
   this->is_tinymce ) return;
 * to
 * if ( !$this->is_tinymce ) return $initArray;
 * best regards
 * [http://wordpress.org/extend/plugins/wp-super-edit/](http://wordpress.org/extend/plugins/wp-super-edit/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [patrickhealy](https://wordpress.org/support/users/patrickhealy/)
 * (@patrickhealy)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-edit-compatibility-with-wp-e-commerce/#post-1872746)
 * Thanks so much man. I just got this too and the fix worked like a charm. I had
   to switch off of tinyMCE-advanced because it was locking up my admin drop-down
   menus for some reason. Once I got WP Super Edit installed the same functionality
   was restored but then I got that error.
 * You just saved me a ton of anxiety.
 *  [Ev3rywh3re](https://wordpress.org/support/users/ev3rywh3re/)
 * (@ev3rywh3re)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-edit-compatibility-with-wp-e-commerce/#post-1872802)
 * Thanks for catching that! I fixed all the returns for that filter to send back
   the $initArray which it should have been doing in the first place. WP Super Edit
   2.3.5 has this fix.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP Super Edit] Compatibility with WP e-Commerce’ is closed to
new replies.

 * ![](https://ps.w.org/wp-super-edit/assets/icon-256x256.png?rev=2256566)
 * [WP Super Edit](https://wordpress.org/plugins/wp-super-edit/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-edit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-edit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-edit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-edit/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ev3rywh3re](https://wordpress.org/support/users/ev3rywh3re/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-edit-compatibility-with-wp-e-commerce/#post-1872802)
 * Status: not a support question