
Randy Brachman - 2022-12-08 01:24:11
Not sure if this is where to post my issue, but...
This code (line 9):
$db->make(['field1' => 'aaaa','field2' => 'John']);
gives this result:
Fatal error: Uncaught TypeError: Unsupported operand types: string + int in F:\...\...\Nanobase.php:923 Stack trace: #0 F:\...\...\test1.php(9): Nanobase->make(Array) #1 {main} thrown in F:\...\...\Nanobase.php on line 923
My search says this is PHP 8 issue (I'm on PHP Version 8.1.6): "The error ... only occurs on PHP 8 and it is because you're trying to add a string to an integer.