Hello Ilde.
When I deactivate Elementor I don’t get the error but the startup comes out without styles
If the page is created with Elementor you will have design problems if it is disabled.
The error that is shown when accessing clone is due to a class that is not defined in the file ” class-woostify-recent-post-thumbnail.php ” from your template found in ” wp-content -> themes -> woostify -> inc -> widget ” class-woostify-recent-post-thumbnail.php “
You can try to comment the lines that give the error and check if it loads:
.- Access your cPanel account -> File Manager.
.- Accede to wp-content -> themes -> woostify -> inc -> widget and edit the file class-woostify-recent-post-thumbnail.php
.- On line 148 you will see these two lines:
$instance = wp_trip_all_tags( $new_instance );
$instance = wp_trip_all_tags( $new_instance );
Change them to the following:
/** $instance = wp_trip_all_tags( $new_instance );
$instance = wp_trip_all_tags( $new_instance ); */
What we do is comment those lines so that they have no effect
For the topic of MonsterInsights you can prove the same.
.- Go to wp-content -> plugins -> ga-ecommerce -> includes -> providers and edit the file ” ecommerce-integration.php “
On line 78 you will see the following code:
public function print_dual_tracking_js() {
$v4_id = monsterinsights_get_v4_id_to_output();
if ( ! $v4_id ) {
return;
}
$attr_string = function_exists( ‘monsterinsights_get_frontend_analytics_script_atts’ )
? monsterinsights_get_frontend_analytics_script_atts()
: ‘ type=”text/javascript” data-cfasync=”false”‘;
?>
You replace them with the following:
/* public function print_dual_tracking_js() {
$v4_id = monsterinsights_get_v4_id_to_output();
if ( ! $v4_id ) {
return;
}
$attr_string = function_exists( ‘monsterinsights_get_frontend_analytics_script_atts’ )
? monsterinsights_get_frontend_analytics_script_atts()
: ‘ type=”text/javascript” data-cfasync=”false”‘;
?>
}*/
What we do is the same, we comment the block to have no effect.
I personally don’t like this kind of plugin like MonsterInsights or Analytics since they have a very high consumption of resources and the page suffers, they are constantly making requests to the Google console and having the Google console itself where you can see many more statistics and in real time, it does not seem like a good alternative.
All the best