Title: Error &quot;an error occurred while processing this directive&quot;
Last modified: August 31, 2016

---

# Error "an error occurred while processing this directive"

 *  Resolved [rafael1338](https://wordpress.org/support/users/rafael1338/)
 * (@rafael1338)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-an-error-occurred-while-processing-this-directive-1/)
 * Hello!
 * A while back here began to appear the error
 * **an error occurred while processing this directive**
 * This error sometimes appeared, and was increasing frequency. Now, in every post
   that I will make the error appears. I click publish, spends a few seconds and
   the error appears. Today I was getting the **error 500** when trying to publish.
   Delete and reinstall the Jetpack, and **500 error** disappeared, but “**an error
   occurred while processing this directive**” continues.
 * I’ve done several tests with other plugins, I changed the theme, and even then
   the error continues. If I disable the Jetpack, everything works perfectly.
 * Can you help me?
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-an-error-occurred-while-processing-this-directive-1/#post-7277875)
 * Could you add the following to your site’s wp-config.php file?
 *     ```
       define('WP_DEBUG', true);
   
       if ( WP_DEBUG ) {
   
               @error_reporting( E_ALL );
               @ini_set( 'log_errors', true );
               @ini_set( 'log_errors_max_len', '0' );
   
               define( 'WP_DEBUG_LOG', true );
               define('WP_DEBUG_DISPLAY', false);
               define( 'CONCATENATE_SCRIPTS', false );
               define( 'SAVEQUERIES', true );
   
       }
       ```
   
 * Once you’ve done so, try publishing a new post when Jetpack is active, and then
   check the `wp-content/debug.log` file for errors. You can paste the results here.
   You can then replace `define('WP_DEBUG', true);` by `define('WP_DEBUG', false);`
   in the code above.
 * Thanks!
 *  Thread Starter [rafael1338](https://wordpress.org/support/users/rafael1338/)
 * (@rafael1338)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-an-error-occurred-while-processing-this-directive-1/#post-7277902)
 * Hello!
 * I did this and found the error. It was a conflict between the Jetpack and other
   plugin. As the Jetpack is more important, I disabled the other.
 * Thank you!
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-an-error-occurred-while-processing-this-directive-1/#post-7277926)
 * Could you let me know what that other plugin was? It may help me help other Jetpack
   users in the future, and may help the other plugin’s authors too 🙂
 * Thanks!
 *  Thread Starter [rafael1338](https://wordpress.org/support/users/rafael1338/)
 * (@rafael1338)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-an-error-occurred-while-processing-this-directive-1/#post-7277929)
 * Simple Google Sitemap XML.

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

The topic ‘Error "an error occurred while processing this directive"’ is closed 
to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [error 500](https://wordpress.org/support/topic-tag/error-500/)
 * [[an error occurred while processing this directive]](https://wordpress.org/support/topic-tag/an-error-occurred-while-processing-this-directive/)

 * 4 replies
 * 2 participants
 * Last reply from: [rafael1338](https://wordpress.org/support/users/rafael1338/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/error-an-error-occurred-while-processing-this-directive-1/#post-7277929)
 * Status: resolved