Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 22nd, 2015, 12:31 PM
Registered User
Join Date: Oct 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined offset error agoTimeFormat class farwall.ghost Beginning PHP 8 June 16th, 2013 02:38 AM
Undefined Offset 7thsense101 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 December 9th, 2009 06:49 AM
undefined offset error trev Beginning PHP 9 January 24th, 2007 04:41 AM
Notice: Undefined offset: ## Herjan BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 November 27th, 2005 12:29 PM
ImageLine Undefined offset error ss2003 Beginning PHP 3 January 13th, 2004 04:37 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.