Error Log On Server

Hi

Does anyone know why I keep getting these messages in my error log on the server?



[03-Feb-2015 06:24:57 Europe/London] PHP Notice: Undefined offset: 1 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 6945

[03-Feb-2015 06:24:57 Europe/London] PHP Notice: Undefined offset: 2 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5313

[03-Feb-2015 06:24:57 Europe/London] PHP Notice: Undefined offset: 2 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5314

[03-Feb-2015 06:24:57 Europe/London] PHP Notice: Undefined offset: 1 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5317

[03-Feb-2015 06:24:57 Europe/London] PHP Notice: Undefined offset: 1 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5363



[03-Feb-2015 07:40:21 Europe/London] PHP Notice: Undefined offset: 1 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 6945

[03-Feb-2015 07:40:21 Europe/London] PHP Notice: Undefined offset: 2 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5313

[03-Feb-2015 07:40:21 Europe/London] PHP Notice: Undefined offset: 2 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5314

[03-Feb-2015 07:40:21 Europe/London] PHP Notice: Undefined offset: 1 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5317

[03-Feb-2015 07:40:21 Europe/London] PHP Notice: Undefined offset: 1 in /home/xxxxx/public_html/app/functions/fn.catalog.php on line 5363



They don't seem to cause any problems, but I get them all the time and mostly it is the same 5!!!



Thanks in advance



Barry

BUMP



I have been keeping an eye on these errors and the same group keep repeating, today between 07.00 - 13.00 they appear 18 times.



Has anyone got any idea what is happening?



Regards

Barry :-)

[size=3][font=arial,helvetica,sans-serif][color=#000000]“[/color][color=#282828]Undefined” [/color][color=#000000]means its referring to an array key that doesn't exist. [/color]

[color=#000000]“Offset” [/color][color=#000000]refers to the integer key of a numeric array.[/color]

[color=#000000]Example:[/color][/font][/size]

[size=3][font=arial,helvetica,sans-serif]
$s_arr=array("apple", "banana");
print $s_arr[2]; //undefined offset
[/font][/size]

[size=3][font=arial,helvetica,sans-serif][color=#000000]What code do you have on that lines?[/color]

Did you edited that file?

Try to replace that file ([color=#282828]fn.catalog.php) with orginale one.[/color][/font][/size]

[quote name='Anaconda' timestamp='1423698624' post='205084']

[size=3][font=arial,helvetica,sans-serif][color=#000000]“[/color][color=#282828]Undefined” [/color][color=#000000]means its referring to an array key that doesn't exist. [/color]

[color=#000000]“Offset” [/color][color=#000000]refers to the integer key of a numeric array.[/color]

[color=#000000]Example:[/color][/font][/size]

[size=3][font=arial,helvetica,sans-serif]
$s_arr=array("apple", "banana");
print $s_arr[2]; //undefined offset
[/font][/size]

[size=3][font=arial,helvetica,sans-serif][color=#000000]What code do you have on that lines?[/color]

Did you edited that file?

Try to replace that file ([color=#282828]fn.catalog.php) with orginale one.[/color][/font][/size]

[/quote]



Hi Thanks for the reply.



I haven't edited this file at all, I will try what you suggest and copy original file back.



Will let you know.

Thanks

Barry

I have seen the following in error log. Any idea to fix? Thank you!



PHP Notice: Undefined index: price in /my-domain.com/public_html/app/functions/fn.catalog.php on line 501