Title: Fatal error: Namespace declaration Bootstrap.php
Last modified: August 26, 2018

---

# Fatal error: Namespace declaration Bootstrap.php

 *  [michelecortellessa](https://wordpress.org/support/users/michelecortellessa/)
 * (@michelecortellessa)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-namespace-declaration-bootstrap-php/)
 * Hi all,
    today the website stopped working because of a fatal error:
 * `Fatal error: Namespace declaration statement has to be the very first statement
   or after any declare call in the script in /public_html/wp-content/plugins/favorites/
   app/Bootstrap.php on line 2`
 * I had to disable the plugin (by renaming the plugin folder). Someone had the 
   same issue and know how to fix it? I run the last version of the plugin (2.2.0)
 * Thank you for any help 🙂
    -  This topic was modified 7 years, 9 months ago by [michelecortellessa](https://wordpress.org/support/users/michelecortellessa/).
    -  This topic was modified 7 years, 9 months ago by [michelecortellessa](https://wordpress.org/support/users/michelecortellessa/).

The topic ‘Fatal error: Namespace declaration Bootstrap.php’ is closed to new replies.

 * ![](https://ps.w.org/favorites/assets/icon-128x128.png?rev=1677726)
 * [Favorites](https://wordpress.org/plugins/favorites/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/favorites/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/favorites/)
 * [Active Topics](https://wordpress.org/support/plugin/favorites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/favorites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/favorites/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [michelecortellessa](https://wordpress.org/support/users/michelecortellessa/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-namespace-declaration-bootstrap-php/)
 * Status: not resolved