PHP Classes

Error

Recommend this page to a friend!

      Array Search  >  All threads  >  Error  >  (Un) Subscribe thread alerts  
Subject:Error
Summary:Warning: array_keys() expects parameter 1 to be array
Messages:2
Author:BratSadLove
Date:2015-08-08 01:32:19
 

  1. Error   Reply   Report abuse  
Picture of BratSadLove BratSadLove - 2015-08-08 01:32:19


Notice: Undefined variable: mysqli in arraysearch\arraySearch.example.php on line 13



Warning: Missing argument 1 for arraySearch::isSequential(), called in arraysearch\arraySearch.class.php on line 39 and defined in arraysearch\arraySearch.class.php on line 32



Notice: Undefined variable: inputArray in arraysearch\arraySearch.class.php on line 33



Warning: array_keys() expects parameter 1 to be array, null given in arraysearch\arraySearch.class.php on line 33



Warning: array_filter() expects parameter 1 to be array, null given in arraysearch\arraySearch.class.php on line 33



Fatal error: Call to a member function query() on null in arraysearch\arraySearch.class.php on line 80

  2. Re: Error   Reply   Report abuse  
Picture of Matthew Knowlton Matthew Knowlton - 2015-08-13 00:27:16 - In reply to message 1 from BratSadLove
Thanks for noticing.
Somehow that bug got past me.

The first error just says you haven't given it a mysqli connection.
The others were because of a bug that is fixed now.