Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP error when starting meta-environment #168

Open
psmits1567 opened this issue Oct 25, 2021 · 1 comment
Open

PHP error when starting meta-environment #168

psmits1567 opened this issue Oct 25, 2021 · 1 comment

Comments

@psmits1567
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant