• Resolved hendrikwe

    (@hendrikwe)


    Version 2.0.11:

    in the inc.plugin-compatibility.php file there are conditional checks which cause the entire blog page to crash (plugin is enabled on posts).

    Fatal error: Uncaught Error: Call to undefined function is_woocommerce() in /var/www/vhosts/****/httpdocs/wp-content/plugins/easy-table-of-contents/includes/inc.plugin-compatibility.php:547 Stack trace: #0

    While I am not running woocommerce on the page, all checks fail here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Steven

    (@shazahm1hotmailcom)

    But you do have WC installed, correct?

    Thread Starter hendrikwe

    (@hendrikwe)

    I think I used the term “page” too vaguely. I meant that I am NOT running WC on the website, and it is not installed as a plugin or otherwise.

    Steven

    (@shazahm1hotmailcom)

    That is odd indeed because, in order to get to those WC lines, the active plugins are queries and then searched for woocommerce.php before the WC functions are called.

    So, it would seem one of the plugins that are installed and active is named woocommerce.php for some reason.

    I suggest reviewing each active plugin and find which one is named woocommerce.php.

    Hope this helps!

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

The topic ‘Plugin crashed on is_woocommerce()’ is closed to new replies.