Permission Denied in other languages

I have noticed that when using a translation other than English, many functions do not work on the panel, such as delete account, delete DID, among others, the error that occurs is PERMISSION DENIED.

Version 4.0.1

Exemple deleted DID (panel language portuguese) error in print.

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 3

SELECT * FROM (dids) WHERE product_id IN ()

Filename: /opt/ASTPP/web_interface/astpp/modules/did/controllers/did.php

Line Number: 475

@rgazetta Will you please report it as a bug, so it can be fixed in upcoming releases.

https://jira.astppbilling.org/

This has been done already

Thanks for updating, you can keep track there for same.