maybe this url will give you some help: http://informationideas.com/news/2006/06/14/fatal-error-cannot-use-string-offset-as-an-array-in/ --- In php-objects@xxxxxxxxxxxxxxx, abhishek jain <ejaincom@...> wrote: > > Hi friends, > I used to have a dedicated server, i recently bought shared hosting, immediately after that i am getting the following error message, > > Fatal error: Cannot use string offset as an array in > > The code works fine on previous server and on my machine, can it be a php version issue , but in my local server and shared hosting both are PHP5. > > -- > Regards, > Abhishek jain >