get errors after updating plugin

[ad_1]

hi every one. i have some problems after updating plugin.

after the last update: 14.1.3 I can’t view the plugin’s settings page or anypage related to plugin. and wordpress turns me to an error page with this text:

Fatal error: Uncaught Error: Call to undefined function WP_STATISTICS\get_current_user() in /home/…../public_html/wp-content/plugins/wp-statistics/includes/admin/class-wp-statistics-admin-assets.php:435 Stack trace: #0 /home/……./public_html/wp-includes/class-wp-hook.php(308): WP_STATISTICS\Admin_Assets->WP_STATISTICS{closure}(‘%d8%a2%d9%85%d8…’) #1 /home/……../public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/………./public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/………./public_html/wp-admin/admin-header.php(118): do_action(‘admin_enqueue_s…’, ‘%d8%a2%d9%85%d8…’) #4 /home/……………./public_html/wp-admin/admin.php(239): require_once(‘/home/……../…’) #5 {main} thrown in /home/…………../public_html/wp-content/plugins/wp-statistics/includes/admin/class-wp-statistics-admin-assets.php on line 435

i don’t use any cache plugin and i have same problem with my another website too…both with 8.1.18 php version.

could any one help me, please?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer