Jump to content

PS 1.7.5.1 Employee Logs "object_id not found in params array"


My CoCo

Recommended Posts

Hi

Last time I use the Employee log (might be last year) there is no Error... in Employee Log...

But Now days, I got this error when I click the Employee Log.

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.

The Error Log as follows.

Quote

[2021-03-29 22:16:33] request.INFO: Matched route "admin_logs_index". {"route":"admin_logs_index","route_parameters":{"_controller":"PrestaShopBundle\\Controller\\Admin\\Configure\\AdvancedParameters\\LogsController::indexAction","_legacy_controller":"AdminLogs","_legacy_link":"AdminLogs","_route":"admin_logs_index"},"request_uri":"https://domain.dom/admin/index.php/configure/advanced/logs/?_token=M4mYMl5Xvvn53Y7JUr1osSZs9vDzKx3YDs4n3UJfpTk","method":"GET"} []
[2021-03-29 22:16:33] security.DEBUG: Read existing security token from the session. {"key":"_security_main","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2021-03-29 22:16:33] security.DEBUG: User was reloaded from a user provider. {"provider":"PrestaShopBundle\\Security\\Admin\\EmployeeProvider","username":"[email protected]"} []
[2021-03-29 22:16:33] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\DBALException: "An exception occurred while executing 'SELECT l.*, e.email, CONCAT(e.firstname, ' ', e.lastname) as employee FROM ps_log l LEFT JOIN ps_employee e ON l.id_employee = e.id_employee WHERE (object_id LIKE :object_id) AND (l.date_add BETWEEN :date_from AND :date_to) ORDER BY id_log desc LIMIT 10 OFFSET 0' with params ["2019-12-30", "2019-12-31"]:  Value for :object_id not found in params array. Params array key should be "object_id"" at /vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 131 {"exception":"[object] (Doctrine\\DBAL\\DBALException(code: 0): An exception occurred while executing 'SELECT l.*, e.email, CONCAT(e.firstname, ' ', e.lastname) as employee FROM ps_log l LEFT JOIN ps_employee e ON l.id_employee = e.id_employee WHERE (object_id LIKE :object_id) AND (l.date_add BETWEEN :date_from AND :date_to) ORDER BY id_log desc LIMIT 10 OFFSET 0' with params [\"2019-12-30\", \"2019-12-31\"]:\n\nValue for :object_id not found in params array. Params array key should be \"object_id\" at /vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:131, Doctrine\\DBAL\\SQLParserUtilsException(code: 0): Value for :object_id not found in params array. Params array key should be \"object_id\" at /vendor/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtilsException.php:41)"} []
[2021-03-29 22:16:33] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []

Any clue on how resolving the issue?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...