Title: Fatal Error Activating Yoast Plugin
Last modified: June 2, 2022

---

# Fatal Error Activating Yoast Plugin

 *  [Chris McElroy SEO](https://wordpress.org/support/users/chrismcelroyseo/)
 * (@chrismcelroyseo)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-activating-yoast-plugin/)
 * Fatal error: Namespace declaration statement has to be the very first statement
   or after any declare call in the script in /home3/leadgles/public_html/wp-content/
   plugins/wordpress-seo/src/integrations/front-end/robots-txt-integration.php on
   line 4
 * I only got this message when installing Yoast SEO. I’ve tried reporting it to
   Yoast, but only find ways to do that if I buy premium and with this error, I’m
   not likely to do that.
 * Can anyone tell me what this error message means?

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-activating-yoast-plugin/#post-15704157)
 * I recommend asking at [https://wordpress.org/support/plugin/wordpress-seo/](https://wordpress.org/support/plugin/wordpress-seo/)
   so its developers and support community can help you with this.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error Activating Yoast Plugin’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [Namespace declaration](https://wordpress.org/support/topic-tag/namespace-declaration/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/fatal-error-activating-yoast-plugin/#post-15704157)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
