Function name must be a string
asb - March 16, 2009 - 08:38
| Project: | Actions |
| Version: | 5.x-2.6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
used together with the "Views Bulk Operations" module, and trying to change the author of a bunch of nodes, I'm getting the following error:
Fatal error: Function name must be a string in /var/www/drupal/sites/all/modules/actions/actions.inc on line 99
The "Actions" module is invoked through the following URL:
../admin/content/node2?op0=OR&filter0[0]=image&op1==&filter1=**ALL**&op2==&filter2=**ALL**&op3==&filter3=**ALL**
That Action used to work properly together with VBO in version 5.x-1.0; after recently upgrading to 5.x-2.6, this problem (and a bunch of others) occured.
Greetings, -asb

#1
As it seems, the bahaviour of the "Actions" module has changed significantly. While in the 1.0 version the action requested the target user name, the 2.x version seems not to allow that anymore.
If "preconfigured" at /admin/settings/actions with a "hardcoded" user name, the action does work and does not output the error mentioned above (thus changing this issues categorie to "support request"). Please make the module explain what it (now) requires to avoid running in "fatal errors", and, if possible, state the behavioural changes at the project page and/or documentation page. That would help using the module!
Thanks & greetings, asb