Uninitialized string offset

is when you have string and trying to access its element that doesnt exist ie

$a = 'bla';
$a[0]; // ok
$a[5]; // notice

why its happening in your code? i dont know you dont want to post any code ive asked you to.