• ResolvedPlugin Author Ajay

    (@ajay)


    All,

    There is an issue with 2.0 that breaks the database on upgrade. I am looking into this and will have a fix soon.

    For now, please rename the top-10 folder in your plugin interface to “top-10.old” and visit your plugins admin page e.g. https://example.com/wp-admin/plugins.php

    You can usually find the top-10 folder in wp-content/plugins/

    This will disable the plugin and restore your site. You should get a message like this:

    The plugin top-10/top-10.php has been deactivated due to an error: Plugin file does not exist.

    You can then rename the folder back again to top-10 so it will be ready when I release the updated fixed version.

    Please do not delete the plugin within the plugins admin page, because it will delete all the old statistics

    My apologies to all users who upgraded to v2.0.0 and faced this issue.

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

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thanks for the update. Yeah, it took down my website and then some. ^_^; But thanks to your instructions, I was able to get things back up.

    Yet we are using previews version from our backup file…
    Please rollback this new release.
    Thank you.

    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.

    Now every thing is fine…
    Thank you.

    Plugin Author Ajay

    (@ajay)

    Thanks for confirming!

    The new patch seems OK.

    Plugin Author Ajay

    (@ajay)

    Thanks for the confirmation!

    Sorry, but I just tried 2.0.2 and it still won’t work. Cannot activate after upgrading. Get this error:

    Warning: require_once(/var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/admin.inc.php): failed to open stream: No such file or directory in /var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/top-10.php on line 1310 Fatal error: require_once(): Failed opening required ‘/var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/admin.inc.php’ (include_path=’.:’) in /var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/top-10.php on line 1310

    Have rolled back to Version 1.9.10.2.

    Plugin Author Ajay

    (@ajay)

    Hi,

    From what I can see above, it seems like some files have been updated and others haven’t in the installation. There is no admin.inc.php code anymore in Top 10 v2x files.
    This was in Top 10 v1.x

    Here what you can try to fix this:
    1. Deactivate the plugin

    2. Please make sure you backup you database first.

    3. Could you please delete the top-10 folder via cPanel or FTP or any other file manager that you use (not within WordPress)

    4. Download the latest version of Top 10, extract the contents and upload the top-10 folder. This would be in wp-content/plugins i.e. same place as the folder you deleted in step 3.

    5. Visit the plugins page and reactivate the plugin.

    Did not work. Deactivated from within WordPress, deleted via FTP, downloaded new version and extracted, uploaded new Top 10 folder via FTP, reactivated from WP. Error message:

    Warning: require_once(/var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/admin.inc.php): failed to open stream: No such file or directory in /var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/top-10.php on line 1310 Fatal error: require_once(): Failed opening required ‘/var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/admin.inc.php’ (include_path=’.:’) in /var/www/vhosts/holeinthedonut.com/httpdocs/wp-content/plugins/top-10/top-10.php on line 1310

    Plugin Author Ajay

    (@ajay)

    There definitely is a problem with the files that are getting downloaded and uploaded.

    Could you please check what you see in top-10.php vs. the file in trac

    https://plugins.trac.www.ads-software.com/browser/top-10/trunk/top-10.php

    Ajay, unfortunately, this is beyond my ability. However, based on what you say, I suspect the issue is on my end. I’ve been having problems seeing changes in real time due to something my tech says has to do with server-side caching, and my host seems to be unable to resolve the problems. For example, I modified my footer file to add my company address and it took 5 days for the change to be visible. I suspect this may also be the problem with your plugin, which is on me, not you. I appreciate you trying to help but at this point tit looks I may need to work on things on my end.

    Plugin Author Ajay

    (@ajay)

    Hi, no problem on that. I am always happy to help.

    Your host must have some kind of aggressive caching to keep the resource usage lower and sites faster. Issue is running into problems like that.

    Ideally, your host should be aware of the caching, because it doesn’t usually just turn up automatically.

    Plugin Author Ajay

    (@ajay)

    I’ve released v2.0.3 with further more bug fixes. I’ve also added a new option that is disabled by default that will retain the counter data tables when you uninstall the plugin.

    This allows you to delete and reinstall the plugin without losing all the tracking data.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Issues with 2.0!’ is closed to new replies.