Skip to content

CI3 and PHP8.1(ctype_digit(): Argument of type int will be interpreted as string in the future)  #6285

Open
@Obata2024

Description

@Obata2024

When trying to use PostgreSQL under the given conditions, the following error occurs:

A PHP Error was encountered
Severity: 8192

Message: ctype_digit(): Argument of type int will be interpreted as string in the future

Filename: postgre/postgre_driver.php

Line Number: 98

Should I modify the postgre/postgre_driver.php file to resolve this? If it’s acceptable, I can submit a PR.

Also, has anyone resolved the same issue using an override?
I attempted to create a custom class under the application/core directory to override it, but this error still persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions