Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

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

Description

@adonisd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions