I am trying to: optimise site for speed
Link to a page where the issue can be seen:error log
I expected to see: no errors
Instead, I got:
[26-Nov-2019 06:40:48 UTC] PHP Fatal error: Uncaught Error: __clone method called on non-object in /home/curvychicbridal/public_html/wp-content/plugins/wp-views/embedded/inc/wpv.class.php:1468
Stack trace:
#0 /home/curvychicbridal/public_html/wp-includes/class-wp-hook.php(288): WP_Views->wpv_set_current_post(NULL)
#1 /home/curvychicbridal/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
#2 /home/curvychicbridal/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/curvychicbridal/public_html/wp-content/plugins/wp-views/embedded/inc/wpv-filter-query.php(316): do_action('wpv_action_wpv_...', NULL)
#4 /home/curvychicbridal/public_html/wp-includes/class-wp-hook.php(288): WPV_View_Post_Query->wpv_get_view_query_results('')
#5 /home/curvychicbridal/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
#6 /home/curvychicbridal/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#7 /home/curvychicbridal/public_html/wp-admin/admin-ajax.php(190): do_action('wp_ajax_ in /home/curvychicbridal/public_html/wp-content/plugins/wp-views/embedded/inc/wpv.class.php on line 1468
Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
Hi David
Is there some action that triggers the error?
Do you see the error on a minimal install, after disabling all non-Toolset plugins and switching theme to twentynineteen or twentytwenty?
My issue is resolved now. Thank you!