gh123man / EdgeMax-Client-Viewer

Uses the Edgemax (undocumented) web API to get the static and non static DHCP clients.
3 stars 2 forks source link

Errors #1

Open penwelldlamini opened 7 years ago

penwelldlamini commented 7 years ago

Hi I am getting the following error the trying to connect to my edge router pro with 8 ports and I get the error below. Is there anything that I need to change in the code.

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 215

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 219

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 219

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 219

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 191

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 191

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 196

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 196

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 196

Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 196

Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/EdgeMax-Client-Viewer-master/index.php on line 196

gh123man commented 7 years ago

Interesting. If you are using a different IP range (ie, not 192.167.x.x) that would cause the error on 215. I'm not totally sure about the others since ive only ever tested this on my router with my configuration. If you can drop the script into a debugger, or do a var dump on the affected objects I may be able to help more.