[1]

paul
Guest
February 17th, 2009 at 10:20 am

with both activated, when I click on widget editor I receive this:

Fatal error: Cannot redeclare stripslashes_array() (previously declared in /home/********/public_html/***********.com/wp-content/plugins/eshop/cart-functions.php:591)

not sure which plugin is conflicting

Thanks for all your hard work
Paul

Permalink | Quote

[2]

Mark Cunningham
Guest
February 18th, 2009 at 10:51 am

TDOMF uses stripslashes_array in three places. Two of those are protected by a “function_exists” which would avoid this clash. However the third one, in tdomf-edit-form.php is not – which explains this conflict.

I’ve put the fix in for the next release, but if you need it now, open up admin/tdomf-edit-form.php and search for “stripslashes_array”. Then update the code like this:

if(!function_exists('stripslashes_array')) {
   function stripslashes_array($array) {
      return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
   }
}

Permalink | Quote

Advertisments

Join the Discussion