AVoid warning when fetching page data
This commit is contained in:
parent
be3fb5f205
commit
7ac76639c5
|
@ -1116,7 +1116,7 @@ class ParseUrl
|
|||
}
|
||||
|
||||
$content = JsonLD::fetchElement($jsonld, 'image', 'url', '@type', 'ImageObject');
|
||||
if (!empty($content)) {
|
||||
if (!empty($content) && is_string($content)) {
|
||||
$jsonldinfo['author_img'] = trim($content);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user