PHP Classes

Other errors after commenting the $_node paramneter

Recommend this page to a friend!

      PHP JSON DB Library  >  All threads  >  Other errors after commenting the...  >  (Un) Subscribe thread alerts  
Subject:Other errors after commenting the...
Summary:after resolving the first error the following errors appear
Messages:1
Author:alexandru traian
Date:2019-05-10 15:58:48
 

  1. Other errors after commenting the...   Reply   Report abuse  
Picture of alexandru traian alexandru traian - 2019-05-10 15:58:49
Notice: Undefined index: __map in /Users/talexandru/Documents/htbase/test/jsondb-2019-05-09/JsonDb.php on line 76
Call Stack
# Time Memory Function Location
1 0.0011 395760 {main}( ) .../index.php:0
2 0.0016 400976 Nahid\JsonDb->where( ) .../index.php:24
3 0.0016 400976 Nahid\JsonDb->makeWhere( ) .../JsonDb.php:113
4 0.0016 400976 Nahid\JsonDb->getData( ) .../JsonDb.php:91

( ! ) Warning: array_filter() expects parameter 1 to be array, boolean given in /Users/talexandru/Documents/htbase/test/jsondb-2019-05-09/JsonDb.php on line 272
Call Stack
# Time Memory Function Location
1 0.0011 395760 {main}( ) .../index.php:0
2 0.0016 400976 Nahid\JsonDb->where( ) .../index.php:24
3 0.0016 400976 Nahid\JsonDb->makeWhere( ) .../JsonDb.php:113
4 0.0017 400976 Nahid\JsonDb->runFilter( ) .../JsonDb.php:92
5 0.0018 401016 Nahid\JsonDb->whereEqual( ) .../JsonDb.php:86
6 0.0018 401712 array_filter ( ) .../JsonDb.php:272

( ! ) Notice: Undefined index: __map in /Users/talexandru/Documents/htbase/test/jsondb-2019-05-09/JsonDb.php on line 76
Call Stack
# Time Memory Function Location
1 0.0011 395760 {main}( ) .../index.php:0
2 0.0019 403128 Nahid\JsonDb->first( ) .../index.php:24
3 0.0019 403128 Nahid\JsonDb->getData( ) .../JsonDb.php:136

( ! ) Notice: Trying to get property 'cat' of non-object in /Users/talexandru/Documents/htbase/test/jsondb-2019-05-09/index.php on line 26
Call Stack
# Time Memory Function Location
1 0.0011 395760 {main}( ) .../index.php:0