• Resolved shimony

    (@shimony)


    Hello, I love the plugin, but it causes a fatal PHP error and breaks some pages (even though there are no related inserted to them).
    Any Idea why?
    I’m attaching hte error, without the paths, eplaced by ***:

    Fatal error: Uncaught Error: Argument 1 passed to crp_get_all_product_ids_from_tag_ids() must be of the type array, string given, called in ***/plugins/wt-woocommerce-related-products/woocommerce/single-product/related.php on line 235
    in ***/plugins/wt-woocommerce-related-products/woocommerce/single-product/related.php on line 59
    
    Call stack:
    
    crp_get_all_product_ids_from_tag_ids()
    wp-content/plugins/wt-woocommerce-related-products/woocommerce/single-product/related.php:235
    include()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
    wc_get_template()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:2024
    woocommerce_related_products()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:1987
    woocommerce_output_related_products()
    wp-content/plugins/rey-core/inc/modules/custom-templates/elementor-widgets/woo-pdp-related/woo-pdp-related.php:165
    ReyCore_Widget_Woo_Pdp_Related::render_template()
    wp-content/plugins/rey-core/inc/modules/custom-templates/elementor-widgets/woo-element-base.php:31
    ReyCore_Widget_Woo_Base::render()
    wp-content/plugins/elementor/includes/base/controls-stack.php:2172
    Elementor\Controls_Stack::render_by_mode()
    wp-content/plugins/elementor/includes/base/widget-base.php:584
    Elementor\Widget_Base::render_content()
    wp-content/plugins/elementor/includes/base/widget-base.php:725
    Elementor\Widget_Base::print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:447
    Elementor\Element_Base::print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:741
    Elementor\Element_Base::print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:447
    Elementor\Element_Base::print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:741
    Elementor\Element_Base::print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:447
    Elementor\Element_Base::print_element()
    wp-content/plugins/elementor/core/base/document.php:1529
    Elementor\C\B\Document::print_elements()
    wp-content/plugins/elementor/core/base/document.php:1002
    Elementor\C\B\Document::print_elements_with_wrapper()
    wp-content/plugins/elementor/includes/frontend.php:1092
    Elementor\Frontend::get_builder_content()
    wp-content/plugins/elementor/includes/frontend.php:1160
    Elementor\Frontend::get_builder_content_for_display()
    wp-content/plugins/rey-core/inc/modules/custom-templates/elementor-tpl.php:64
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

    The page I need help with: [log in to see the link]

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