Exception: API error: Could not delete payment processor type
Created by: dragonjon
I use Drupal 7.54 and Civicrm 4.5.8 and the version 1.7 module. When I enable some module in drupal or I perform some operation in the page of extensions of CIVI I get the general error "Could not delete payment processor" In the Drupal log I get the following 2 messages:
- Exception: API error: Could not delete payment processor type in CRM_Core_ManagedEntities-> onApiError () (line 396 of /home/public_html/sites/all/modules/civicrm/CRM/Core/ManagedEntities.php).
- $ ManagedEntities_failed = Array ([entity] => PaymentProcessorType [action] => delete [params] => Array ([version] => 3 [id] => 15) [result] => Array ([is_error] = > 1 [error_message] => Could not delete payment processor type))
The second message also appears in the CIVIcrm log in another format:
May 29 12:45:03 [info] $ ManagedEntities_failed = Array ( [Entity] => PaymentProcessorType [Action] => delete [Params] => Array ( [Version] => 3 [Id] => 15 )
[Result] => Array ( [Is_error] => 1 [Error_message] => Could not delete payment processor type )
)
The ID = 15 corresponds to the module I have reviewed in the database.
I have not tried to delete the module or anything, since we are using it in production. Where can I undo that command given to the API to delete that type of payment processor.
Thanks in advance and good work Jon