array:9 [



    
        
        
        
        Pcom\PcomAuth: Auth0 Configuration is not valid. Please check the wp-config configuration file that the following values are set: domain, client_id, client_secret, cookie_secret, GJOtesting_audience. (500 Internal Server Error)
        
        
        
    
    
        

                    

Symfony Exception

Pcom\PcomAuth: Auth0 Configuration is not valid. Please check the wp-config configuration file that the following values are set: domain, client_id, client_secret, cookie_secret, GJOtesting_audience.

Exception

Exception

  1. // Validate the Auth0 Configuration
  2. if (empty($this->auth0Config['domain']) || empty($this->auth0Config['client_id']) || empty($this->auth0Config['client_secret']) || empty($this->auth0Config['cookie_secret']) || empty($this->auth0Config['GJOtesting_audience'])) {
  3. Log::error(__CLASS__ . ': Auth0 Configuration is not valid.');
  4. throw new \Exception(__CLASS__ . ': Auth0 Configuration is not valid. Please check the wp-config configuration file that the following values are set: domain, client_id, client_secret, cookie_secret, GJOtesting_audience.');
  5. return;
  6. }
  7. // Instantiate the Auth0 SDK Configuration
PcomAuth->instantiateAuth0Instance() in /var/www/property/wp-content/plugins/pcom/app/PcomAuth.php (line 116)
  1. $this->auth0Config['signup_callback_url'] = site_url() . '/' . $this->auth0Config['signup_callback_uri'];
  2. // Instantiate the Auth0 SDK
  3. $this->instantiateAuth0Instance();
  4. // Get the Auth0 Credentials & User
  5. $this->getAuth0Credentials();
  6. $this->getAuth0User();
  1. * Instantiate App as a global object
  2. */
  3. global $PcomAuth;
  4. $PcomAuth = new PcomAuth;
  5. /**
  6. * Instantiate App as a global object
  7. */
  1. }
  2. public function boot()
  3. {
  4. foreach ($this->providers() as $service) {
  5. ((object) new $service)->boot();
  6. }
  7. }
  8. /**
PcomServiceProvider->boot() in /var/www/property/wp-includes/class-wp-hook.php (line 324)
  1. // Avoid the array_slice() if possible.
  2. if ( 0 === $the_['accepted_args'] ) {
  3. $value = call_user_func( $the_['function'] );
  4. } elseif ( $the_['accepted_args'] >= $num_args ) {
  5. $value = call_user_func_array( $the_['function'], $args );
  6. } else {
  7. $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
  8. }
  9. }
  10. } while ( false !== next( $this->iterations[ $nesting_level ] ) );
WP_Hook->apply_filters() in /var/www/property/wp-includes/class-wp-hook.php (line 348)
  1. *
  2. * @param array $args Parameters to pass to the callback functions.
  3. */
  4. public function do_action( $args ) {
  5. $this->doing_action = true;
  6. $this->apply_filters( '', $args );
  7. // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8. if ( ! $this->nesting_level ) {
  9. $this->doing_action = false;
  10. }
WP_Hook->do_action() in /var/www/property/wp-includes/plugin.php (line 517)
  1. } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
  2. // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3. $arg[0] = $arg[0][0];
  4. }
  5. $wp_filter[ $hook_name ]->do_action( $arg );
  6. array_pop( $wp_current_filter );
  7. }
  8. /**
do_action() in /var/www/property/wp-settings.php (line 727)
  1. *
  2. * If you wish to plug an action once WP is loaded, use the {@see 'wp_loaded'} hook below.
  3. *
  4. * @since 1.5.0
  5. */
  6. do_action( 'init' );
  7. // Check site status.
  8. if ( is_multisite() ) {
  9. $file = ms_site_check();
  10. if ( true !== $file ) {
require_once('/var/www/property/wp-settings.php') in /var/www/property/wp-config.php (line 286)
  1. if (! defined('ABSPATH')) {
  2. define('ABSPATH', __DIR__ . '/');
  3. }
  4. /** Sets up WordPress vars and included files. */
  5. require_once ABSPATH . 'wp-settings.php';
require_once('/var/www/property/wp-config.php') in /var/www/property/wp-load.php (line 50)
  1. * If neither set of conditions is true, initiate loading the setup process.
  2. */
  3. if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
  4. /** The config file resides in ABSPATH */
  5. require_once ABSPATH . 'wp-config.php';
  6. } elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
  7. /** The config file resides one level above ABSPATH but is not part of another installation */
  8. require_once dirname( ABSPATH ) . '/wp-config.php';
require_once('/var/www/property/wp-load.php') in /var/www/property/wp-blog-header.php (line 13)
  1. if ( ! isset( $wp_did_header ) ) {
  2. $wp_did_header = true;
  3. // Load the WordPress library.
  4. require_once __DIR__ . '/wp-load.php';
  5. // Set up the WordPress query.
  6. wp();
  7. // Load the theme template.
require('/var/www/property/wp-blog-header.php') in /var/www/property/index.php (line 17)
  1. * @var bool
  2. */
  3. define( 'WP_USE_THEMES', true );
  4. /** Loads the WordPress Environment and Template */
  5. require __DIR__ . '/wp-blog-header.php';

Stack Trace

Exception
Exception:
Pcom\PcomAuth: Auth0 Configuration is not valid. Please check the wp-config configuration file that the following values are set: domain, client_id, client_secret, cookie_secret, GJOtesting_audience.

  at /var/www/property/wp-content/plugins/pcom/app/PcomAuth.php:137
  at Pcom\PcomAuth->instantiateAuth0Instance()
     (/var/www/property/wp-content/plugins/pcom/app/PcomAuth.php:116)
  at Pcom\PcomAuth->__construct()
     (/var/www/property/wp-content/plugins/pcom/app/Providers/PcomAuthServiceProvider.php:44)
  at Pcom\Providers\PcomAuthServiceProvider->boot()
     (/var/www/property/wp-content/plugins/pcom/app/Providers/PcomServiceProvider.php:85)
  at Pcom\Providers\PcomServiceProvider->boot()
     (/var/www/property/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters()
     (/var/www/property/wp-includes/class-wp-hook.php:348)
  at WP_Hook->do_action()
     (/var/www/property/wp-includes/plugin.php:517)
  at do_action()
     (/var/www/property/wp-settings.php:727)
  at require_once('/var/www/property/wp-settings.php')
     (/var/www/property/wp-config.php:286)
  at require_once('/var/www/property/wp-config.php')
     (/var/www/property/wp-load.php:50)
  at require_once('/var/www/property/wp-load.php')
     (/var/www/property/wp-blog-header.php:13)
  at require('/var/www/property/wp-blog-header.php')
     (/var/www/property/index.php:17)