WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Error Cannot redeclare apache_request_headers() (5 posts)

  1. 2xyo
    Member
    Posted 3 years ago #

    Dear,

    I just install Wp Super cache 0.9.9.6. When i activate the plugin, i have this error message :

    L’extension n’a pu être activée, car elle a déclenché une erreur fatale.

    Fatal error: Cannot redeclare apache_request_headers() in /srv/www/assos/xxx/wp-content/plugins/wp-super-cache/wp-cache.php on line 1295

    How fix it ?

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    That's weird because there's a check to see if that function exists just before that line. I don't know how that's happening on your site.

  3. 2xyo
    Member
    Posted 3 years ago #

    Can i help you with more information ? Debug ?

  4. 2xyo
    Member
    Posted 3 years ago #

    Any news ?

  5. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    You just have to figure out where that function is defined, or disable plugins one by one until it works because it might be some completely unrelated error causing PHP to have a fit about this. It's not a problem in Supercache. :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic