Title: Undefined Constant
Last modified: August 22, 2016

---

# Undefined Constant

 *  Resolved [AJ Troxell](https://wordpress.org/support/users/phiredesign/)
 * (@phiredesign)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/undefined-constant-1/)
 * Getting this error:
 * `Notice: Use of undefined constant CONTENT_STAGING_ENDPOINT - assumed 'CONTENT_STAGING_ENDPOINT'
   in C:\inetpub\wwwroot\farrlaw-com-dev\wp-content\plugins\content-staging\content-
   staging.php on line 117 Notice: Use of undefined constant CONTENT_STAGING_SECRET_KEY-
   assumed 'CONTENT_STAGING_SECRET_KEY' in C:\inetpub\wwwroot\farrlaw-com-dev\wp-
   content\plugins\content-staging\content-staging.php on line 135 Notice: Use of
   undefined constant CONTENT_STAGING_TRANSFER_TIMEOUT - assumed 'CONTENT_STAGING_TRANSFER_TIMEOUT'
   in C:\inetpub\wwwroot\farrlaw-com-dev\wp-content\plugins\content-staging\classes\
   xmlrpc\class-client.php on line 17 Notice: Undefined index: scheme in C:\inetpub\
   wwwroot\farrlaw-com-dev\wp-includes\class-wp-http-ixr-client.php on line 15 Notice:
   Undefined index: host in C:\inetpub\wwwroot\farrlaw-com-dev\wp-includes\class-
   wp-http-ixr-client.php on line 16`
 * [https://wordpress.org/plugins/content-staging/](https://wordpress.org/plugins/content-staging/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/undefined-constant-1/#post-5304068)
 * Hi,
 * You have to add some settings to your wp-config.php file:
 *     ```
       define( 'CONTENT_STAGING_SECRET_KEY', 'YOUR_GENERATED_KEY' );
       define( 'CONTENT_STAGING_ENDPOINT', 'https://YOUR_PRODUCTION_SITE.com' );
       define( 'CONTENT_STAGING_TRANSFER_TIMEOUT', 60 );
       ```
   
 * Make sure to add these settings somewhere before:
 *     ```
       require_once(ABSPATH . 'wp-settings.php');
       ```
   
 * For more information about the installation, see [https://wordpress.org/plugins/content-staging/installation/](https://wordpress.org/plugins/content-staging/installation/)
 * Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘Undefined Constant’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/content-staging.svg)
 * [Content Staging](https://wordpress.org/plugins/content-staging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-staging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-staging/)
 * [Active Topics](https://wordpress.org/support/plugin/content-staging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-staging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-staging/reviews/)

## Tags

 * [constant](https://wordpress.org/support/topic-tag/constant/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)

 * 1 reply
 * 2 participants
 * Last reply from: [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/undefined-constant-1/#post-5304068)
 * Status: resolved