Support » Plugin: Counterize » Server error after upgrading Counterize

  • Resolved Italiangal


    After upgrading Counterize to the latest version using the ‘automatic update’ feature, I get a “Server Error” “The website encountered an error while retrieving (website URL). It may be down for maintenance or configured incorrectly.” when trying to access my WP admin control panel. The only way to get it back up is to go into my FTP tool and manually delete the counterize folder. I tried manually installing an older version and am getting the same error. Counterize worked great on my site even after I upgraded WP until I tried to upgrade Counterize. Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author GabSoftware



    Which version are you trying to install? Did you have a lot of entries in your database?

    Plugin Author GabSoftware


    By the way this could help you to locate the error:

    – Open your wp-config.php file
    – Set the WP_DEBUG constant to true
    – Add the following lines just after the WP_DEBUG line:

    error_reporting( E_ALL | E_STRICT );
    ini_set(‘display_errors’, 1);

    If you see errors instead of the “Server Error” page, please take a screenshot and copy-paste the errors here.

    It’s a brand new site, less than a month old so not a lot of entries yet. 7 posts. WP Version 3.2. Counterize Version 3.0.32.

    I added the code to the wp-config.php file then activated Counterize. Immediately I got the following error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /(home directory)/wp-admin/menu.php on line 45

    I tried to add the following statement to the wp-config.php file as suggested in another forum to no avail: define(‘WP_MEMORY_LIMIT’, ’64M’)

    If I type in my site’s URL, I still get the generic Server Error message with the following line: HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    Plugin Author GabSoftware


    Thank you for your report. So your host is limiting the memory to 32 M, which is quite low. Counterize is becoming a big plugin and together with WordPress ate all the available memory, apparently during the upgrade process.

    Anyway I don’t know why Counterize is using all your available memory. I guess I should start to use a code profiler!

    If you can, you could export your online web server database to a local web server, then do the update process here, then import the updated database back to your online web server. The memory limit in local web servers is generally set to 128 M which is enough for pretty much everything.

    Also you can try to comment the upgrade lines in counterize_install.php between 3.0.28 and 3.0.32, as no database changes have been done (just some cleaning).

    Otherwise, you can wait for a next version of Counterize, but I can’t tell when…

    Sorry for the inconvenience.



    Hi Gabriel. I just wanted to let you know, thanks to your guidance, I got Counterize working again! When I first started my site, I installed bbpress with the plans of setting up a forum but had not started using it yet. It had been deactivated, but it wasn’t until I deleted it that I could get Counterize working again. Apparently between the two plug-ins and the upgrade, it must have bumped my memory usage over the limit. I’ve also emailed my web hosting company to get their help in bumping up the memory limit to hopefully prevent this from happening again.

    Thanks again for your help!

    Plugin Author GabSoftware


    That’s great if that solved your problem! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Server error after upgrading Counterize’ is closed to new replies.