Open juanmaguitar opened 2 weeks ago
Error
[18-Jun-2024 08:58:54 UTC] PHP Fatal error: Uncaught Error: Undefined constant "Automattic\Jetpack\Status\DNS_NS" in /wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php:149
Stack trace:
#0 /wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php(219): Automattic\Jetpack\Status\Host->get_nameserver_dns_records('playground.word...')
#1 /wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php(273): Automattic\Jetpack\Status\Host->get_hosting_provider_by_nameserver('playground.word...')
#2 /wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php(393): Automattic\Jetpack\Status\Host->get_known_host_guess()
#3 /wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php(244): Automattic\Jetpack\My_Jetpack\Initializer::is_user_from_known_host()
#4 /wordpress/wp-includes/class-wp-hook.php(3): Automattic\Jetpack\My_Jetpack\Initializer::enqueue_scripts('jetpack_page_my...')
#5 /wordpress/wp-includes/class-wp-hook.php(3): WP_Hook->apply_filters(NULL, Array)
#6 /wordpress/wp-includes/plugin.php(2): WP_Hook->do_action(Array)
#7 /wordpress/wp-admin/admin-header.php(17): do_action('admin_enqueue_s...', 'jetpack_page_my...')
#8 /wordpress/wp-admin/admin.php(2): require_once('/wordpress/wp-a...')
#9 {main}
thrown in /wordpress/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-status/src/class-host.php on line 149
The following blueprint returns several errors
See
blueprint.json
live in Playground BuilderSee errors returned with the blueprint above
``` Access to fetch at 'https://jetpack.wordpress.com/jetpack.test/1/' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. wordpress-dfeba26b.js:615 GET https://jetpack.wordpress.com/jetpack.test/1/ net::ERR_FAILED 200 (OK) hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 sw.js:4 Event handler of 'message' event must be added on the initial evaluation of worker script. (anonymous) @ sw.js:4 A @ sw.js:4 N @ sw.js:4 await in N (async) n @ sw.js:4 await in n (async) handleRequest @ sw.js:4 (anonymous) @ sw.js:4 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 remote.html:1 Access to fetch at 'https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack' from origin 'https://playground.wordpress.net' has been blocked by CORS policy: Request header field x-forwarded-for is not allowed by Access-Control-Allow-Headers in preflight response. wordpress-dfeba26b.js:615 GET https://public-api.wordpress.com/rest/v1.1/products?locale=en_US&type=jetpack net::ERR_FAILED hd @ wordpress-dfeba26b.js:615 (anonymous) @ wordpress-dfeba26b.js:615 n @ wordpress-dfeba26b.js:8 worker-thread-a4a5f8de.js?wpVersion=6.5&phpVersion=8.3&php-extension=iconv&php-extension=mbstring&php-extension=xml-bundle&php-extension=gd&networking=yes&storage=&site-slug=wordpress:1 PHP.run() output was: