This normaly is a problem related with data type mixing. You define and populates a variable as an array, but make reference of that variable as an string. Perhaps, some envoripment manager code is causing the problem. 2010/3/23 lxzou2008_china <lxzou2008_china@xxxxxxxxxxxx> > > > > 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 <php-objects%40yahoogroups.com>, > 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 > > > > > -- Altamiro Teixeira de Souza [Non-text portions of this message have been removed] ------------------------------------ Are you looking for a PHP job? Join the PHP Professionals directory Now! http://www.phpclasses.org/jobs/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php-objects/join (Yahoo! ID required) <*> To change settings via email: php-objects-digest@xxxxxxxxxxxxxxx php-objects-fullfeatured@xxxxxxxxxxxxxxx <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/