Title: FATAL ERROR
Last modified: July 13, 2022

---

# FATAL ERROR

 *  Resolved [pnwfarmhousedesignco](https://wordpress.org/support/users/pnwfarmhousedesignco/)
 * (@pnwfarmhousedesignco)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-4201/)
 * I have been having TROUBLE and now it’s not allowing customers to even see product.
   I’m still learning, so any guidance is helpful.
 *     ```
       Fatal error: Uncaught Error: Call to undefined
       function is_product_category() in
       /home/pnwfar5/public_html/wp-
       content/plugins/rearrange-woocommerce-
       products/rearrange-woocommerce-
       products.php:302 Stack trace: #0
       /home/pnwfar5/public_html/wp-includes/class-
       wp-hook.php(307): ReWooProducts-
       >sort_products_by_category(Object(WP_Query))
       #1/home/pnwfar5/public_html/wp-includes/class-
       wp-hook.php(331):WP_Hook-
       ›apply_filters(NULL, Array) #2
       /home/pnwfar5/public_html/wp
       includes/plugin.php(524): WP_Hook-
       ›do_action(Array) #3
       /home/pnwfar5/public_html/wp-includes/class-
       wp-query.php(1805):
       do_action_ref_array ('pre_get_posts', Array) #4
       /home/pnwfar5/public_html/wp-includes/class-
       wp-query.php(3586): WP_Query->get_posts() #5
       /home/pnwfar5/public_html/wp-
       includes/post.php(2410): WP_Query-
       >query(Array) #6 /home/pnwfar5/public_html/wp-
       includes/post.php(3939): get_posts(Array) #7
       /home/pnwfar5/public_html/wp-includes/class-
       wp-theme-json-resolver.php(285):
       wp_get_recent_posts(Array) #8
       /home/pnwfar5/public_html/wp-includes/class-
       wp-theme-js in
       /home/pnwfar5/public_html/wp-
       content/plugins/rearrange-woocommerce-
       products/rearrange-woocommerce.
       products.php on line 302
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4201%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15822618)
 * The error message suggests that the error may be due to the Rearrange WooCommerce
   Products plugin.
 * The first thing I’d try is disabling that plugin and re-trying what you did that
   triggered the error; e.g., viewing a product.
 * If you don’t have access to the WP Admin to disable the plugin, you can use your
   hosting control panel to view the /public_html/wp-content/plugins folder, and
   rename the folder `rearrange-woocommerce-products` to something else like `rearrange-
   woocommerce-products-disabled`, which will disable the plugin.
 * Do some testing once that plugin is disabled and see if it fixes the problem.
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15824049)
 * Hi [@pnwfarmhousedesignco](https://wordpress.org/support/users/pnwfarmhousedesignco/),
 * Thanks for reaching out!
 * I have gone to your site [http://www.pnwfarmhousedesignco.com/shop](http://www.pnwfarmhousedesignco.com/shop),
   and was able to see the products and also ensured that they could successfully
   add to the cart with no errors, and they could, as seen in the screenshots below:
 * [https://snipboard.io/EUjz2P.jpg](https://snipboard.io/EUjz2P.jpg)
    [https://snipboard.io/mDqilj.jpg](https://snipboard.io/mDqilj.jpg)
 * It appears that the suggestion provided by [@linux4me2](https://wordpress.org/support/users/linux4me2/)
   may have guided you towards a resolution for the issue of products not displaying
   for customers.
 * If so, please feel free to mark this topic as `resolved` in the sidebar and kindly
   create a new topic should you require any further help.
 * Thanks!
 *  Plugin Support [Kaushik S. a11n](https://wordpress.org/support/users/kaushiksomaiya/)
 * (@kaushiksomaiya)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15824150)
 * Hi there [@pnwfarmhousedesignco](https://wordpress.org/support/users/pnwfarmhousedesignco/)!
 * Thank you for contacting us!
 * From the error message you’ve shared, it is apparent that the issue is coming
   from [Rearrange Woocommerce Products](https://wordpress.org/plugins/rearrange-woocommerce-products/)
   plugin.
 * As suggested by [@linux4me2](https://wordpress.org/support/users/linux4me2/) 
   and [@roxannestoltz](https://wordpress.org/support/users/roxannestoltz/), you
   could try disabling the plugin and see if that helps!
 * You can contact the plugin’s support here for resolving the error: [https://wordpress.org/support/plugin/rearrange-woocommerce-products/](https://wordpress.org/support/plugin/rearrange-woocommerce-products/)
 *  Thread Starter [pnwfarmhousedesignco](https://wordpress.org/support/users/pnwfarmhousedesignco/)
 * (@pnwfarmhousedesignco)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15825423)
 * Thanks everyone. I was able to go to the hosting cpanel and renamed the plugin
   name to disable. I then saw my woocommerce was completely gone, which I of course
   did not do..
 * I contacted my host and they fixed it. They thought it was very strange as well.
 * Thanks again.
    Katrina
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15825437)
 * Hi [@pnwfarmhousedesignco](https://wordpress.org/support/users/pnwfarmhousedesignco/),
 * Thanks for providing an update.
 * Glad to hear that the issue has been resolved.
 * Should the issue reoccur, I would suggest reaching out to the developers of the
   Rearrange Woocommerce Products since the errors were being pulled from that plugin.
   You can access their dedicated support forum [here](https://wordpress.org/support/plugin/rearrange-woocommerce-products/)
 * Should you require any further help related to the WooCommerce core plugin, please
   feel free to create a new thread 🙂
 * Thanks!
 *  Plugin Support [Chris Moreira – a11n](https://wordpress.org/support/users/chrism245/)
 * (@chrism245)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15861565)
 * I’m glad we were able to help! If you have a few minutes, we’d love if you could
   leave us a review: [https://wordpress.org/support/plugin/woocommerce/reviews/](https://wordpress.org/support/plugin/woocommerce/reviews/)

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

The topic ‘FATAL 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/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [rearrange](https://wordpress.org/support/topic-tag/rearrange/)

 * 6 replies
 * 5 participants
 * Last reply from: [Chris Moreira – a11n](https://wordpress.org/support/users/chrism245/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-4201/#post-15861565)
 * Status: resolved