Fatal Memory Error on Schema Aggregation Endpoint
-
Hello Yoast Support Team,
We are encountering a PHP memory exhaustion issue with the Yoast “Schema aggregation endpoint” feature.
When accessing the
/wp-json/yoast/v1/schema-aggregator/get-xml/file, the first URL listed in the discovery XML map throws a fatal out-of-memory error.Currently, the endpoint generates 2 URLs for our domain. Interestingly, the first page crashes while the second page loads perfectly valid schema.
Failing URL (Page 1):
https://www.bussgeld-info.de/wp-json/yoast/v1/schema-aggregator/get-schema/pageWorking URL (Page 2):
https://www.bussgeld-info.de/wp-json/yoast/v1/schema-aggregator/get-schema/page/2Error Log:
PHP
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 15728672 bytes) in /var/www/vhosts/bussgeld-info.de/httpdocs/bussgeld-info.de/wp-includes/class-wpdb.php on line 1763Questions:
- Are you aware of this memory limitation regarding the schema aggregator on larger sites?
- Is there any viable workaround to resolve this?
Thank you for your assistance!
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.