- Issue created by @hassebasse
- Status changed to Postponed: needs info
over 1 year ago 3:36pm 27 October 2023 - 🇸🇰Slovakia poker10
Thanks for reporting this. The status page is working on clean D7 install on all PHP versions, but this issue can be caused by some contrib modules which are not upgraded for PHP 8+ compatibility, or do not have this compatibility yet. I suggest to check the Drupal logs (Reports -> Recent log messages) to get the full error message, so that we can figure out which contrib module is the root cause of this issue.
- 🇫🇷France hassebasse
Hi
Does this help you? It is in french but I guess you can follow
- TYPE php
- EMPLACEMENT https://www.domain.com/admin/reports/status
- RÉFÉRENT https://www.domain.com/admin/reports/dblog?page=1
- MESSAGE TypeError : PDOStatement::fetchAll(): Argument #2 must be of type int, string given dans PDOStatement->fetchAll() (ligne 2299 dans /home/domain/public_html/includes/database/database.inc).
- IMPORTANCE erreur
- 🇫🇷France hassebasse
It gives the above error everytime I try to reload /admin/reports/status
- 🇸🇰Slovakia poker10
I would start looking for the error message here in the search → . It seems like it is mentioned in a bunch of modules (mostly D8+), but there seems to be some D7 as well (for example Workbench Scheduler). If you are using such module, that could be a root cause of this problem.
This can also be caused by a custom module, if you have one.
- 🇫🇷France hassebasse
Safe cache_form Clear made the trick! If I desactivate it it all work fine, and there are others having experienced the problem, there is even pathces out there.
https://www.drupal.org/project/safe_cache_form_clear/issues/3307395 🐛 Improper fetchCol() use in hook_requirements causes TypeError Needs review
I've forgotten how to implement a D7 patch, so I have to figure that out first. Or maybe I don't need to use the module, I'll try that first.
Thank you for the help !!!