Today, I was configuring roles and users inside SuiteCRM version 8.6, which is hosted on a Debian server, and I am unable to export data.
I went into the configuration and enabled Developer Mode and changed the name of SuiteCRM to Ocampo-CRM.
After saving the configuration, my page now shows this error:
“Oops! An Error Occurred
The server returned a “500 Internal Server Error”.
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.”
I checked the logs, and there are many errors:
sudo cat /var/www/html/ocmx/ocampocrm/logs/prod/prod.log
The logs show many errors, such as:
[2024-12-27 17:50:18] php.INFO: User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in “ApiPlatform\Symfony\Security\ResourceAccessChecker::__construct()” is deprecated and will always be false in 3.0, you should stop using it. {“exception”:“[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The $exceptionOnNoToken parameter in "ApiPlatform\Symfony\Security\ResourceAccessChecker::__construct()" is deprecated and will always be false in 3.0, you should stop using it. at /var/www/html/ocmx/ocampocrm/vendor/api-platform/core/src/Symfony/Security/ResourceAccessChecker.php:49)”}
I also tried searching in the database and couldn’t find any related entries.
Another approach was to modify the .env file in /ocampocrm/ and add:
###> symfony/framework-bundle ###
APP_ENV=prod
APP_DEBUG=0
Additionally, I checked the core_services.yaml file but couldn’t find anything related to the issue. The problem is that I haven’t had a backup for the last week.
Can anyone help me?