• Resolved wood1e

    (@wood1e)


    Hi

    I am getting an error when I move my server from PHP7.1 to PHP 7.2/7.3

    Header may not contain more than a single header, new line detected in /home/customer/www/domain.com/public_html/2020/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1035

    As long as I stay on 7.1 the error does no appear

    Any ideas what might be causing this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    WooCommerce in itself wouldn’t be incompatible with those versions of PHP. In fact, those would be preferred.

    The first thing you’ll want to try is conflict testing. It’s possible that software installed on your site is not compatible with these versions of PHP and might be creating a conflict that prompts these errors. To verify, you’ll want to temporarily switch your theme to Storefront. Then, disable all plugins on the site except for WooCommerce, and test for the issue.

    If the issue is gone, you’ll then have to re-enable features one by one, while testing for the issue; until you find out which one is causing this behavior.

    We recommend that these steps are taken on a staging site, which is a clone of your live site that you can modify without risking making any permanent damage to your live site. You can create it using a plugin like WP-Staging.

    Plugin Support mouli a11n

    (@mouli)

    It’s been a while since we heard from you, so I’m marking this thread resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please open up a new topic and we’ll be happy to help out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: content/plugins/woocommerce/includes/wc-core-functions.php on line 1035’ is closed to new replies.