New installation, persistent errors
-
Hi
I created a new installation on a staging site and I keep getting a variety of errors from the Query Monitor. My product imports keeps aborting and switching between pages returns intermittent critical error pages. I dont know how to fix this, please assist.
get_object_vars() expects parameter 1 to be object, string given
wp-includes/class-wp-post.php:265 get_object_vars() wp-includes/class-wp-post.php:265 WP_Post->__construct() wp-includes/class-wp-post.php:254 WP_Post::get_instance() wp-includes/post.php:1007 get_post() wp-includes/capabilities.php:149 map_meta_cap() wp-includes/class-wp-user.php:777 WP_User->has_cap() wp-includes/capabilities.php:801 user_can(WP_User (ID: 1),'edit_post',3) wp-includes/capabilities.php:693 current_user_can('edit_post',3) wp-admin/includes/class-wp-privacy-policy-content.php:64 WP_Privacy_Policy_Content::text_change_check() wp-includes/class-wp-hook.php:307 do_action('admin_init') wp-admin/admin.php:175
Invalid argument supplied for foreach()
wp-includes/class-wp-post.php:265 WP_Post->__construct() wp-includes/class-wp-post.php:254 WP_Post::get_instance() wp-includes/post.php:1007 get_post() wp-includes/capabilities.php:149 map_meta_cap() wp-includes/class-wp-user.php:777 WP_User->has_cap() wp-includes/capabilities.php:801 user_can(WP_User (ID: 1),'edit_post',3) wp-includes/capabilities.php:693 current_user_can('edit_post',3) wp-admin/includes/class-wp-privacy-policy-content.php:64 WP_Privacy_Policy_Content::text_change_check() wp-includes/class-wp-hook.php:307 do_action('admin_init') wp-admin/admin.php:175
array_map(): Expected parameter 2 to be an array, int given
wp-includes/class-wp-term-query.php:791 array_map() wp-includes/class-wp-term-query.php:791 WP_Term_Query->get_terms() wp-includes/class-wp-term-query.php:307 WP_Term_Query->query() wp-includes/class-wp-tax-query.php:645 WP_Tax_Query->transform_query() wp-includes/class-wp-tax-query.php:566 WP_Tax_Query->clean_query() wp-includes/class-wp-tax-query.php:394 WP_Tax_Query->get_sql_for_clause() wp-includes/class-wp-tax-query.php:324 WP_Tax_Query->get_sql_for_query() wp-includes/class-wp-tax-query.php:274 WP_Tax_Query->get_sql_clauses() wp-includes/class-wp-tax-query.php:250 WP_Tax_Query->get_sql() wp-includes/class-wp-query.php:2159 WP_Query->get_posts() wp-includes/class-wp-query.php:3586 WP_Query->query() wp-includes/post.php:2410 get_posts() wp-includes/post.php:3939 wp_get_recent_posts() wp-includes/class-wp-theme-json-resolver.php:285 WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles() wp-includes/class-wp-theme-json-resolver.php:323 WP_Theme_JSON_Resolver::get_user_data() wp-includes/class-wp-theme-json-resolver.php:387 WP_Theme_JSON_Resolver::get_merged_data() wp-includes/script-loader.php:3076 {closure}() wp-includes/script-loader.php:3272 {closure}() wp-includes/class-wp-hook.php:307 do_action('wp_loaded') wp-settings.php:620
Invalid argument supplied for foreach()
wp-includes/cache-compat.php:92 wp_cache_get_multiple() wp-includes/functions.php:6991 _get_non_cached_ids() wp-includes/taxonomy.php:3989 _prime_term_caches() wp-includes/class-wp-term-query.php:793 WP_Term_Query->get_terms() wp-includes/class-wp-term-query.php:307 WP_Term_Query->query() wp-includes/class-wp-tax-query.php:645 WP_Tax_Query->transform_query() wp-includes/class-wp-tax-query.php:566 WP_Tax_Query->clean_query() wp-includes/class-wp-tax-query.php:394 WP_Tax_Query->get_sql_for_clause() wp-includes/class-wp-tax-query.php:324 WP_Tax_Query->get_sql_for_query() wp-includes/class-wp-tax-query.php:274 WP_Tax_Query->get_sql_clauses() wp-includes/class-wp-tax-query.php:250 WP_Tax_Query->get_sql() wp-includes/class-wp-query.php:2159 WP_Query->get_posts() wp-includes/class-wp-query.php:3586 WP_Query->query() wp-includes/post.php:2410 get_posts() wp-includes/post.php:3939 wp_get_recent_posts() wp-includes/class-wp-theme-json-resolver.php:285 WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles() wp-includes/class-wp-theme-json-resolver.php:323 WP_Theme_JSON_Resolver::get_user_data() wp-includes/class-wp-theme-json-resolver.php:387 WP_Theme_JSON_Resolver::get_merged_data() wp-includes/script-loader.php:3076 {closure}() wp-includes/script-loader.php:3272 {closure}() wp-includes/class-wp-hook.php:307 do_action('wp_loaded') wp-settings.php:620
Invalid argument supplied for foreach()
wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:140 WC_Helper_Updater::get_update_data() wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:395 WC_Helper_Updater::get_updates_count() wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:434 WC_Helper_Updater::get_updates_count_html() wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php:165 WC_Admin_Menus->addons_menu() wp-includes/class-wp-hook.php:307 do_action('admin_menu') wp-admin/includes/menu.php:155
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘New installation, persistent errors’ is closed to new replies.