Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$item[$value['field_name']] = stripwhitespace(nv_convert(strip_tags($element->find($el[0],$el[1])->innertext)));
抛出此错误:
Notice: Trying to get property of non-object in /home/../feednew.php on line 161** >> >innertext
这部分代码:$element->find($el[0], $el[1])不返回任何对象。你必须找出原因。也许,你的搜索参数$el[0]和$el[1]错误,也许函数本身不完整。我们无法从这行代码中获得更多信息。
$element->find($el[0], $el[1])
$el[0]
$el[1]