Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Log.page' in 'where clause' #9742

Open
1 task done
Ansah7 opened this issue May 17, 2024 · 0 comments
Labels
needs triage This issue has been automatically labelled and needs further triage

Comments

@Ansah7
Copy link

Ansah7 commented May 17, 2024

Actual behavior

When i click on Next under application logs in MISP UI. It does not show any besides this:
image

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

image

2. Click on next

image

3. The below is seen. The logs in the next page do not appear

image

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
@Ansah7 Ansah7 added the needs triage This issue has been automatically labelled and needs further triage label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has been automatically labelled and needs further triage
Projects
None yet
Development

No branches or pull requests

1 participant