Bug: Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Log.page' in 'where clause'
Ansah7 opened this issue · comments
Actual behavior
When i click on Next under application logs in MISP UI. It does not show any besides this:
Expected behavior
The logs on the next page should be displayed.
Steps to reproduce
1. Login as site admin and follow the below. Hover around logs and then click on Application logs
2. Click on next
3. The below is seen. The logs in the next page do not appear
Version
2.4.191
Operating System
Debian
Operating System version
11-bullseye
PHP version
7.4
Browser
Chrome, Edge
Browser version
No response
Relevant log output
2024-05-17 11:09:59 Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Log.page' in 'where clause'
Request URL: /logs/index/page:2
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(502): PDOStatement->execute()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(468): DboSource->_execute()
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(715): DboSource->execute()
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(1226): DboSource->fetchAll()
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(3053): DboSource->read()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(3025): Model->_readDataSource()
#6 /var/www/MISP/app/Model/AppModel.php(4220): Model->find()
#7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Component/PaginatorComponent.php(212): AppModel->find()
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(1107): PaginatorComponent->paginate()
#9 /var/www/MISP/app/Controller/LogsController.php(127): Controller->paginate()
#10 [internal function]: LogsController->index()
#11 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs()
#12 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#13 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#14 /var/www/MISP/app/webroot/index.php(101): Dispatcher->dispatch()
#15 {main}
Extra attachments
No response
Code of Conduct
- I agree to follow this project's Code of Conduct