1. Home
  2. Knowledge Base
  3. General
  4. Troubleshooting

The plugin has caused a fatal error

If you get a fatal error when you try to activate one of our plugins, then it may be that the plugin didn't install correctly.

How to fix the fatal error when you activate a plugin

  1. If the error includes the words "failed to open stream: No such file or directory in........." then it is a permissions error on your server. You will get the same error when you try to activate any plugin on your website - the problem isn't specific to our plugin. You need to ask your host to change the permissions so that you can activate plugins. You will then be able to activate the plugin.
  2. If you get any other fatal error, please delete the plugin and re-install it.
  3. If that doesn't help, please send us a support request with your FTP details and we will fix it for you.

Example of a fatal error

Warning: require_once(/public_html/wp-content/plugins/woocommerce-protected-categories.php_/includes/license/class-b2-plugin-license.php) [function.require-once]: failed to open stream: No such file or directory in /public_html/wp-content/plugins/woocommerce-protected-categories.php_/woocommerce-protected-categories.php on line 74

Fatal error: require_once() [function.require]: Failed opening required '/public_html/wp-content/plugins/woocommerce-protected-categories.php_/includes/license/class-b2-plugin-license.php' (include_path='.:/php:/usr/share/pear') in /public_html/wp-content/plugins/woocommerce-protected-categories.php_/woocommerce-protected-categories.php on line 74

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.