#131029 Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback)

Landing Forums JupiterX WordPress Theme Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Hamza Messaod

    Getting the following editor when opening a page in combination with Elemintor.

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “jupiterx_wc_product_page_custom_sale_badge” not found or invalid function name in /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php:305 Stack trace: #0 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘<span class=”on…’, Array)
    #1 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/woocommerce/templates/loop/sale-flash.php(27): apply_filters(‘woocommerce_sal…’, ‘<span class=”>apply_filters(NULL, Array) #6 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #7 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/themes/jupiterx/lib/templates/woocommerce/content-product.php(41): do_action(‘woocommerce_bef…’) #8 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/template.php(772): require(‘/customers/a/7/…’) #9 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/customers/a/7/…’, false) #10 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/jupiterx-core/includes/extensions/raven/includes/modules/products/skins/classic.php(564): wc_get_template_part(‘content’, ‘product’) #11 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/jupiterx-core/includes/extensions/raven/includes/modules/products/skins/classic.php(531): JupiterX_Core\Raven\Modules\Products\Skins\Classic->render_products() #12 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/base/skin-base.php(79): JupiterX_Core\Raven\Modules\Products\Skins\Classic->render() #13 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/base/widget-base.php(579): Elementor\Skin_Base->render_by_mode() #14 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/base/widget-base.php(705): Elementor\Widget_Base->render_content() #15 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/base/element-base.php(537): Elementor\Widget_Base->get_raw_data(true) #16 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/base/element-base.php(537): Elementor\Element_Base->get_raw_data(true) #17 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/core/base/document.php(856): Elementor\Element_Base->get_raw_data(true) #18 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/core/base/document.php(540): Elementor\Core\Base\Document->get_elements_raw_data(Array, true) #19 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/base/controls-stack.php(987): Elementor\Core\Base\Document->get_initial_config() #20 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/core/editor/editor.php(528): Elementor\Controls_Stack->get_config() #21 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php(303): Elementor\Core\Editor\Editor->enqueue_scripts(”) #22 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #23 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #24 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/script-loader.php(2083): do_action(‘wp_enqueue_scri…’) #25 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts(”) #26 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #27 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #28 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/general-template.php(3015): do_action(‘wp_head’) #29 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head() #30 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/core/editor/editor.php(323): include(‘/customers/a/7/…’) #31 /customers/a/7/c/mybrandz.nl/httpd.www/wp-content/plugins/elementor/core/editor/editor.php(164): Elementor\Core\Editor\Editor->print_editor_template() #32 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php(303): Elementor\Core\Editor\Editor->init(”) #33 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #34 /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #35 /customers/a/7/c/mybrandz.nl/httpd.www/wp-admin/admin.php(408): do_action(‘admin_action_el…’) #36 /customers/a/7/c/mybrandz.nl/httpd.www/wp-admin/post.php(12): require_once(‘/customers/a/7/…’) #37 {main} thrown in /customers/a/7/c/mybrandz.nl/httpd.www/wp-includes/class-wp-hook.php on line 305</span>

    Mohsin Al-Rabieai Support Team

    Hi Hamza,

    Please make sure you have the latest version of Jupiter X (1.26.0) and Jupiter X Core plugin (1.23.0) installed and activated. In case the issue persists, kindly share your WP admin credentials along with FTP credentials in the next PRIVATE reply so we investigate what is wrong.

    Bests

    Private
    Hamza Messaod
    This reply has been marked as private.
    Amir Rather Support Team

    Hi There

    I suspect this is happening due to PHP version 8, could you please contact your hosting provider to downgrade to below PHP 8
    to 7.4 preferably to see if that helps?

    Waiting for your reply 🙂

    Hamza Messaod

    Downgrading did the trick, Thanks. Would it be an idea to add a notice whenever the php version is not supported in the “Site Health” section.

    Alexander Hutsol Support Team

    Hello,

    We are glad to know the issue is resolved.

    Thank you for informing and sharing your idea.

     

    Regards.

    Hamza Messaod

    Hallo, Could you guys remove/disable/revert all the plugins and updates you used/made while debugging.

    For example: there were changes made in the wp-config.php that enabled debugging (removed by me) and a file manager plugin installed.

    Mohsin Al-Rabieai Support Team

    Hi Hamza,
    The WP admin credentials are no longer working. But anyway, I don’t think more than than, there were any tools installed that were being used for debugging purpose. Sorry, we should have reverted back the changes, but it should have been missed. I will ask my colleague to double-check this ticket.

    Bests

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Login