Skip to content

Bug: [Model] BaseBuilder::limit(): Argument #1 ($value) must be of type ?int, string given #8809

Closed
@allyblaise

Description

@allyblaise

PHP Version

8.3

CodeIgniter4 Version

4.5.1

CodeIgniter4 Installation Method

Composer (as dependency to an existing project)

Which operating systems have you tested for this bug?

macOS

Which server did you use?

cli-server (PHP built-in webserver)

Database

ORACLE 19c

What happened?

TypeError: CodeIgniter\Database\BaseBuilder::limit(): Argument #1 ($value) must be of type ?int, string given, called in ../vendor/codeigniter4/framework/system/Model.php on line 919

Steps to Reproduce

Connect to oracle database using OCI8 with php8.2+

Expected Output

Allow database connection without a warning

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseIssues or pull requests that affect the database layerwaiting for infoIssues or pull requests that need further clarification from the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions