meta-environment icon indicating copy to clipboard operation
meta-environment copied to clipboard

PHP error when starting meta-environment

Open psmits1567 opened this issue 3 years ago • 1 comments

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 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 [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

psmits1567 avatar Oct 25 '21 10:10 psmits1567

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

psmits1567 avatar Oct 25 '21 11:10 psmits1567