Title: Woocommerce Fehler Typ E_COMPILE_ERROR
Last modified: July 14, 2021

---

# Woocommerce Fehler Typ E_COMPILE_ERROR

 *  Resolved [romeoartefacts](https://wordpress.org/support/users/romeoartefacts/)
 * (@romeoartefacts)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-fehler-typ-e_compile_error-2/)
 * Since 09.07.2021, our shop is no longer accessible and we no longer have access
   to the backend.
 * WordPress sent us the following email with the error message:
 * An error of the type E_COMPILE_ERROR was found in line 518 of the file
    /home/
   www/shop-romeoarts/wp-content/plugins/woocommerce/includes/class-wc-download-
   handler.php. Error message: Only variables can be passed by reference
 * Our WordPress version 5.7.2
    Current theme: Flatsome Child (version 3.0) Current
   plugin: WooCommerce (version 5.4.1) PHP version 7.4.16
 * Even the Woocommerce update to the latest version does not fix the error.
 * We solved the problem sporadically by deactivating line 514 of the file “class-
   wc-download-handler.php”.
 * With the deactivation of the LINE, the page is accessible, but it does not run
   smoothly and is slow. In addition, the following is appended to each page “/?
   v=3a52f3c22ed6”.
 * Unfortunately, the Woocomerce System Report shows no error.
 * Who can help us?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwoocommerce-fehler-typ-e_compile_error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [romeoartefacts](https://wordpress.org/support/users/romeoartefacts/)
 * (@romeoartefacts)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-fehler-typ-e_compile_error-2/#post-14659500)
 * This is the line in question:
    @apache_setenv( ‘no-gzip’, 1 ); // phpcs:ignore
   Generic.PHP.NoSilencedErrors.Discouraged, WordPress.PHP.DiscouragedPHPFunctions.
   runtime_configuration_apache_setenv
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-fehler-typ-e_compile_error-2/#post-14660136)
 * Hi [@romeoartefacts](https://wordpress.org/support/users/romeoartefacts/) 👋
 * This kind of problem is usually caused by a conflict with your theme or with 
   another plugin. I recommend you to access your site and disable all the plugins
   through FTP (If you don’t know how to do this, please contact your hosting provider
   so they can do it for you).
 * Afterward, access your site’s dashboard via `WP-ADMIN` and follow the steps below
   in order to see which plugin or if your theme caused this issue:
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins (make sure they are all disabled)
    - Activate WooCommerce and repeat the action that is causing the problem
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which plugin is causing the problem, reactivate your other plugins one by
   one, testing after each, until you find the one causing conflict. [You can find a more detailed explanation on how to do a conflict test here.](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * **Before you start**
 * Please make sure you have a good backup in place of your full site and database.
   Most hosting companies have this included in the subscription, but you could 
   also consider using a service like Jetpack. If something goes wrong, it’s nice
   to know that you can restore your site.
 * I hope that helps! 🙂
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-fehler-typ-e_compile_error-2/#post-14684364)
 * Hi [@romeoartefacts](https://wordpress.org/support/users/romeoartefacts/),
 * It’s been a while and you might have already found a solution to the issue you
   reported. If not, kindly share with us the outcome of the above test.
 * Thanks.
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-fehler-typ-e_compile_error-2/#post-14710456)
 * Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as 
   resolved. Hopefully, you were able to find a solution to your problem!
 * If you have further questions, please feel free to open a new topic.
 * Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Woocommerce Fehler Typ E_COMPILE_ERROR’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-fehler-typ-e_compile_error-2/#post-14710456)
 * Status: resolved