It may be a certain module or plugin creating the error. I'd suggest re-installing the Prestashop Main files in case you haven’t already. Remember to deal with errors gracefully when Doing the job with the PrestaShop API. You should definitely check the status code with the response and deal with https://addons.prestashop.com/pl/seo-pozycjonowanie-naturalne/31857-automatyczne-google-rich-snippets-json-ld-opengraph-seo.html