0

With updated modules to recent releases, Recently this error started appearing when executing 'Modify entity values' in views bulk operations. It happens on all the views in the site. Indications where to start digging is much appreciated. Fatal error: Call to undefined function EntityDefaultMetadataController::bundleOptionsList() in /home/cdt/public_html/sites/all/modules/views_bulk_operations/actions/modify.action.inc on line 173

  • Did you run update.php, by going to yourwebsite.com/update.php after your module update? – No Sssweat May 6 '16 at 23:55
  • Yes, did that and it makes no difference. :( – Yuri May 7 '16 at 21:30
3
+50

The static method EntityDefaultMetadataController::bundleOptionsList() is a part of Entity API module that VBO is dependant upon. One of your modifiable entity properties needs this method to retrieve options for the modify operation.

You need to debug why this method isn't available. It's defined in entity.info.inc and should be included if the Entity API module is enabled.

1

There are several things that could have happened, but two are most likely in my experience. Either something has gone wrong in the registry and it needs rebuilding or an op-cache (APC or memcache usually) is out of date/corrupt.

To fix the registry use registry rebuild: If you have drush installed, download the Registry Rebuild module for drush: drush dl registry_rebuild

Then run: drush rr

To fix the op-cache: Restart the service that controls it (Apache often, but that depends on your server setup), or use the service's built-in clearing mechanism.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.