Reply 230469 to: Home page broken on first visit

Avatar: Polar Coatings
Polar Coatings
Participant
February 28, 2020 at 12:26

Hi, I have done that and the below is what has come back on the debug log but I don’t fully understand it all or what to do.

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:20:14 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:20:14 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_average_rating() on null in /wordpress/plugins/woocommerce/3.9.2/templates/loop/rating.php:28

Stack trace:

#0 /wordpress/plugins/woocommerce/3.9.2/includes/wc-core-functions.php(249): include()

#1 /wordpress/plugins/woocommerce/3.9.2/includes/wc-template-functions.php(1293): wc_get_template(‘loop/rating.php’)

#2 /wordpress/core/5.3.2/wp-includes/class-wp-hook.php(288): woocommerce_template_loop_rating(”)

#3 /wordpress/core/5.3.2/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)

#4 /wordpress/core/5.3.2/wp-includes/plugin.php(478): WP_Hook->do_action(Array)

#5 /srv/htdocs/wp-content/themes/royal/woocommerce/content-product-slider.php(210): do_action(‘woocommerce_aft…’)

#6 /wordpress/core/5.3.2/wp-includes/template.php(724): require(‘/srv/htdocs/wp-…’)

#7 /wordpress/plugins/woocommerce/3.9.2/includes/wc-core-functions.php(195): load_template(‘/srv/htdocs/wp-…’, false)

#8 /srv/htdocs/wp-content/themes/royal/framework/theme-functions.php(2679): wc_get_template_part(‘content’, ‘product-slider’)

#9 /srv/htdocs/wp-content/plugins/royal-core/inc/shortcodes/etheme_products.php(187): etheme_create_slider(Array, Array)

#10 /wordpress/core/5.3.2/wp-includes/shortcodes.php(325): etheme_products_shortcodes(Array, ”, ‘etheme_products’)

#11 [internal function]: do_shortcode_tag(Array)

#12 /wordpress/core/5.3.2/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ultima…’, ‘do_shortcode_ta…’, ‘[vc_column_text…’)

#13 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode(‘[vc_column_text…’)

#14 /srv/htdocs/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop(‘[vc_column_text…’)

#15 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(267): require(‘/srv/htdocs/wp-…’)

#16 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate(Array, ‘[vc_column_text…’)

#17 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(362): WPBakeryShortCode->content(Array, ‘[vc_column_text…’)

#18 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(1316): WPBakeryShortCode->output(Array, ‘[vc_column_text…’)

#19 /wordpress/core/5.3.2/wp-includes/shortcodes.php(325): vc_do_shortcode(Array, ‘[vc_column_text…’, ‘vc_column’)

#20 [internal function]: do_shortcode_tag(Array)

#21 /wordpress/core/5.3.2/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ultima…’, ‘do_shortcode_ta…’, ‘[vc_column css=…’)

#22 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode(‘[vc_column css=…’)

#23 /srv/htdocs/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop(‘[vc_column css=…’)

#24 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(267): require(‘/srv/htdocs/wp-…’)

#25 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, ‘[vc_column css=…’)

#26 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(362): WPBakeryShortCode_Vc_Row->content(Array, ‘[vc_column css=…’)

#27 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(1316): WPBakeryShortCode->output(”, ‘[vc_column css=…’)

#28 /wordpress/core/5.3.2/wp-includes/shortcodes.php(325): vc_do_shortcode(”, ‘[vc_column css=…’, ‘vc_row’)

#29 [internal function]: do_shortcode_tag(Array)

#30 /wordpress/core/5.3.2/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ultima…’, ‘do_shortcode_ta…’, ‘

[vc_row][vc_…’)

#31 /wordpress/core/5.3.2/wp-includes/class-wp-hook.php(288): do_shortcode(‘

[vc_row][vc_…’)

#32 /wordpress/core/5.3.2/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘

[vc_row][vc_…’, Array)

#33 /wordpress/core/5.3.2/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘

[vc_row][vc_…’)

#34 /srv/htdocs/wp-content/themes/royal/page.php(47): the_content()

#35 /wordpress/core/5.3.2/wp-includes/template-loader.php(98): include(‘/srv/htdocs/wp-…’)

#36 /wordpress/core/5.3.2/wp-blog-header.php(19): require_once(‘/wordpress/core…’)

#37 /wordpress/core/5.3.2/index.php(17): require(‘/wordpress/core…’)

#38 {main}

Next Exception: Call to a member function get_average_rating() on null in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php:82

Stack trace:

#0 [internal function]: QM_Collector_PHP_Errors->exception_handler(Object(Error))

#1 {main}

thrown in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 82

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 194

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: file in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 195

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/classes/Backtrace.php on line 196

[28-Feb-2020 11:21:18 UTC] PHP Notice: Undefined index: line in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 72

[28-Feb-2020 11:21:18 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_average_rating() on null in /wordpress/plugins/woocommerce/3.9.2/templates/loop/rating.php:28

Stack trace:

#0 /wordpress/plugins/woocommerce/3.9.2/includes/wc-core-functions.php(249): include()

#1 /wordpress/plugins/woocommerce/3.9.2/includes/wc-template-functions.php(1293): wc_get_template(‘loop/rating.php’)

#2 /wordpress/core/5.3.2/wp-includes/class-wp-hook.php(288): woocommerce_template_loop_rating(”)

#3 /wordpress/core/5.3.2/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)

#4 /wordpress/core/5.3.2/wp-includes/plugin.php(478): WP_Hook->do_action(Array)

#5 /srv/htdocs/wp-content/themes/royal/woocommerce/content-product-slider.php(210): do_action(‘woocommerce_aft…’)

#6 /wordpress/core/5.3.2/wp-includes/template.php(724): require(‘/srv/htdocs/wp-…’)

#7 /wordpress/plugins/woocommerce/3.9.2/includes/wc-core-functions.php(195): load_template(‘/srv/htdocs/wp-…’, false)

#8 /srv/htdocs/wp-content/themes/royal/framework/theme-functions.php(2679): wc_get_template_part(‘content’, ‘product-slider’)

#9 /srv/htdocs/wp-content/plugins/royal-core/inc/shortcodes/etheme_products.php(187): etheme_create_slider(Array, Array)

#10 /wordpress/core/5.3.2/wp-includes/shortcodes.php(325): etheme_products_shortcodes(Array, ”, ‘etheme_products’)

#11 [internal function]: do_shortcode_tag(Array)

#12 /wordpress/core/5.3.2/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ultima…’, ‘do_shortcode_ta…’, ‘[vc_column_text…’)

#13 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode(‘[vc_column_text…’)

#14 /srv/htdocs/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop(‘[vc_column_text…’)

#15 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(267): require(‘/srv/htdocs/wp-…’)

#16 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate(Array, ‘[vc_column_text…’)

#17 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(362): WPBakeryShortCode->content(Array, ‘[vc_column_text…’)

#18 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(1316): WPBakeryShortCode->output(Array, ‘[vc_column_text…’)

#19 /wordpress/core/5.3.2/wp-includes/shortcodes.php(325): vc_do_shortcode(Array, ‘[vc_column_text…’, ‘vc_column’)

#20 [internal function]: do_shortcode_tag(Array)

#21 /wordpress/core/5.3.2/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ultima…’, ‘do_shortcode_ta…’, ‘[vc_column css=…’)

#22 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode(‘[vc_column css=…’)

#23 /srv/htdocs/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop(‘[vc_column css=…’)

#24 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(267): require(‘/srv/htdocs/wp-…’)

#25 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, ‘[vc_column css=…’)

#26 /srv/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(362): WPBakeryShortCode_Vc_Row->content(Array, ‘[vc_column css=…’)

#27 /srv/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(1316): WPBakeryShortCode->output(”, ‘[vc_column css=…’)

#28 /wordpress/core/5.3.2/wp-includes/shortcodes.php(325): vc_do_shortcode(”, ‘[vc_column css=…’, ‘vc_row’)

#29 [internal function]: do_shortcode_tag(Array)

#30 /wordpress/core/5.3.2/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ultima…’, ‘do_shortcode_ta…’, ‘

[vc_row][vc_…’)

#31 /wordpress/core/5.3.2/wp-includes/class-wp-hook.php(288): do_shortcode(‘

[vc_row][vc_…’)

#32 /wordpress/core/5.3.2/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘

[vc_row][vc_…’, Array)

#33 /wordpress/core/5.3.2/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘

[vc_row][vc_…’)

#34 /srv/htdocs/wp-content/themes/royal/page.php(47): the_content()

#35 /wordpress/core/5.3.2/wp-includes/template-loader.php(98): include(‘/srv/htdocs/wp-…’)

#36 /wordpress/core/5.3.2/wp-blog-header.php(19): require_once(‘/wordpress/core…’)

#37 /wordpress/core/5.3.2/index.php(17): require(‘/wordpress/core…’)

#38 {main}

Next Exception: Call to a member function get_average_rating() on null in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php:82

Stack trace:

#0 [internal function]: QM_Collector_PHP_Errors->exception_handler(Object(Error))

#1 {main}

thrown in /srv/htdocs/wp-content/plugins/query-monitor/collectors/php_errors.php on line 82

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.