Closed
Description
This blueprint is causing an error on Safari (Mac)
[04-Dec-2024 19:35:41 UTC] JavaScript Error: PHP.run() failed with exit code 255 and the following output:
PHPExecutionFailureError@https://playground.wordpress.net/worker-thread-bf1795ed.js:38:437
@https://playground.wordpress.net/worker-thread-bf1795ed.js:53:1916
[04-Dec-2024 19:35:41 UTC] JavaScript Error: Error when executing the blueprint step #5 ({"step":"installTheme","themeData":{"resource":"wordpress.org/themes","slug":"generatepress"}}) : PHP.run() failed with exit code 255 and the following output:
@https://playground.wordpress.net/assets/config-2770b453.js:750:145943
[04-Dec-2024 19:35:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_report() in /wordpress/wp-includes/class-wpdb.php:3
Stack trace:
#0 /wordpress/wp-includes/class-wpdb.php(3): wpdb->db_connect()
#1 /wordpress/wp-includes/load.php(2): wpdb->__construct('username_here', 'password_here', 'database_name_h...', 'localhost')
#2 /wordpress/wp-settings.php(2): require_WordPre
#3 /wordpress/wp-config.php(102): require_once('/wordpress/wp-s...')
#4 /wordpress/wp-load.php(2): require_once('/wordpress/wp-c...')
#5 /internal/eval.php(3): require_once('/wordpress/wp-l...')
#6 {main}
thrown in /wordpress/wp-includes/class-wpdb.php on line 3
The syntax is correct and has been working for weeks. Test here
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done
Activity
asirota commentedon Dec 4, 2024
On Chrome (Mac) we get this instead:
bgrgicak commentedon Dec 5, 2024
@asirota the error message is hard to understand, but the root cause is in Query monitor which isn't supported in Playground.
Your Blueprint should work if you remove Query monitor from the plugin list.
I will close this issue as we are already using #1990 to track Query monitor support, but please feel free to comment if you have any more questions.
asirota commentedon Dec 5, 2024
@bgrgicak thank you so much for your insight. It was running before but I guess causing issues with more recent changes. I really appreciate WordPress Playgrounds!
remove query-monitor
asirota commentedon Dec 5, 2024
Yup that fixed it.