Skip to content

php fatal Error: Call to a member function getAction() on array in...

Deepak Srivastava requested to merge mountev/civimobileapi:php-error into master

fix for php fatal Error: Call to a member function getAction() on array in civimobileapi_civicrm_buildForm() (line 463 of ...civicrm/extensions/com.agiliway.civimobileapi/civimobileapi.php).

Forms like "CRM_Contribute_Form_Contribution" are not an object of CRM/Core/Form.php and therefore fails.

Moving getAction after the formName avoids the problem.

Edited by Deepak Srivastava

Merge request reports

Loading