KETSE / casebox

Casebox: Secure all your information and team communication in one place
https://www.casebox.org
215 stars 120 forks source link

"An error occured - Please contact the administrators" when trying to restore a file from Recycle Bin #86

Open adonisd opened 4 years ago

adonisd commented 4 years ago

When trying to restore a file from Recycle bin, I am getting the error "An error occured - Please contact the administrators" and in /var/www/casebox/var/logs/default.log I am getting this error:

`

[2019-08-09 10:20:44] security.DEBUG: User was reloaded from a user provider. {"username":"root","provider":"Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider"} []

[2019-08-09 10:20:44] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "User Error: 2019-08-09 10:20:44:   <br /><hr />Query error (casebox): <hr /><br />   <br /><hr />Query: INSERT INTO action_log (`object_id`,`object_pid`,`user_id`,`action_type`,`data`,`activity_data_db`) VALUES (:p1,:p2,:p3,:p4,:p5,:p6)2019-08-09 10:20:44:   <br /><hr />Query error (casebox): <hr /><br />  " at /var/www/casebox/vendor/caseboxdev/core-bundle/src/Service/DBService.php line 194 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): User Error: 2019-08-09 10:20:44: \n\r<br /><hr />Query error (casebox): <hr /><br />\n\r\n\r<br /><hr />Query: INSERT INTO action_log (`object_id`,`object_pid`,`user_id`,`action_type`,`data`,`activity_data_db`) VALUES (:p1,:p2,:p3,:p4,:p5,:p6)2019-08-09 10:20:44: \n\r<br /><hr />Query error (casebox): <hr /><br />\n\r at /var/www/casebox/vendor/caseboxdev/core-bundle/src/Service/DBService.php:194)"} []

[2019-08-09 10:20:44] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []

`

As you can see in the error the values are not populating properly but instead they are still ":p1,:p2" etc ..

Version: Latest pull from GIT