Support » Plugin: AskApache Google 404 » [Plugin: AskApache Google 404] Cannot redeclare set_current_screen()

  • Resolved Juffs


    After updating the plugin to version 4.8.2 I get the following error message.

    “Fatal error: Cannot redeclare set_current_screen() (previously declared in /wp-content/plugins/askapache-google-404/askapache-google-404.php:63) in /wp-admin/includes/template.php on line 3952”

    After manually removing the plugin and trying a new re-install I get the same error.

    Please could you look into this. Thanks for a great plugin.

Viewing 12 replies - 1 through 12 (of 12 total)
  • I found the same thing. My site was visible to the public but the error was locking me out of the admin area. I rolled back to the prior version and it seems to be OK again.

    Disappointing that a new release was issued without it being properly tested.

    i have the same issue. rolling back to 4.8.0 now

    How do you roll back to 4.8.0? Thanks!

    I would like the answer to this too I cannot log into my admin area now???

    Here is the link to download the previous versions.

    Just follow the installation instructions on the Plugin Homepage from there.

    Plugin Author askapache


    Wow big mistake on my part, sorry about that! Got a little anxious to get the update out there..

    I just released a fix that fixes that and a jquery.cookies issue.

    BTW, please keep sending me any ideas for improvements, I implemented a ton of suggestions with this release and want any ideas for improvement you can think of. This plugin is a set-it and forget it deal because it’s used on so many sites, so it has to be 1-click and it works. The 404 Google Tracking Code with asynchronous javascript? My favorite.

    Again, sorry for that coding error.. it’s really not cool that it caused php errors to show up, a potential security problem for sure..

    Thanks for getting this sorted so quickly. Much appreciated.

    Sorry about being a pain but I am still not able to log in to my admin area to upload the fix. Any suggestions?

    Plugin Author askapache


    I have no idea what is wrong tervan.. I am debugging it as much as I know how and it’s clean.

    Please give me any errors, a screenshot, as much as you can..

    Below is what I get when trying to log into my admin area

    Fatal error: Cannot redeclare set_current_screen() (previously declared in /home/tervan/public_html/wp-content/plugins/askapache-google-404/askapache-google-404.php:63) in /home/tervan/public_html/wp-admin/includes/template.php on line 3948 is the message I’m getting

    I went into cpanel to upload the fix to /wp-content/plugins/ but to no avail

    I am a novice at blogging so, it is probably something easy

    Thanks for getting back to me

    Tervan do you have FTP acccess to your domain? If you do (and know how to access it), one way to get past the problem you are facing is to manually delete the askapache-google-404 folder from your plugins directory via FTP.

    This will allow you to access your admin/back-end again and then you can install version and get things running again.

    That is what I did and I haven’t had any problems (even my settings seem to have been saved somehow – maybe they are stored in the WP database? Not sure). Please be warned however that doing this may result in loss of your previous settings/customizations for the askapache-google-404 plugin.

    The other guys will probably be able to provide you with a more “delicate” way of disabling the plugin, but removing the old version of the plugin entirely worked for me so I’m sure it will be fine for you. Since there have been quite a few updates to this new version of the plugin you would probably have to go through most of the settings again anyway just to check, so if you do lose them in the process of sorting out this problem it’s not really gonna be an issue.

    Anyway – good luck. Hope you can get it sorted out without any unnecessary hassle.

    Wow, thanks for the quick update! I upgraded it, got the same error, but deleting the plugin and installing worked flawlessly for me. Many thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: AskApache Google 404] Cannot redeclare set_current_screen()’ is closed to new replies.