• Resolved Carlos Revilla

    (@carlos-revilla)


    The upgrade to v2.0 failed. I even tried in a clena WP 4.1 without others plugin activates. After trying to activate. it justo goes to a 404 pagew not found.

    In my main site, I lost more than two years worth of statistics after dowmgrading to previous plugin version. Everything is ok again but without overall numbers.

    Lookina the error log showws

    [28-Dec-2014 02:59:14 UTC] Error Table ‘cambiopo_wp703.wp_top_ten’ doesn’t exist de la base de datos de WordPress para la consulta INSERT INTO wp_top_ten (postnumber, cntaccess) VALUES(‘2163’, ‘1’) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 realizada por tptn_inc_count
    [28-Dec-2014 02:59:17 UTC] PHP Fatal error: Call to undefined function get_tptn_post_count() in /home/cambiopo/public_html/wp-content/plugins/top-10/top-10-counter.js.php on line 37
    [28-Dec-2014 02:59:20 UTC] PHP Fatal error: Call to undefined function get_tptn_post_count() in /home/cambiopo/public_html/wp-content/plugins/top-10/top-10-counter.js.php on line 37
    [28-Dec-2014 03:04:31 UTC] PHP Fatal error: Call to undefined function get_tptn_post_count() in /home/cambiopo/public_html/wp-content/plugins/top-10/top-10-counter.js.php on line 37
    [28-Dec-2014 03:04:43 UTC] Error Table ‘cambiopo_wp703.wp_top_ten’ doesn’t exist de la base de datos de WordPress para la consulta INSERT INTO wp_top_ten (postnumber, cntaccess) VALUES(‘58689’, ‘1’) ON DUPLICATE KEY UPDATE cntaccess= cntaccess+1 realizada por tptn_inc_count
    [28-Dec-2014 03:04:44 UTC] PHP Fatal error: Call to undefined function get_tptn_post_count() in /home/cambiopo/public_html/wp-content/plugins/top-10/top-10-counter.js.php on line 37
    [28-Dec-2014 03:04:44 UTC] PHP Fatal error: Call to undefined function tptn_pop_posts() in /home/cambiopo/public_html/wp-content/plugins/top-10/top-10-daily.js.php on line 31
    [28-Dec-2014 03:04:48 UTC] PHP Fatal error: Call to undefined function get_tptn_post_count() in /home/cambiopo/public_html/wp-content/plugins/top-10/top-10-counter.js.php on line 37

    I′m holding all my others wp installation until further notice.

    Carlos Revilla

    https://www.ads-software.com/plugins/top-10/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Please rollback this plugin soon…

    Plugin Author Ajay

    (@ajay)

    Hi,

    Thank you for the error log details.

    I am currently working on a fix. I’ve opened up a separate thread to consolidate issues. Please see at:

    https://www.ads-software.com/support/topic/issues-with-20-21

    Plugin Author Ajay

    (@ajay)

    Hi,

    On further checking, it appears the code creating the issue was the function tptn_read_options()

    Deleting out this piece of code from the top-10.php file in your broken install and reactivating the plugin should fix the errors:

    You can find this around line 1139 in top-10.php

    $installed_ver = get_option( "tptn_db_version" );
    
    	if ( $installed_ver != $tptn_db_version ) {
    		tptn_activation_hook( $network_wide );
    	}

    I just tried this out on my two sites that broke because of the upgrade.

    I will release a fix shortly.

    Plugin Author Ajay

    (@ajay)

    Hi,

    I’ve released v2.0.1 which fixes this issue. Please upgrade your plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with 2.0’ is closed to new replies.