You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Uncaught TypeError: Argument 5 passed to medoo2\Medoo2::selectContext() must be of the type array or null, object given, called in classes/medoo2/Medoo2.class.php on line 1593 and defined in classes/medoo2/Medoo2.class.php:1163 Stack trace: #0 classes/medoo2/Medoo2.class.php(1593): medoo2\Medoo2->selectContext('adminnetworksco...', Array, Array, Array, Object(medoo2\Raw)) #1 content/netmgmt/find_networks.php(88): medoo2\Medoo2->select('network...', Array, Array, Object(medoo2\Raw)) #2 {main} thrown in classes/medoo2/Medoo2.class.php on line 1163
If I use version 1.7.10 with the same command then it works.
regards
The text was updated successfully, but these errors were encountered:
Hi all,
I have an issue to join tables and use Medoo::RAW as where.
Database: Postgresql
Example:
$join=array('[>]AdminSegmentTypes'=>['segment_types_id'=>'id']);
$where="WHERE network.networkv4 <<= INET'$net' OR network.networkv6 <<= INET'$net'";
$result=$database->select($table,$join,$fields,Medoo2::raw($where) );
Error:
Uncaught TypeError: Argument 5 passed to medoo2\Medoo2::selectContext() must be of the type array or null, object given, called in classes/medoo2/Medoo2.class.php on line 1593 and defined in classes/medoo2/Medoo2.class.php:1163 Stack trace: #0 classes/medoo2/Medoo2.class.php(1593): medoo2\Medoo2->selectContext('adminnetworksco...', Array, Array, Array, Object(medoo2\Raw)) #1 content/netmgmt/find_networks.php(88): medoo2\Medoo2->select('network...', Array, Array, Object(medoo2\Raw)) #2 {main} thrown in classes/medoo2/Medoo2.class.php on line 1163
If I use version 1.7.10 with the same command then it works.
regards
The text was updated successfully, but these errors were encountered: