Skip Navigation

[Resolved] Fatal error: Uncaught Error: __clone method called on non-object

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by DavidH606 4 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#1392203

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

#1392277

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?

#1397739

My issue is resolved now. Thank you!