Deprecated: Return type of bar::fetch($how = null, $orientation = null, $offset = null) should either be compatible with PDOStatement::fetch(int $mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/YVHqv on line 6
fetch
Deprecated: PDOStatement::fetch(): Passing null to parameter #1 ($mode) of type int is deprecated in /in/YVHqv on line 8
Deprecated: PDOStatement::fetch(): Passing null to parameter #2 ($cursorOrientation) of type int is deprecated in /in/YVHqv on line 8
Deprecated: PDOStatement::fetch(): Passing null to parameter #3 ($cursorOffset) of type int is deprecated in /in/YVHqv on line 8
Fatal error: Uncaught Error: PDO object is uninitialized in /in/YVHqv:8
Stack trace:
#0 /in/YVHqv(8): PDOStatement->fetch(NULL, NULL, NULL)
#1 /in/YVHqv(12): bar->fetch()
#2 {main}
thrown in /in/YVHqv on line 8
Process exited with code 255.
Output for 8.0.0 - 8.0.30
fetch
Fatal error: Uncaught Error: PDO object is uninitialized in /in/YVHqv:8
Stack trace:
#0 /in/YVHqv(8): PDOStatement->fetch(NULL, NULL, NULL)
#1 /in/YVHqv(12): bar->fetch()
#2 {main}
thrown in /in/YVHqv on line 8
Process exited with code 255.