Unlink Leads to Fatal Error
-
Trying to Unlink A Broadcasted version of a posts is generating the following warning to me and preventing the unlink from actually occurring:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘ThreeWP_Broadcast’ does not have a method ‘unlink’ in /Users/danny.cassidy/source/wordpress/wp-content/plugins/threewp-broadcast/plainview_sdk/wordpress/tabs.php on line 234
Example URL:
profile.php?page=ThreeWP_Broadcast&action=unlink&post=4&child=4&_wpnonce=423423434
I believe the issue is that the action in the QUERY string is incorrect, it should be user_unlink not unlink. Changing that properly removed the link.
Also, once I changed it to user_unlink, the “Back to post overview” anchor is incorrect and has the unlink URL instead of going back to the Posts overview.
- The topic ‘Unlink Leads to Fatal Error’ is closed to new replies.