• Resolved romeoartefacts

    (@romeoartefacts)


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter romeoartefacts

    (@romeoartefacts)

    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

    (@gabrielfuentes)

    Hi @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
    • 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.

    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

    (@abwaita)

    Hi @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

    (@abwaita)

    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.