Error opening Send To Many box
-
Hi there,
I was getting the following error when selecting all pages from the WordPress admin and then clicking the “Send to Many” option:
Error opening Send To Many box: {"readyState":4,"responseText":"<br />\n<b>Fatal error</b>: Call to undefined method threewp_broadcast\\actions\\prepare_meta_box::apply() in <b>/home/???/public_html/wp-content/plugins/threewp-broadcast-premium-pack/include/threewp_broadcast/premium_pack/ThreeWP_Broadcast_SendToMany.php</b> on line <b>188</b><br />\n","status":200,"statusText":"OK"}As you can see it says that the apply method for the prepare_meta_box class doesn’t exist.
I snooped around the code a bit and found that this extends the actions class which in deed doesn’t have an apply method but does have an execute method.
I have since changed the file found at /threewp-broadcast-premium-pack/include/threewp_broadcast/premium_pack/ThreeWP_Broadcast_SendToMany.php on line 188 to read $action->execute(); instead of $action->apply();
Just to let you know as I imagine this will be overwritten in a future version and not sure if other people are suffering this or if there is something strange about my install (I have both latest versions).
Many thanks
Peter
The topic ‘Error opening Send To Many box’ is closed to new replies.