-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Call to undefined method GridFieldBulkManager #80
Comments
You need to install http://addons.silverstripe.org/add-ons/colymba/gridfield-bulk-editing-tools in order to make this module work. This is a new dependency as of 2 months ago. However, I feel that although this module solves a valid problem, perhaps it should be an optional dependency rather than a mandatory one? It would be ideal if all "core" silverstripe modules only relied on one another. What do you feel about this @wilr? |
Hi tractorcow, Thanks for reply. But the thing is that GridFieldBulkEditingTools is already installed and works well for other modules. |
I should have seen that, sorry! The method does seem to exist in the bulk manager module at https://github.com/colymba/GridFieldBulkEditingTools/blob/master/code/GridFieldBulkManager.php#L35 Can you please confirm which version of the module you are using? Version 1.5 of the bulk manager module doesn't have this method, so you will need to use the master branch (or just do composer update if you're managing your dependencies with composer). |
Hi tractorcow, |
Well, that was the probleem indeed: I updated GridFieldBulkEditingTools to the current master and now it works. |
Great. :) |
This should be documented in the "Requirements" section of the readme! |
I get a server error in Silversripe CMS when I click the comments module. In my apache error log I see this error:
PHP Fatal error: Call to undefined method GridFieldBulkManager::addBulkAction() in /home/broval/domains/broval.biz/public_html/comments/code/CommentAdmin.php on line 53, referer: http://www.broval.biz/admin/comments/
The text was updated successfully, but these errors were encountered: