[wp-trac] [WordPress Trac] #58673: WordPress database error when installing PHPUnit tests

WordPress Trac noreply at wordpress.org
Thu Jun 29 18:40:28 UTC 2023


#58673: WordPress database error when installing PHPUnit tests
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 It is reported for example in this [https://github.com/WordPress
 /wordpress-develop/actions/runs/5415134085/jobs/9843141311 job]
 {{{
 WordPress database error:</strong> [Table
 'wordpress_develop_tests.wptests_posts' doesn't exist]<br
 /><code>
                                         SELECT   wptests_posts.ID
                                         FROM wptests_posts
                                         WHERE 1=1  AND (
   0 = 1
 ) AND wptests_posts.post_type = 'wp_global_styles' AND
 ((wptests_posts.post_status = 'publish'))
                                         GROUP BY wptests_posts.ID
                                         ORDER BY wptests_posts.post_date
 DESC
                                         LIMIT 0, 1
                                         SELECT   wptests_posts.ID
                                         FROM wptests_posts
                                         WHERE 1=1  AND (
   0 = 1
 ) AND wptests_posts.post_type = 'wp_global_styles' AND
 ((wptests_posts.post_status = 'publish'))
                                         GROUP BY wptests_posts.ID
                                         ORDER BY wptests_posts.post_date
 DESC
                                         LIMIT 0, 1
                                  made by require_once('wp-settings.php'),
 do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters,
 call_user_func_array, WP_Duotone::set_global_style_block_names,
 WP_Theme_JSON_Resolver::get_merged_data,
 WP_Theme_JSON_Resolver::get_user_data,
 WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles,
 WP_Query->query, WP_Query->get_posts
 }}}
 I noticed it in WP 6.3-beta2-56110. It is not reported in WP 6.3-beta2

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58673>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list