Bulk Delete - Unexpected error when calling action

I have a clean install of SuiteCRM 8.9 on my Ubuntu 24.04 PHP 8.3. I have set the permissions according to the installation doc.

If I try to Bulk Delete 2 Contacts. An error “Unexpected error when calling action” is displayed. The first Contact is deleted but not the 2nd. I can delete Contacts individually. I have the same problem with Leads.

suitecrm.log shows no errors.
prod.log shows error:

Fri Oct 10 2025 at 00:01:43 [43230][1][FATAL] error loading relationship project_resource
Fri Oct 10 2025 at 00:01:43 [43230][1][FATAL] error loading relationship am_projecttemplates_resources
Fri Oct 10 2025 at 00:01:43 [43230][1][FATAL] Bean file does not exist in path: modules/Contacts/Contact.php

I delete all files and tables then installed 8.8.1. I don’t get the same problem with 8.8.1!

Hello,

yes, unfortunately that is an issue since 8.9
So far, I’ve told the customers who needed this feature just to work around it by deleting one by one.

Good time to create an issue for it:

Ouch, I have 200 records to delete.

Hello Vincent,

the issue has already been resolved. Likely in 8.9.1, after the upgrade it works again.

If it’s urgent, you can apply the code fixes by yourself already:

Alternatively, you could try your select your data to delete directly in the DB and set deleted = 1.
(or try it via an import)

Hello @bc8 ,

It looks like there’s a bug in “SuiteCRM 8.9” related to the “Bulk Delete” functionality.
When I try to bulk delete multiple records, it shows the error:

“Unexpected error when calling action”

Only the “first record” gets deleted — the rest remain in the list.

I tested the same scenario on “SuiteCRM 8.8.1”, and it works perfectly there, so this issue seems to be specific to version ‘8.9’.

Until this is fixed in an upcoming release, a temporary workaround is to “delete the records directly from the database”.

Thanks

I can wait until official release… I assume 8.9.1 is not yet public.