• Resolved hope13

    (@hope13)


    Hi,
    I have since 30.01.2023 Fatale Errors. I do not understand what exactly triggers the error here and why. What is the reason? The latest looks like this:

    2023-02-04T00:04:26+00:00 CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access protected method Relio\Integration\Autooptimize::excludeJavascript() in /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/class-wp-hook.php:310
    Stack trace: 0 /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) 1 /www/htdocs/w0150ebd/goodvaporations.com/wp-content/plugins/autoptimize/classes/autoptimizeScripts.php(298): apply_filters('autoptimize_fil…', '', '…') 2 /www/htdocs/w0150ebd/goodvaporations.com/wp-content/plugins/autoptimize/classes/autoptimizeMain.php(577): autoptimizeScripts->read(Array) 3 [internal function]: autoptimizeMain->end_buffering('…', 11) 4 /www/htdocs/w0150ebd/goodvaporations.com/wp-content/plugins/sctv-sales-countdown-timer/includes/frontend/single-product-countdown.php(206): ob_get_clean() 5 /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/class-wp-hook.php(308): VI_SCT_SALES_COUNTDOWN_TIMER_Frontend_Single_Product_Countdown->woocommerce_single_product_summary('') 6 /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 7 /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 8 /www/htdocs/w0150ebd/goodvaporations.com/wp-content/themes/greenmart/woocommerce/content-single-product.php(87): do_action('woocommerce_sin…') 9 /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/template.php(785): require('/www/htdocs/w01…') 10 /www/htdocs/w0150ebd/goodvaporations.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/www/htdocs/w01…', false) 11 /www/htdocs/w0150ebd/goodvaporations.com/wp-content/themes/greenmart/woocommerce.php(92): wc_get_template_part('content', 'single-product') 12 /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/template-loader.php(106): include('/www/htdocs/w01…') 13 /www/htdocs/w0150ebd/goodvaporations.com/wp-blog-header.php(19): require_once('/www/htdocs/w01…') 14 /www/htdocs/w0150ebd/goodvaporations.com/index.php(17): require('/www/htdocs/w01…') 15 {main} thrown in /www/htdocs/w0150ebd/goodvaporations.com/wp-includes/class-wp-hook.php in Zeile 310

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

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    You have *something* (a plugin very likely) called or made by Relio which has integration code with Autoptimize to automatically exclude javascript and it looks like they are failing in calling that logic (as Relio\Integration\Autooptimize::excludeJavascript is a protected method, they’ll have to change that to public likely).

    Afraid you’ll have to try finding whatever plugin (or theme?) that is doing that and reach out to their support?

    hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Fatale Errors – must be a valid callback’ is closed to new replies.