Warning: Cannot modify header information – class-wc-countries.php:273
-
I can’t log into wordpress to edit my website.
Warning: Cannot modify header information – headers already sent by (output started at /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-content/plugins/woocommerce/includes/class-wc-countries.php:273)
Please can anyone help, There’s no white space on <?php and there isn’t an end tag like ?> either.
WordPress version 5.9.3
Current theme: Storefront (version 4.1.0)
Current plugin: WooCommerce (version 6.5.1)
PHP version 8.0.19Error Details
=============
An error of type E_ERROR was caused in line 623 of the file /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-content/plugins/woocommerce/includes/class-woocommerce.php. Error message: Uncaught Error: Class “WC_Countries” not found in /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-content/plugins/woocommerce/includes/class-woocommerce.php:623
Stack trace:
#0 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-includes/class-wp-hook.php(307): WooCommerce->init(”)
#1 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-settings.php(587): do_action(‘init’)
#4 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-config.php(82): require_once(‘/homepages/18/d…’)
#5 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-load.php(50): require_once(‘/homepages/18/d…’)
#6 /homepages/18/d562506311/htdocs/clickandbuilds/mysite/wp-login.php(12): require(‘/homepages/18/d…’)
#7 {main}
thrown
- The topic ‘Warning: Cannot modify header information – class-wc-countries.php:273’ is closed to new replies.