- πͺπͺEstonia tormi Tallinn
This is not a deprecation warning anymore, it's broken with
softcreatr/jsonpath
:Error: Call to undefined method Flow\JSONPath\JSONPath::data() in FeedsExJsonPathParserFlow->search()
.
Getting warning Calling JSONPath::data() is deprecated, please use JSONPath::getData() instead
on import after switch to use https://github.com/SoftCreatR/JSONPath
Use getData()
on following
/**
* Wraps the Flow JSONPath implementation.
*/
class FeedsExJsonPathParserFlow implements FeedsExJsonPathParserInterface {
/**
* {@inheritdoc}
*/
public function search(array $data, $expression) {
// Use class string so that PHP 5.2 doesn't complain.
$class = 'Flow\JSONPath\JSONPath';
$json_path = new $class($data);
return $json_path->find($expression)->data();
}
}
Postponed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This is not a deprecation warning anymore, it's broken with softcreatr/jsonpath
: Error: Call to undefined method Flow\JSONPath\JSONPath::data() in FeedsExJsonPathParserFlow->search()
.