• Hi.

    I’m a super happy user of Post Views Counter, but the last few days the graph in the dashboard has become empty. The page views is still counting. Any ideas ?

    /Jens

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dFactory

    (@dfactory)

    A javascript issue in the admin dashboard maybe (most probably)?
    If you use object cache, purging cache might help too.

    Hi,

    its a conflict with the plugin

    https://ww.wp.xz.cn/plugins/give/

    • This reply was modified 8 years, 3 months ago by WebMat.

    tips for you

    if ( class_exists( 'Give' ) ) {
    	function wpdocs_this_screen() {
    		if ( is_admin() ) {
    		    $currentScreen = get_current_screen();
    		    if( $currentScreen->id === "dashboard" ) {
    		        wp_deregister_script( 'jquery-chosen' );
    		    }
    		}
    	}
    	add_action( 'admin_enqueue_scripts', 'wpdocs_this_screen', 101 );
    }
    • This reply was modified 8 years, 2 months ago by WebMat.

    update it with the last version of give

    if ( class_exists( 'Give' ) ) {
    	function wpdocs_this_screen() {
    		if ( is_admin() ) {
    		    $currentScreen = get_current_screen();
    		    if( $currentScreen->id === "dashboard" ) {
    		        wp_deregister_script( 'give-admin-scripts' );
    		    }
    		}
    	}
    	add_action( 'admin_enqueue_scripts', 'wpdocs_this_screen', 101 );
    }
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Postview graph in dashboard empty’ is closed to new replies.