标签:
Fatal error: main(): The script tried to execute a method or access a property of an incomplete object.
Please ensure that the class definition "xx类"; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition
使用反序列化对象时候,要提前定义类。
使用include把自己的"xx类"包含进来。
标签:
原文地址:http://www.cnblogs.com/bmwa/p/5066248.html