Here's the error I got when marking with a taxonomy term.

Fatal error: Unsupported operand types in /*/**/views_bulk_operations/views_bulk_operations.module on line 362

Comments

infojunkie’s picture

Duplicate of #369678: Using workflow actions results in PHP error. Please try the latest dev version and let me know if it works for you.

infojunkie’s picture

Status: Active » Closed (duplicate)
eggthing’s picture

The dev version doesn't work fo rme either. Previously I was getting an error in the old version 6.x-1.3,

warning: array_merge_recursive() [function.array-merge-recursive]: recursion detected in /home/frg/public_html/includes/common.inc on line 2174.

but it still worked even with the error.

With this new version 6.x-1.4 I'm getting the error but it's not working at all so I will stick to the 6.x-1.3 version for now.

infojunkie’s picture

Version: 6.x-1.4 » 6.x-1.5
Assigned: Unassigned » infojunkie
Status: Closed (duplicate) » Active

Can you please upgrade to 6.x-1.5 and let me know the scenario? I need to know:
* The action that's causing the error.
* The error that you get and at which stage of the process it appears.

Thanks for your patience.

kharbat’s picture

Hi there,

I have the same error with version 6.x-1.4

Fatal error: Unsupported operand types in /var/www/sftv2/sites/all/modules/views_bulk_operations/views_bulk_operations.module on line 362

I've tried updating to 6.x-1.5 and i got a different error:

Fatal error: Call to undefined function taxonomy_action() in /var/www/sftv2/drupal/includes/actions.inc on line 100

The action type that's causing this error is called "Modify node's taxonomy terms". I use it to add certain term to nodes.

The error happens when i select the Add to term action from VBO, right after i click Execute

Thanks

infojunkie’s picture

Hi kharbat, this is a completely different issue. Please access the settings page for the VBO where you're experiencing the problem and re-select the actions, then save. Does that solve the problem?

kharbat’s picture

No, unfortunately it doesn't :(

By the way i tried to debug the code and i found that the variable $action_do at line 590 is an Integer and its value = 1
And according to the actions_do function it expects the action id for the first parameter..

infojunkie’s picture

Status: Active » Closed (fixed)

kharbat, I opened a new issue with your report: #447782: Call to undefined function taxonomy_action().

I'm closing this issue unless I hear back from the original poster.