• Resolved Ben Jaeger

    (@mogunbenj)


    Hello everyone,

    We are currently experiencing performance problems with our website danishoutdoor.de.

    We suspect that it is due to the theme in combination with WooCommerce, Elementor and possibly Crocoblocks.

    We are currently using PHP 8.1 because 8.2 produces even more errors.

    I will send you the error log below.

    Can you please help us, thank you.

    Kind regards

    [01-Dec-2023 13:27:10 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/bigbuy-wc-dropshipping-connector/src/Service/ShippingMethodService.php on line 110
    [01-Dec-2023 13:27:28 UTC] PHP Deprecated:  parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/module.php on line 607
    [01-Dec-2023 13:27:28 UTC] PHP Deprecated:  parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/module.php on line 607
    [01-Dec-2023 13:38:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_print_notice() in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/templates/checkout/form-login.php:26
    Stack trace:
    #0 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2321): wc_get_template()
    #2 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/jet-woo-builder/includes/widgets/checkout/jet-woo-builder-checkout-login-form.php(343): woocommerce_checkout_login_form()
    #3 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2265): Elementor\Jet_Woo_Builder_Checkout_Login_Form->render()
    #4 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
    #5 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
    #6 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Widget_Base->print_content()
    #7 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #8 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #9 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #10 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #11 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element()
    #12 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document->print_elements()
    #13 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper()
    #14 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content()
    #15 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content()
    #16 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #17 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(117): apply_filters()
    #18 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/wordpress-seo/src/actions/indexing/abstract-link-indexing-action.php(65): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()
    #19 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/wordpress-seo/src/integrations/admin/background-indexing-integration.php(219): Yoast\WP\SEO\Actions\Indexing\Abstract_Link_Indexing_Action->index()
    #20 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/class-wp-hook.php(324): Yoast\WP\SEO\Integrations\Admin\Background_Indexing_Integration->index()
    #21 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #22 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/plugin.php(565): WP_Hook->do_action()
    #23 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-cron.php(191): do_action_ref_array()
    #24 {main}
      thrown in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/templates/checkout/form-login.php on line 26
    [01-Dec-2023 13:53:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_print_notice() in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/templates/checkout/form-login.php:26
    Stack trace:
    #0 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2321): wc_get_template()
    #2 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/jet-woo-builder/includes/widgets/checkout/jet-woo-builder-checkout-login-form.php(343): woocommerce_checkout_login_form()
    #3 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2265): Elementor\Jet_Woo_Builder_Checkout_Login_Form->render()
    #4 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
    #5 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
    #6 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Widget_Base->print_content()
    #7 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #8 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #9 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #10 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #11 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element()
    #12 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document->print_elements()
    #13 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper()
    #14 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content()
    #15 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content()
    #16 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #17 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(117): apply_filters()
    #18 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/wordpress-seo/src/actions/indexing/abstract-link-indexing-action.php(65): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()
    #19 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/wordpress-seo/src/integrations/admin/background-indexing-integration.php(219): Yoast\WP\SEO\Actions\Indexing\Abstract_Link_Indexing_Action->index()
    #20 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/class-wp-hook.php(324): Yoast\WP\SEO\Integrations\Admin\Background_Indexing_Integration->index()
    #21 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #22 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-includes/plugin.php(565): WP_Hook->do_action()
    #23 /var/www/vhosts/danishoutdoor.de/httpdocs/wp-cron.php(191): do_action_ref_array()
    #24 {main}
      thrown in /var/www/vhosts/danishoutdoor.de/httpdocs/wp-content/plugins/woocommerce/templates/checkout/form-login.php on line 26
    

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

Viewing 1 replies (of 1 total)
  • Hi @mogunbenj

    From the error logs you’ve provided, there are several deprecated functions being used in your plugins. Deprecated functions are those that are no longer recommended for use, typically because they’ve been replaced by newer, more efficient, or more secure functions. Let’s see if we can get to the bottom of this.

    First, please ensure that all your themes, plugins, and even WordPress are up-to-date. There may be some plugin or theme that is not compatible with the latest WooCommerce anymore.

    You can also isolate the issue by switching to a default WordPress theme, and then deactivating all plugins except WooCommerce to see if the issue is gone, if yes, that means a theme, or a plugin is contributing to the issue. Re-enable each to see which one causes it. You can find a more detailed explanation of how to do a conflict test here.

    Please let us know how it goes!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.