Sensei ha honto desu ne. But I am sure that you appreciate that in this case there was no harm in commenting out the offending line, however as you point out indiscriminate commenting leads to takusan mondai da na!

I'm sure that this is a sypmtom of a deeper problem and as you say the underlying cause may be an issue. Any ideas why $globals['name'] isn't a string?