• Resolved cheekymate06

    (@cheekymate06)


    Everyday i get the below. The website works but unsure about the below

    PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(587): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author annastaa

    (@annastaa)

    Hello Cheekymate06,

    Thank you for bringing your issue to our attention, and for the stack trace!

    Unfortunately we can’t reproduce the error on our server, so can you please tell me the frequency with which it gets recorded? If this happens just once or twice a day and you don’t notice any problems in the work of the filters, please disregard it.

    We will introduce a safeguard for this error in the next version of the plugin, but please do let us know if the issue gets registered multiple times a day, because this may signal an incompatibility issue with one of your site’s background tasks, or a 3d party plugin.

    Thread Starter cheekymate06

    (@cheekymate06)

    Looks like it was once a day (then updated to 5.9 on the 2nd) and last 2 day (its been twice)

    [28-Jan-2022 04:54:39 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(578): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [29-Jan-2022 04:54:49 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(578): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [30-Jan-2022 04:53:24 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(578): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [31-Jan-2022 04:52:11 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(303): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(578): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [01-Feb-2022 04:54:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(587): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [02-Feb-2022 00:53:41 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(587): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [02-Feb-2022 04:55:40 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(587): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [03-Feb-2022 02:48:32 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(587): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    
    [03-Feb-2022 04:54:44 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function astra_get_option() in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php:6
    Stack trace:
    #0 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F->{closure}('')
    #1 /home/rvtanksa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
    #2 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(416): apply_filters('awf_set_shop_co...', '')
    #3 /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/class-a-w-f-frontend.php(374): A_W_F_frontend->set_awf_settings()
    #4 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(307): A_W_F_frontend->initialize('')
    #5 /home/rvtanksa/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #6 /home/rvtanksa/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #7 /home/rvtanksa/public_html/wp-settings.php(587): in /home/rvtanksa/public_html/wp-content/plugins/annasta-woocommerce-product-filters/code/themes-support/astra.php on line 6
    Thread Starter cheekymate06

    (@cheekymate06)

    If you think its okay then ill leave and check back in a week.

    The filter seems to function fine during my testing

    Plugin Author annastaa

    (@annastaa)

    Cheekymate06,

    It’s obviously not good, because it tells us that something (3d party plugin / script) is triggering the filters’ initiation outside of their intended environment. Unfortunately, there is no way for us to account for the work of 3d party code in all the variety of combinations of installations, so we will simply provide the relevant functions with safeguards so that the error wouldn’t get thrown.

    The error should stop re-appearing in your stack after you update to the next plugin version that is due to get released in a few days’ time. Once again, thank you for sharing your issue, please let us know if there is anything else that catches your attention!

    Thread Starter cheekymate06

    (@cheekymate06)

    Ok. Its really only astra pro + woocommerce. I have used the filter in multiple browsers on pc, phones (Android/apple) and the error isn’t logged then so it’s got me. Thank you for all your help. If I notice anything new I’ll post it

    Plugin Author annastaa

    (@annastaa)

    Dear Cheekymate06,

    Since we expect that your issue should have been resolved, I will go ahead and close this inactive thread. Please open a new topic (and if needed, link to this one) if you ever notice any other incompatibility issue with Astra pro!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Daily PHP error with astra theme’ is closed to new replies.