Support » Plugin: Broadcast » Error opening Send To Many box

  • Peter Anderson

    (@peterfeatherstone)


    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

    https://wordpress.org/plugins/threewp-broadcast/

Viewing 1 replies (of 1 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    I made sure that there weren’t any apply() methods left when making the new bulk actions. What versions of BC and the pack do you have? 12 on both?

Viewing 1 replies (of 1 total)
  • The topic ‘Error opening Send To Many box’ is closed to new replies.