When I include "publish post" action in a VIEW, I get this error: Fatal error: Call to undefined function () in /.../drupal/sites/all/modules/actions/actions.inc on line 103. I looked at the code and the database.
Here is the code:
if (is_numeric($action_ids)) {
...
// Singleton action; $action_ids is the function name.
else {
$result[$action_ids] = $action_ids($object, $context, $a1, $a2);
}
In the database, I can see that "node_publish_action" is non-numeric - which is when the program fails. I couldn't find the function $actions_ids() anywhere.
Thanks for help.
Comments
Comment #1
jvandyk commentedWhat do you mean by "When I include 'publish post' action in a VIEW"?
Comment #2
EmmaD commentedI selected the field "node: publish post (action)" from the dropdown options when setting up my view.
The view is of "events" (a content type I created), which have been submitted but not yet approved. I want to be able to approve/publish them from the view.
This works in Drupal 5.2 but upgrading to Drupal 5.8, it no longer works.
Comment #3
EmmaD commentedComment #4
pomliane commentedThis version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.