Neglected: The class object cannot be converted to a string.
Source: Internet
Author: User
Error: The class object cannot be converted to a string. if you set ignore on the server side? Catchable & nbsp; fatal & nbsp; error: & nbsp; Object & nbsp; of & nbsp; class & nbsp; cocould & nbsp; not & nbsp; be & nbsp; converted & n error: the class object cannot be converted to a string. if you set ignore on the server side?
Catchable fatal error: Object of class cocould not be converted to string in
Error: The class object cannot be converted to a string.
It is said that this is because: php5 cannot use = to directly assign the object value to the variable, = and = & are all the same as the reference of the object rather than the copy object. so when the object is closed, the value referenced by $ a is gone.
So how can I set it on the server so that php5 can directly pass the = variable without converting the library string? In this way, there will be no error message shared:
------ Solution --------------------
Maybe it's your PEAR version.
This is rarely used in China. you can ask on a foreign website.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service