对象不存在的有关问题

WBOY
Release: 2016-06-13 10:23:23
Original
1330 people have browsed it

对象不存在的问题
大家有没有遇到过这种情况“Call to a member function getCustomerIdFieldName() on a non-object in ”

------解决方案--------------------
这问题可能是 没有引入需要的类库文件,include引入,仔细查看头部引入或者这个函数getCustomerIdFieldName()定义了没。
------解决方案--------------------

探讨

引用:

这问题可能是 没有引入需要的类库文件,include引入,仔细查看头部引入或者这个函数getCustomerIdFieldName()定义了没。


主要是用print_r($this->_getResource())打印不出类的详细信息。这个是获取那个类的信息的
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!