p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Beginning PHP (http://p2p.wrox.com/forumdisplay.php?f=95)
-   -   Getting undefined Offset:0 (http://p2p.wrox.com/showthread.php?t=95151)

latinas October 22nd, 2015 12:31 PM

Getting undefined Offset:0
 
I am very new with php code and I keep getting this error on my site:

OW Debug - Notice
Message: Undefined offset: 0
Line 74

I tried changing the Debug from true to false and viceversa but I doesn't work.

Line 73 and 74 say the following:
usort($this->menuItems, array(BOL_NavigationService::getInstance(), 'sortObjectListByAsc'));
return $this->menuItems[0];

Any ideas what I should change? it doesn't let me get to the admin page of the website. Thanks in advance!


All times are GMT -4. The time now is 10:57 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.