• Resolved Corey Kretsinger

    (@corey-kretsinger)


    
    
    ----
    
    
    thrown in /home/[REDACTED]/public_html/wp-content/plugins/rearrange-woocommerce-products/rearrange-woocommerce-products.php on line 340
    [18-Jun-2023 18:43:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product_category() in /home/[REDACTED]/public_html/wp-content/plugins/rearrange-woocommerce-products/rearrange-woocommerce-products.php:340
    Stack trace:
    
    0 /home/[REDACTED]/public_html/wp-includes/class-wp-hook.php(308): ReWooProducts->sort_products_by_category(Object(WP_Query))
    
    1 /home/[REDACTED]/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    
    2 /home/[REDACTED]/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    
    3 /home/[REDACTED]/public_html/wp-includes/class-wp-query.php(1870): do_action_ref_array('pre_get_posts', Array)
    
    4 /home/[REDACTED]/public_html/wp-includes/class-wp-query.php(3787): WP_Query->get_posts()
    
    5 /home/[REDACTED]/public_html/wp-includes/post.php(2417): WP_Query->query(Array)
    
    6 /home/[REDACTED]/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/PostTypeRegister.php(78): get_posts(Array)
    
    7 /home/[REDACTED]/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/PostTypeRegister.php(67): MBCPT\PostTypeRegister->get_post_types()
    
    8 /home/[REDACTED]/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Register.php(6): MBCPT\PostTypeRegister->register()
    
    9 /home/[REDACTED]/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/mb-custom-post-type.php(35): MBCPT\Register->__construct()
    
    10 /home/[REDACTED]/public_html/wp-includes/class-wp-hook.php(308): mb_cpt_load('')
    
    11 /home/[REDACTED]/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    
    12 /home/[REDACTED]/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    13 /home/[REDACTED]/public_html/wp-settings.php(623): do_action('init')
    
    14 /home/[REDACTED]/public_html/wp-config.php(106): require_once('/home/[REDACTED]/…')
    
    15 /home/[REDACTED]/public_html/wp-load.php(50): require_once('/home/[REDACTED]/…')
    
    16 /home/[REDACTED]/public_html/wp-blog-header.php(13): require_once('/home/[REDACTED]/…')
    
    17 /home/[REDACTED]/public_html/index.php(17): require('/home/[REDACTED]/…')
    
    18 {main}
    
    thrown in /home/[REDACTED]/public_html/wp-content/plugins/rearrange-woocommerce-products/rearrange-woocommerce-products.php on line 340
    
    ---

    This is the error message I received. Deactivating this plugin brought the website back online. It had been working fine until now. Additional info: This showed up after rolling back WooCommerce due to an Elementor minicart problem.

    Thank you for any help you can offer.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin Causing Critical Error’ is closed to new replies.