Method does not exist or incorrect signature
Detection
- RegExp:
Error (.*) Method does not exist or incorrect signature: (.*)
Examples
Error InvoiceService Method does not exist or incorrect signature: void send(Invoice__c) from the type InvoiceMailer (12:20)
Resolution
{1} calls {2}, which does not exist with these parameter types in the target org.
- Deploy the new version of the class that holds the method with {1}: With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- Check the parameter types and the visibility (public, global) of the method