Comments (6)
The error is a known issue, as reported here:
And a pull request that aims to solve it:
from wordpress-playground.
The main issue was that Site Health expects to be running within a fully functional hosting environment, which while the WASM is mostly a fully functional PHP environment, it's actually a pretty limited hosting environment.
At the time, loopback http requests was also failing (as HTTP requests weren't supported), which caused a bunch of issues.
Ultimately, that would throw a whole bunch of warnings about how bad the hosting environment was :)
I'd recommend running it locally (That's not a hard thing to do) and disable the site health disabler, and work through anything that it flags up.
from wordpress-playground.
As of wp-now 0.1.54, the Site Health option is still available in the admin menu:
Though it gives the following error:Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /var/www/html/wp-content/plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-translator.php:2427
To add to @eliot-akira’s response, this issue was about disabling site health in the in-browser version of Playground. It is not disabled in Wp-now as wp-now supports mysql
from wordpress-playground.
Could be useful (props to @dd32):
It looks like removing the view_site_health_checks cap can be done, by removing this function:
https://developer.wordpress.org/reference/functions/wp_maybe_grant_site_health_caps/
add_filter( 'user_has_cap', 'wp_maybe_grant_site_health_caps', 1, 4 );
from wordpress-playground.
I was very confused that Site Health was disabled/missing. Can this be reconsidered? Maybe we can patch core to add a function_exists
check?
from wordpress-playground.
As of wp-now 0.1.54, the Site Health option is still available in the admin menu:
Though it gives the following error:
Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /var/www/html/wp-content/plugins/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-translator.php:2427
from wordpress-playground.
Related Issues (20)
- zip fails HOT 1
- Error: memory access out of bounds in unit test HOT 4
- Automatically deploy to playground.wordpress.net right after new Beta / RC HOT 3
- playground block: toggling activation requirement does not change how block is rendered in editor HOT 1
- Unable to Access Pages Due to Anchor URL Structure in React Based Plugin HOT 1
- Browser storage: Unhelpful crash message when outdated code is stored HOT 1
- Add rate limiting to the logger API
- Importfile doesn't work HOT 5
- PHP Class `finfo` not found HOT 20
- PHP memory leak HOT 41
- Feature Request: Add "user role" to the query API HOT 2
- Support ports in multisites
- WooCommerce & Errors - TypeError: Failed to fetch, site crashes etc. HOT 10
- Get Playground on https://make.wordpress.org/hosting/test-results/
- Can't save site settings when unchecking an options – NOT NULL constraint violation HOT 12
- Playground PR Previews as a GitHub App HOT 3
- [VS Code Extension] Specified file failed upload test. HOT 1
- Use @php-wasm/logger for all logs HOT 3
- Error: "unreachable" WASM instruction executed HOT 2
- @php-wasm/logger event.reason is sometimes undefied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-playground.