^ GuzzleHttp\Exception\ClientException {#5150
-request: GuzzleHttp\Psr7\Request {#5139
-method: "GET"
-requestTarget: null
-uri: GuzzleHttp\Psr7\Uri {#5154
-scheme: "https"
-userInfo: ""
-host: "id.italbooks.com"
-port: null
-path: "/api/network/teams/details"
-query: ""
-fragment: ""
}
-headers: array:4 [
"User-Agent" => array:1 [
0 => "GuzzleHttp/7"
]
"Host" => array:1 [
0 => "id.italbooks.com"
]
"Accept" => array:1 [
0 => "application/json"
]
"Authorization" => array:1 [
0 => "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5ODJlYzkxOS04Y2UxLTRkNGMtYWFjNy1jMjViNjA5ZGUzOTQiLCJqdGkiOiI1ZmFlMDQ4YzQ0YTliNTVlNWIwZWNlMThmMGZlMWYyODRhYjQwYmFlNzg3YmNhYjYwNjU3YTE5YjE2NDBiNTAxYzU2NGI3NzJmMTczMWZmZSIsImlhdCI6MTcwMTYyMTc1OS4xOTQyOTEsIm5iZiI6MTcwMTYyMTc1OS4xOTQyOTQsImV4cCI6MTczMzI0NDE1OS4xOTAwMzcsInN1YiI6IiIsInNjb3BlcyI6WyIqIl19.nL7OPlRcMwvXwYkkvgGYwTJhy2bChYeYrPuqRcuUhoWvpTfyrFRt8AFBRy9SSt5XdhcGALcoUTiRI3a1pQmpRApiZxyeOG4Ucp6hdzdowKkPbZQj2kmK3KRkAZGH20gvQjRmnqzgY8nw0pgqSLIZJGV6kqrTYiBxhFeFHvMLiUWuplwEBVTCSZwsxJgFkbSzP4kjVtRQFAhTpynLZSlp4SsXYE36HOG7oyI7Cx6k9cIzFqPxAvoD6VeJ3C4wdZOR9ZH-9S6RJXt7Ps201cQ9KSdKjxKPtXg-95ZFYJ5pQINfVi92YlJsfI4eCJ1eKoHLiFz51a3XJEtCX_sley1GlN8FyCNIbi87sBrskMs5PqDC9sLSR6frMnKv9gwwi-5ih56adlPpFBl4sz8vBRULjvviTBoRrvDgEG0ogtrasZWTOhuOGKxtDKUvpiF8xRMfDXctx-VmI7wGvYlP3WGoPZuVTRxLq-1FrVy5Q0cyG83Ii7An_s-nzsCIJ0kSGXM3-W8RBEHT7vWn7xi_FxvRfvrArR0s0CELbCOna4Gy_aMWNmJP2ZWynCWiJtzTLGtC0sCNgbRmLNJb3NEfN8M88_z3K30NPmvj9a5KvtEntOQQqs6eExQau_lBYI8vC6SlK8rEF_ZqNvlTchiSRhs6SZ0bbKPsSjghzuLAOTTJ2oo"
]
]
-headerNames: array:4 [
"user-agent" => "User-Agent"
"host" => "Host"
"accept" => "Accept"
"authorization" => "Authorization"
]
-protocol: "1.1"
-stream: GuzzleHttp\Psr7\Stream {#5138
-stream: stream resource @318
wrapper_type: "PHP"
stream_type: "TEMP"
mode: "w+b"
unread_bytes: 0
seekable: true
uri: "php://temp"
options: []
}
-size: 0
-seekable: true
-readable: true
-writable: true
-uri: "php://temp"
-customMetadata: []
}
}
-response: GuzzleHttp\Psr7\Response {#5147
-reasonPhrase: "Not Found"
-statusCode: 404
-headers: array:7 [
"Server" => array:1 [
0 => "nginx/1.18.0 (Ubuntu)"
]
"Content-Type" => array:1 [
0 => "application/json"
]
"Transfer-Encoding" => array:1 [
0 => "chunked"
]
"Connection" => array:1 [
0 => "keep-alive"
]
"Cache-Control" => array:1 [
0 => "no-cache, private"
]
"Date" => array:1 [
0 => "Mon, 02 Dec 2024 12:11:47 GMT"
]
"Access-Control-Allow-Origin" => array:1 [
0 => "*"
]
]
-headerNames: array:7 [
"server" => "Server"
"content-type" => "Content-Type"
"transfer-encoding" => "Transfer-Encoding"
"connection" => "Connection"
"cache-control" => "Cache-Control"
"date" => "Date"
"access-control-allow-origin" => "Access-Control-Allow-Origin"
]
-protocol: "1.1"
-stream: GuzzleHttp\Psr7\Stream {#5144
-stream: stream resource @320
wrapper_type: "PHP"
stream_type: "TEMP"
mode: "w+b"
unread_bytes: 0
seekable: true
uri: "php://temp"
options: []
}
-size: 8817
-seekable: true
-readable: true
-writable: true
-uri: "php://temp"
-customMetadata: []
}
}
-handlerContext: []
#message: """
Client error: `GET https://id.italbooks.com/api/network/teams/details` resulted in a `404 Not Found` response:\n
{\n
"message": "No query results for model [Rightsdesk\\Federation\\Models\\Team].",\n
"exception": "Symfony\\Compon (truncated...)\n
"""
#code: 404
#file: "/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
#line: 111
trace: {
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111 {
GuzzleHttp\Exception\RequestException::create(RequestInterface $request, ResponseInterface $response = null, Throwable $previous = null, array $ctx = []): self …
›
› return new $className($message, $request, $response, $previous, $ctx);
› }
}
/var/www/italbooks/wp-content/plugins/italbooks/vendor/guzzlehttp/guzzle/src/Middleware.php:69 {
GuzzleHttp\Middleware::GuzzleHttp\{closure} …
› }
› throw RequestException::create($request, $response, null, [], $bodySummarizer);
› }
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:203 {
GuzzleHttp\Promise\Promise::callHandler($index, $value, array $handler) …
› if (isset($handler[$index])) {
› $promise->resolve($handler[$index]($value));
› } elseif ($index === 1) {
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:156 {
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure} …
› foreach ($handlers as $handler) {
› self::callHandler($id, $value, $handler);
› }
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/TaskQueue.php:47 {
GuzzleHttp\Promise\TaskQueue->run() …
› while ($task = array_shift($this->queue)) {
› $task();
› }
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:246 {
GuzzleHttp\Promise\Promise->invokeWaitFn() …
› $this->waitFn = null;
› $wfn(true);
› } catch (\Exception $reason) {
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:223 {
GuzzleHttp\Promise\Promise->waitIfPending() …
› } elseif ($this->waitFn) {
› $this->invokeWaitFn();
› } elseif ($this->waitList) {
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:267 {
GuzzleHttp\Promise\Promise->invokeWaitList() …
› while (true) {
› $result->waitIfPending();
›
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:225 {
GuzzleHttp\Promise\Promise->waitIfPending() …
› } elseif ($this->waitList) {
› $this->invokeWaitList();
› } else {
}
/var/www/italbooks/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:62 {
GuzzleHttp\Promise\Promise->wait($unwrap = true) …
› {
› $this->waitIfPending();
›
}
/var/www/italbooks/wp-content/plugins/italbooks/vendor/guzzlehttp/guzzle/src/Client.php:187 {
GuzzleHttp\Client->request(string $method, $uri = '', array $options = []): ResponseInterface …
› $options[RequestOptions::SYNCHRONOUS] = true;
› return $this->requestAsync($method, $uri, $options)->wait();
› }
}
/var/www/italbooks/wp-content/plugins/rightsdesk/src/Api/Clients/NetworkClient.php:40 {
Rightsdesk\Wordpress\Api\Clients\NetworkClient->getTeam($teamId) …
› 'Accept' => 'application/json',
› 'Authorization' => 'Bearer ' . $this->getToken(),
› ],
}
/var/www/italbooks/wp-content/plugins/rightsdesk/src/Traits/HandlesCompanies.php:79 {
Rightsdesk\Wordpress\Plugin->showCompanyProfile($teamId) …
› try {
› $response = $this->networkClient->getTeam($teamId);
› $team = $response->data;
}
/var/www/italbooks/wp-content/plugins/rightsdesk/src/Traits/HandlesCompanies.php:43 {
Rightsdesk\Wordpress\Plugin->showCompanies($attrs = []) …
› if (get_query_var("teamId")) {
› return $this->showCompanyProfile(get_query_var("teamId"));
› }
}
/var/www/italbooks/wp-includes/shortcodes.php:433 {
do_shortcode_tag($m) …
›
› $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
›
}
do_shortcode_tag() {}
/var/www/italbooks/wp-includes/shortcodes.php:273 {
do_shortcode($content, $ignore_html = false) …
› $pattern = get_shortcode_regex( $tagnames );
› $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
›
}
/var/www/italbooks/wp-content/plugins/so-widgets-bundle/widgets/editor/editor.php:121 {
SiteOrigin_Widget_Editor_Widget->get_template_variables($instance, $args) …
›
› $instance['text'] = do_shortcode( shortcode_unautop( $instance['text'] ) );
›
}
/var/www/italbooks/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php:194 {
SiteOrigin_Widget->widget($args, $instance) …
›
› $template_vars = $this->get_template_variables( $instance, $args );
› $template_vars = apply_filters( 'siteorigin_widgets_template_variables_' . $this->id_base, $template_vars, $instance, $args, $this );
}
/var/www/italbooks/wp-content/plugins/siteorigin-panels/inc/renderer.php:890 {
SiteOrigin_Panels_Renderer->the_widget($widget_info, $instance, $grid_index, $cell_index, $widget_index, $is_first, $is_last, $post_id = false, $style_wrapper = '') …
› } elseif ( ! empty( $the_widget ) && is_a( $the_widget, 'WP_Widget' ) ) {
› \t$the_widget->widget( $args, $instance );
› } else {
}
/var/www/italbooks/wp-content/plugins/siteorigin-panels/inc/renderer.php:1262 {
SiteOrigin_Panels_Renderer->render_widget($post_id, $ri, $ci, $wi, &$widget, $is_last) …
› $this->the_widget(
› \t$widget['panels_info'],
› \t$widget,
}
/var/www/italbooks/wp-content/plugins/siteorigin-panels/inc/renderer.php:1229 {
SiteOrigin_Panels_Renderer->render_cell($post_id, $ri, $ci, &$cell, $cells, &$panels_data) …
› if ( apply_filters( 'siteorigin_panels_output_widget', true, $widget, $ri, $ci, $wi, $panels_data, $post_id ) ) {
› \t$this->render_widget( $post_id, $ri, $ci, $wi, $widget, $is_last );
› }
}
/var/www/italbooks/wp-content/plugins/siteorigin-panels/inc/renderer.php:1138 {
SiteOrigin_Panels_Renderer->render_row($post_id, $ri, &$row, &$panels_data) …
› foreach ( $row['cells'] as $ci => & $cell ) {
› \t$this->render_cell( $post_id, $ri, $ci, $cell, $row['cells'], $panels_data );
› }
}
/var/www/italbooks/wp-content/plugins/siteorigin-panels/inc/renderer.php:587 {
SiteOrigin_Panels_Renderer->render($post_id = false, $enqueue_css = true, $panels_data = false, &$layout_data = [], $is_preview = false) …
› if ( apply_filters( 'siteorigin_panels_output_row', true, $row, $ri, $panels_data, $post_id ) ) {
› \t$this->render_row( $post_id, $ri, $row, $panels_data );
› }
}
/var/www/italbooks/wp-content/plugins/siteorigin-panels/siteorigin-panels.php:342 {
SiteOrigin_Panels->generate_post_content($content) …
› \t// Add CSS if this is not the main single post, this is handled by add_single_css.
› \t$preview || $post_id !== get_queried_object_id()
› );
}
/var/www/italbooks/wp-includes/class-wp-hook.php:324 {
WP_Hook->apply_filters($value, $args) …
› } elseif ( $the_['accepted_args'] >= $num_args ) {
› \t$value = call_user_func_array( $the_['function'], $args );
› } else {
}
/var/www/italbooks/wp-includes/plugin.php:205 {
apply_filters($hook_name, $value, ...$args) …
›
› $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
›
}
/var/www/italbooks/wp-includes/post-template.php:256 {
the_content($more_link_text = null, $strip_teaser = false) …
› */
› $content = apply_filters( 'the_content', $content );
› $content = str_replace( ']]>', ']]>', $content );
}
/var/www/italbooks/wp-content/themes/italbooks/storage/framework/views/231ab19abda6382823b28da592185cd8c906a259.php:1 {
include …
›
› <?php (the_content()); ?>
› <?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/Engines/PhpEngine.php:41 {
Illuminate\View\Engines\PhpEngine->evaluatePath($__path, $__data) …
› try {
› include $__path;
› } catch (Throwable $e) {
arguments: {
"/var/www/italbooks/wp-content/themes/italbooks/storage/framework/views/e0956aa2428d9531b2bcb2862afa2ae99152de6a.php"
}
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/Engines/CompilerEngine.php:57 {
Illuminate\View\Engines\CompilerEngine->get($path, array $data = []) …
› // which have been rendered for right exception messages to be generated.
› $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
›
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/View.php:139 {
Illuminate\View\View->getContents() …
› {
› return $this->engine->get($this->path, $this->gatherData());
› }
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/View.php:122 {
Illuminate\View\View->renderContents() …
›
› $contents = $this->getContents();
›
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/View.php:91 {
Illuminate\View\View->render(callable $callback = null) …
› try {
› $contents = $this->renderContents();
›
}
/var/www/italbooks/wp-content/themes/italbooks/storage/framework/views/e0956aa2428d9531b2bcb2862afa2ae99152de6a.php:24 {
include …
› <?php while(have_posts()): ?> <?php (the_post()); ?>
› <?php echo $__env->first(['partials.content-page', 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
› <?php endwhile; ?>
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/Engines/PhpEngine.php:41 {
Illuminate\View\Engines\PhpEngine->evaluatePath($__path, $__data) …
› try {
› include $__path;
› } catch (Throwable $e) {
arguments: {
"/var/www/italbooks/wp-content/themes/italbooks/storage/framework/views/e0956aa2428d9531b2bcb2862afa2ae99152de6a.php"
}
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/Engines/CompilerEngine.php:57 {
Illuminate\View\Engines\CompilerEngine->get($path, array $data = []) …
› // which have been rendered for right exception messages to be generated.
› $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
›
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/View.php:139 {
Illuminate\View\View->getContents() …
› {
› return $this->engine->get($this->path, $this->gatherData());
› }
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/View.php:122 {
Illuminate\View\View->renderContents() …
›
› $contents = $this->getContents();
›
}
/var/www/italbooks/wp-content/themes/italbooks/vendor/illuminate/view/View.php:91 {
Illuminate\View\View->render(callable $callback = null) …
› try {
› $contents = $this->renderContents();
›
}
/var/www/italbooks/wp-content/themes/italbooks/index.php:32 {
include …
› <div id="app">
› <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
› </div>
}
/var/www/italbooks/wp-includes/template-loader.php:106 {
require_once …
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
arguments: {
"/var/www/italbooks/wp-content/themes/italbooks/index.php"
}
}
/var/www/italbooks/wp-blog-header.php:19 {
require …
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
arguments: {
"/var/www/italbooks/wp-includes/template-loader.php"
}
}
/var/www/italbooks/index.php:17 {
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
arguments: {
"/var/www/italbooks/wp-blog-header.php"
}
}
}
}