Forums

WP Super Edit
Compatibility with WP e-Commerce (3 posts)

  1. msander
    Member
    Posted 1 year ago #

    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/

  2. patrickhealy
    Member
    Posted 1 year ago #

    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.

  3. Jess Planck
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic