Title: getallheaders Error
Last modified: October 26, 2020

---

# getallheaders Error

 *  Resolved [vitamin-c](https://wordpress.org/support/users/vitamin-c/)
 * (@vitamin-c)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/)
 * Hi,
    Today I installed your plugin but it would never activate (0.3.2 that was,
   I think). Then I noticed the 0.4 version you just released. It still wouldn’t
   activate after the update but at least it is creating an error code:
 * Fatal error: Cannot redeclare getallheaders() in (path)/www/wp-content/plugins/
   spotlight-social-photo-feeds/vendor/ralouphie/getallheaders/src/getallheaders.
   php on line 10
 * Do you know what to do with it? I would really like to give your plugin a run…
 * Kind regards,
    Marco
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetallheaders-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * (@markzahra)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13582851)
 * Hi Marco, thanks for reporting the error. I’ll have our developers take a look
   at this first thing tomorrow morning. Can you please share a screenshot of where
   the error is happening?
 * Is the plugin still not activating at all with version 0.4 on your site?
 *  Thread Starter [vitamin-c](https://wordpress.org/support/users/vitamin-c/)
 * (@vitamin-c)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13582945)
 * Thanks for the quick reply, Mark. I appreciate it and I look forward to reading
   from your again!
    Here’s the screenshot: [https://www.dropbox.com/s/l5lqi4ilkss6wev/Screenshot%202020-10-26%20at%2019.59.01.png?dl=0](https://www.dropbox.com/s/l5lqi4ilkss6wev/Screenshot%202020-10-26%20at%2019.59.01.png?dl=0)
    -  This reply was modified 5 years, 7 months ago by [vitamin-c](https://wordpress.org/support/users/vitamin-c/).
    -  This reply was modified 5 years, 7 months ago by [vitamin-c](https://wordpress.org/support/users/vitamin-c/).
    -  This reply was modified 5 years, 7 months ago by [vitamin-c](https://wordpress.org/support/users/vitamin-c/).
    -  This reply was modified 5 years, 7 months ago by [vitamin-c](https://wordpress.org/support/users/vitamin-c/).
      Reason: Damn dropbox link wouldn't work inline... :(
 *  Plugin Author [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * (@markzahra)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13582964)
 * Thank you [@vitamin-c](https://wordpress.org/support/users/vitamin-c/), we’ll
   get back to you tomorrow.
 *  Thread Starter [vitamin-c](https://wordpress.org/support/users/vitamin-c/)
 * (@vitamin-c)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13588894)
 * Hi Mark,
    I noticed a 0.4.1 update. I am still getting the
 * Fatal error: Cannot redeclare getallheaders() in /home/bruendler-kg.ch/ftp/www/
   wp-content/plugins/spotlight-social-photo-feeds/vendor/ralouphie/getallheaders/
   src/getallheaders.php on line 10
 * upon my attempt to activate it. I also deactivated any other plugin and installed
   the TwentyTwenty theme with the same result.
 *  Plugin Author [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * (@markzahra)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13590497)
 * [@vitamin-c](https://wordpress.org/support/users/vitamin-c/) can you please confirm
   the PHP version being used for your site?
 *  Thread Starter [vitamin-c](https://wordpress.org/support/users/vitamin-c/)
 * (@vitamin-c)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13590704)
 * Absolutely:
    I’m running WordPress 5.5.1 | PHP 7.3.21 | Apache | MySQL 5.7.31
 *  Plugin Author [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * (@markzahra)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13591440)
 * Thank you [@vitamin-c](https://wordpress.org/support/users/vitamin-c/). Please
   ask your hosting provider if the `getallheaders` function is disabled in PHP’s`
   disable_functions` INI directive.
 *  Thread Starter [vitamin-c](https://wordpress.org/support/users/vitamin-c/)
 * (@vitamin-c)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13591567)
 * Thank you for your great support, Mark! That was it. Geez, sorry if this caused
   any headache! The ISP changed the php.ini and off we go!
 *  Plugin Author [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * (@markzahra)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13591752)
 * Great, thanks for letting us know!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘getallheaders Error’ is closed to new replies.

 * ![](https://ps.w.org/spotlight-social-photo-feeds/assets/icon-256x256.png?rev
   =2817710)
 * [Spotlight Social Feeds - Block, Shortcode, and Widget](https://wordpress.org/plugins/spotlight-social-photo-feeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/spotlight-social-photo-feeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/spotlight-social-photo-feeds/)
 * [Active Topics](https://wordpress.org/support/plugin/spotlight-social-photo-feeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spotlight-social-photo-feeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spotlight-social-photo-feeds/reviews/)

## Tags

 * [activate](https://wordpress.org/support/topic-tag/activate/)
 * [fatal](https://wordpress.org/support/topic-tag/fatal/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * 9 replies
 * 2 participants
 * Last reply from: [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/getallheaders-error/#post-13591752)
 * Status: resolved