JsonLD: Parsing for some sites is broken, maybe a schema.org change: Loading http://schema.org failed
Code that has been working fine for a few months started breaking today. Any time I feed in a site with JsonLD to get checked for structured data. I get:
Message: Loading http://schema.org failed Code: loading remote context failed
I can visit schema.org just fine with a web browser, so it’s not some sort of block in place.
It is also happening to other people using another library that relies on this one: https://github.com/jkphl/micrometa/issues/34
It’s this section in Processor.php (vendor/ml/json-ld/Processor.php) that’s throwing the error. In the processContext function.
try {
$remoteContext = $this->loadDocument($remoteContext);
} catch (JsonLdException $e) {
throw new JsonLdException(
JsonLdException::LOADING_REMOTE_CONTEXT_FAILED,
"Loading $remoteContext failed",
null,
null,
$e
);
}
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (1 by maintainers)
Thanks @RichardWallis. Closing this issue now. Please re-open if there are still issues.