Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /htdocs/wp-includes/rest-api/class-wp-rest-server.php on line 999

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /htdocs/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-package-version.php on line 1