Skip to content

PHP error when starting meta-environment #168

@psmits1567

Description

@psmits1567

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions