Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

PHP Notice error on Line 105


Reply


2 Posts   17578 Views

Avatar
robvdl

Community Member, 5 Posts

31 May 2008 at 2:31pm

I log all PHP errors on my server, I also turn on PHP notices as this helps me better debug my own PHP code for other PHP projects. As soon as I put Silverstripe 2.2.2 on my server, it always creates the same notice error in my log file, it's full of the following errors:

[30-May-2008 23:59:25] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[30-May-2008 23:59:25] PHP Stack trace:
[30-May-2008 23:59:25] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 00:01:12] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 00:01:12] PHP Stack trace:
[31-May-2008 00:01:12] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 00:03:15] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 00:03:15] PHP Stack trace:
[31-May-2008 00:03:15] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 01:08:06] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 01:08:06] PHP Stack trace:
[31-May-2008 01:08:06] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 01:19:28] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 01:19:28] PHP Stack trace:
[31-May-2008 01:19:28] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 01:20:32] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 01:20:32] PHP Stack trace:
[31-May-2008 01:20:32] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 01:21:40] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 01:21:40] PHP Stack trace:
[31-May-2008 01:21:40] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 01:27:47] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 01:27:47] PHP Stack trace:
[31-May-2008 01:27:47] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 01:42:57] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 01:42:57] PHP Stack trace:
[31-May-2008 01:42:57] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 02:19:15] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 02:19:15] PHP Stack trace:
[31-May-2008 02:19:15] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0
[31-May-2008 10:00:36] PHP Notice: Undefined offset: 1 in /home/brian/public_html/sapphire/main.php on line 105
[31-May-2008 10:00:36] PHP Stack trace:
[31-May-2008 10:00:36] PHP 1. {main}() /home/brian/public_html/sapphire/main.php:0

Avatar
robvdl

Community Member, 5 Posts

31 May 2008 at 4:29pm

By the way, SilverStripe is working properly and all, it's just that it's not nice the log files continuously get littered with all these notice errors.