Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm getting the following warning when I got to the BOTCHA configuration page:
warning: Missing argument 3 for Application::getAdminForm(), called in /home/MYDOMAIN/public_html/sites/all/modules/botcha/controller/application/botcha.application.controller.inc on line 409 and defined in /home/MYDOMAIN/public_html/sites/all/modules/moopapi/component/moopapi.component.inc on line 142.
What to do?
Comments
Comment #1
HallSL CreditAttribution: HallSL commentedFollowing up on my own issue... can't quite tell what's going on. The flood of bogus users has stopped, but BOTCHA's statistics say that it's stopped only 4 submissions. The above error continues to appear on the configuration page.
Comment #2
iva2k CreditAttribution: iva2k commentedBotcha 6.x-3.x-dev works with moopapi 6.x-1.2. Do you have moopapi 6.x-1.x-dev installed? That will explain the error as the API has changed (for making it consistent between 6.x and 7.x).
The current solution is to downgrade moopapi. Please respond if that helps.
For the maintainers of Botcha & Moopapi - we need to coordinate API changes better and mention those in the documentation. For this one, what's the plan to release moopapi API changes? need to synchronize release of Botcha to address moopapi API changes.
Comment #3
PhobosK CreditAttribution: PhobosK commentedJust to note that there is a new moopapi version - 6.x-1.3 and BOTCHA 6.x-3.0 doesn't work with it throwing a message similar to the above the OP has shown... So a downgrade to moopapi 6.x-1.2 helps.
Comment #4
rwohleb@iva2k PLEASE update the project page and README to reflect the requirement for moopapi 1.2.
Comment #5
iva2k CreditAttribution: iva2k commentedThanks for the note, I updated the project page with an installation note.
So far it sounds that for this issues a workaround is to downgrade Moopapi to 6.x-1.2.