I am using the side switcher. Deactivating didn’t resolve the issue.
I was maybe to quick that the problem is with WOOCS, but it is in conjunction with WooCommerce Dynamic Pricing & Discounts (), when both plugins are active. Only have WooCommerce also active, all other plugins are inactive.
I deleted all rules in WooCommerce Dynamic Pricing & Discounts, but still received the error.
Added to wp-includes/functions.php
$message .= ‘ Backtrace: ‘ . wp_debug_backtrace_summary();
[06-Oct-2021 16:46:02 UTC] PHP Notice: is_page was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, RP_WCDPD->on_plugins_loaded, require_once('/plugins/wc-dynamic-pricing-and-discounts/classes/rp-wcdpd-settings.class.php'), RP_WCDPD_Settings::get_instance, RP_WCDPD_Settings->__construct, RP_WCDPD_Settings->load_settings, RP_WCDPD_Settings::get_structure, get_woocommerce_currency_symbol, apply_filters('woocommerce_currency_symbol'), WP_Hook->apply_filters, WOOCS->woocommerce_currency_symbol, is_account_page, is_page, _doing_it_wrong (This message was added in version 3.1.0.) in /store/store0/www/dev/wp-includes/functions.php on line 5665
[06-Oct-2021 16:46:02 UTC] PHP Notice: is_singular was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, RP_WCDPD->on_plugins_loaded, require_once('/plugins/wc-dynamic-pricing-and-discounts/classes/rp-wcdpd-settings.class.php'), RP_WCDPD_Settings::get_instance, RP_WCDPD_Settings->__construct, RP_WCDPD_Settings->load_settings, RP_WCDPD_Settings::get_structure, get_woocommerce_currency_symbol, apply_filters('woocommerce_currency_symbol'), WP_Hook->apply_filters, WOOCS->woocommerce_currency_symbol, is_account_page, wc_post_content_has_shortcode, is_singular, _doing_it_wrong (This message was added in version 3.1.0.) in /store/store0/www/dev/wp-includes/functions.php on line 5665
In function woocommerce_currency_symbol, is_account_page is called, which calls is_page () (from where is_singular is coming I haven’t found out), when query is not open, throw error.