Warning: strtok(): Both arguments must be provided when starting tokenization in /htdocs/tib-espaces-verts.fr/wp-content/mu-plugins/wp-such.php on line 1
el'] = $this->get_label( $account_summary ); /** * Filters the account data after it was created. * * @since 1.9.3 * * @param array $account Account data. */ return (array) apply_filters( 'wpforms_integrations_constant_contact_v3_auth_create_account_data', $account ); } /** * Get APP data needed for auth in the sing-up popup. * * @since 1.9.3 * * @return string */ public static function get_auth_url(): string { return add_query_arg( [ 'client_id' => ConstantContact::get_api_key(), 'scope' => 'offline_access account_read contact_data', 'redirect_uri' => add_query_arg( 'api-version', 'v3', ConstantContact::get_middleware_url() ), 'state' => 'WPForms-' . wp_rand( 1000, 9999 ), 'response_type' => 'code', 'prompt' => 'login', ], ConstantContact::SIGN_UP ); } /** * Get label. * * @since 1.9.3 * * @param array $account_summary Account summary. * * @return string */ private function get_label( array $account_summary ): string { $email_part = $account_summary['contact_email'] ?? ''; $org_part = $account_summary['organization_name'] ?? ''; if ( empty( $email_part ) && empty( $org_part ) ) { return ''; } if ( empty( $email_part ) ) { return $org_part; } if ( empty( $org_part ) ) { return $email_part; } return "$email_part / $org_part"; } /** * Get the URL to the providers' page with the focus on the CC v3 integration. * * @since 1.9.3 * * @return string */ private function get_page_url(): string { return add_query_arg( [ 'page' => 'wpforms-settings', 'view' => 'integrations', 'wpforms-integration' => Core::SLUG, ], admin_url( 'admin.php' ) ); } }
Fatal error: Uncaught Error: Class "WPForms\Integrations\ConstantContact\V3\Auth" not found in /htdocs/tib-espaces-verts.fr/wp-content/plugins/wpforms-lite/src/Integrations/ConstantContact/V3/ConstantContact.php:69 Stack trace: #0 /htdocs/tib-espaces-verts.fr/wp-content/plugins/wpforms-lite/src/Integrations/Loader.php(88): WPForms\Integrations\ConstantContact\V3\ConstantContact->load() #1 /htdocs/tib-espaces-verts.fr/wp-content/plugins/wpforms-lite/src/Integrations/Loader.php(73): WPForms\Integrations\Loader->load_integration(Object(WPForms\Integrations\ConstantContact\V3\ConstantContact)) #2 /htdocs/tib-espaces-verts.fr/wp-content/plugins/wpforms-lite/src/Integrations/Loader.php(22): WPForms\Integrations\Loader->__construct() #3 /htdocs/tib-espaces-verts.fr/wp-includes/class-wp-hook.php(324): WPForms\Integrations\Loader::get_instance('') #4 /htdocs/tib-espaces-verts.fr/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(Object(WPForms\Providers\Providers), Array) #5 /htdocs/tib-espaces-verts.fr/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /htdocs/tib-espaces-verts.fr/wp-content/plugins/wpforms-lite/src/WPForms.php(340): do_action('wpforms_loaded') #7 /htdocs/tib-espaces-verts.fr/wp-includes/class-wp-hook.php(324): WPForms\WPForms->objects('') #8 /htdocs/tib-espaces-verts.fr/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /htdocs/tib-espaces-verts.fr/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /htdocs/tib-espaces-verts.fr/wp-settings.php(578): do_action('plugins_loaded') #11 /htdocs/tib-espaces-verts.fr/wp-config.php(98): require_once('/htdocs/tib-esp...') #12 /htdocs/tib-espaces-verts.fr/wp-load.php(50): require_once('/htdocs/tib-esp...') #13 /htdocs/tib-espaces-verts.fr/wp-blog-header.php(13): require_once('/htdocs/tib-esp...') #14 /htdocs/tib-espaces-verts.fr/index.php(17): require('/htdocs/tib-esp...') #15 {main} thrown in /htdocs/tib-espaces-verts.fr/wp-content/plugins/wpforms-lite/src/Integrations/ConstantContact/V3/ConstantContact.php on line 69