Title: Error
Last modified: June 6, 2025

---

# Error

 *  Resolved [danm2014](https://wordpress.org/support/users/danm2014/)
 * (@danm2014)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/error-1939/)
 * There has been a critical error on this website. Please check your site admin
   email inbox for instructions. If you continue to have problems, please try the
   support forums.
 * Learn more about troubleshooting WordPress.
 * —————————————————————–
 * When I try to enter the plugin in the dashboard I get this. I can’t do anything
   in the plugin. I already setup a few time ago some categories etc but now it 
   is not accesible.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-1939%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [BerryPress Support](https://wordpress.org/support/users/berrypresssupport/)
 * (@berrypresssupport)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/error-1939/#post-18500860)
 * Hi,
 * Thank you for reaching out and letting us know about the issue you’re experiencing
   with the plugin page on your site.
 * The error message _“There has been a critical error on this website”_ typically
   indicates a PHP-related issue. **Here’s what you can try to resolve the issue:****
   1. ****Enable Debugging to Identify the Error**
 * To help us pinpoint the exact cause, please enable WordPress debugging by following
   these steps:
    - Access your site files via FTP or your hosting control panel (File Manager).
    - Open the wp-config.php file in the root directory of your site.
    - Add the following lines just before the line that says /* That’s all, stop
      editing! */:
 * define(‘WP_DEBUG’, true);
 * define(‘WP_DEBUG_LOG’, true);
 * define(‘WP_DEBUG_DISPLAY’, false);
 * Save the file and try to access the plugin page again. This will log any errors
   to a file located at: /wp-content/debug.log
 * Once done, please send us the contents of that file (especially the most recent
   entries), so we can investigate further.
 * Once we receive the error log or more details from your end, we’ll be able to
   provide a specific fix or update.
 * Please let us know once you’ve had a chance to review the debug log.
 *  [cduray](https://wordpress.org/support/users/cduray/)
 * (@cduray)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/error-1939/#post-18510524)
 * Came across a similar crash today. In RulesListTable.class.php, line 49 we have
 * $rule = new (AutomaticProductCategories::instance()->ruleClass())();
 * … which my (old) PHP 7.3 does not seem to like. If I change this to
 * $_classname=AutomaticProductCategories::instance()->ruleClass();
   $rule=new $_classname();
 * … it works
 *  [BerryPress Support](https://wordpress.org/support/users/berrypresssupport/)
 * (@berrypresssupport)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/error-1939/#post-18517946)
 * This issue has been fixed and the update has been released. Let us know if you
   encounter any further issues.

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

The topic ‘Error’ is closed to new replies.

 * ![](https://ps.w.org/automatic-product-categories-for-woocommerce/assets/icon-
   256x256.png?rev=3232320)
 * [Automatic Product Categories for WooCommerce](https://wordpress.org/plugins/automatic-product-categories-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/automatic-product-categories-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-product-categories-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-product-categories-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-product-categories-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-product-categories-for-woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [BerryPress Support](https://wordpress.org/support/users/berrypresssupport/)
 * Last activity: [11 months, 2 weeks ago](https://wordpress.org/support/topic/error-1939/#post-18517946)
 * Status: resolved