Open psmits1567 opened 3 years ago
After creating the table with missing fields there is another php error in the next table
[25-Oct-2021 10:59:35 UTC] WordPress database error Unknown column 'locale' in 'field list' for query SELECT locale
, all
AS all_count
, waiting
AS waiting_count
, current
AS current_count
, fuzzy
AS fuzzy_count
FROM translate_project_translation_status
WHERE project_id
= 2 AND locale_slug
= 'default' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, gp_run_route, GP_Router->route, WordPressdotorg\GlotPress\Routes\Routes\Index->get_locales, WordPressdotorg\GlotPress\Routes\Plugin::get_translation_status
After starting the meta-environment I noticed an error about a missing table This might be the root cause of the other errors regarding $locale->english_name
[25-Oct-2021 10:10:28 UTC] WordPress database error Table 'wordpressorg_dev.wporg_locales' doesn't exist for query SELECT locale FROM wporg_locales made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('/srv/www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WordPressdotorg\LocaleDetection\init, WordPressdotorg\LocaleDetection\Detector->__construct, WordPressdotorg\LocaleDetection\Detector->get_active_locales [25-Oct-2021 10:10:28 UTC] WordPress database error Unknown column 'locale' in 'field list' for query SELECT
locale
,all
ASall_count
,waiting
ASwaiting_count
,current
AScurrent_count
,fuzzy
ASfuzzy_count
FROM translate_project_translation_status WHEREproject_id
= 2 ANDlocale_slug
= 'default' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, gp_run_route, GP_Router->route, WordPressdotorg\GlotPress\Routes\Routes\Index->get_locales, WordPressdotorg\GlotPress\Routes\Plugin::get_translation_status [25-Oct-2021 10:10:28 UTC] PHP Notice: Trying to get property 'slug' of non-object in /srv/www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/index-locales.php on line 43