Skip to content

Fatal error: Uncaught ArgumentCountError: #40

Closed
@sir-reynolds

Description

@sir-reynolds

i try code on example insert and run from cli
php react-sqlite.php 50, and this is error information

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Clue\React\SQLite\Factory::__construct(), 0 passed in C:\laragon\www\php-composer-lib\react-sqlite.php on line 8 and exactly 1 expected in C:\laragon\www\php-composer-lib\vendor\clue\reactphp-sqlite\src\Factory.php:29
Stack trace:
#0 C:\laragon\www\php-composer-lib\react-sqlite.php(8): Clue\React\SQLite\Factory->__construct()
#1 {main}
  thrown in C:\laragon\www\php-composer-lib\vendor\clue\reactphp-sqlite\src\Factory.php on line 29

information :

windows 10
Laragon
php 7.2.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions