Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response: { "message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].", "exception": "Symfony\\Component (truncated...) (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php) (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php) (500 Internal Server Error)

Symfony Exception

ClientException ViewException ViewException

HTTP 500 Internal Server Error

Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response:
{
"message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].",
"exception": "Symfony\\Component (truncated...)
(View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php) (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php)

Exceptions 3

Illuminate\View\ ViewException

  1.         if ($summary !== null) {
  2.             $message .= ":\n{$summary}\n";
  3.         }
  4.         return new $className($message$request$response$previous$handlerContext);
  5.     }
  6.     /**
  7.      * Obfuscates URI if there is a username and a password present
  8.      */
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.   <body <?php body_class(); ?>>
  2.     <?php wp_body_open(); ?>
  3.     <?php do_action('get_header'); ?>
  4.     <div id="app">
  5.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  6.     </div>
  7.     <?php do_action('get_footer'); ?>
  8.     <?php wp_footer(); ?>
  9.   </body>
include('/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php') in /var/www/rightsdesk.com/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/var/www/rightsdesk.com/wp-includes/template-loader.php') in /var/www/rightsdesk.com/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/var/www/rightsdesk.com/wp-blog-header.php') in /var/www/rightsdesk.com/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';

Illuminate\View\ ViewException

Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response: { "message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].", "exception": "Symfony\\Component (truncated...) (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php)

  1.         if ($summary !== null) {
  2.             $message .= ":\n{$summary}\n";
  3.         }
  4.         return new $className($message$request$response$previous$handlerContext);
  5.     }
  6.     /**
  7.      * Obfuscates URI if there is a username and a password present
  8.      */
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php while(have_posts()): ?> <?php (the_post()); ?>
  3.     <?php echo $__env->first(['partials.content-page''partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  4.   <?php endwhile; ?>
  5. <?php $__env->stopSection(); ?>
  6. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.   <body <?php body_class(); ?>>
  2.     <?php wp_body_open(); ?>
  3.     <?php do_action('get_header'); ?>
  4.     <div id="app">
  5.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  6.     </div>
  7.     <?php do_action('get_footer'); ?>
  8.     <?php wp_footer(); ?>
  9.   </body>
include('/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php') in /var/www/rightsdesk.com/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/var/www/rightsdesk.com/wp-includes/template-loader.php') in /var/www/rightsdesk.com/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/var/www/rightsdesk.com/wp-blog-header.php') in /var/www/rightsdesk.com/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';

GuzzleHttp\Exception\ ClientException

Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response: { "message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].", "exception": "Symfony\\Component (truncated...)

  1.         if ($summary !== null) {
  2.             $message .= ":\n{$summary}\n";
  3.         }
  4.         return new $className($message$request$response$previous$handlerContext);
  5.     }
  6.     /**
  7.      * Obfuscates URI if there is a username and a password present
  8.      */
  1.                     static function (ResponseInterface $response) use ($request$bodySummarizer) {
  2.                         $code $response->getStatusCode();
  3.                         if ($code 400) {
  4.                             return $response;
  5.                         }
  6.                         throw RequestException::create($request$responsenull, [], $bodySummarizer);
  7.                     }
  8.                 );
  9.             };
  10.         };
  11.     }
  1.                  * itself we get a circular reference. We clear the $handler
  2.                  * here to avoid that memory leak.
  3.                  */
  4.                 $f $handler[$index];
  5.                 unset($handler);
  6.                 $promise->resolve($f($value));
  7.             } elseif ($index === 1) {
  8.                 // Forward resolution values as-is.
  9.                 $promise->resolve($value);
  10.             } else {
  11.                 // Forward rejections down the chain.
  1.         if (!is_object($value) || !method_exists($value'then')) {
  2.             $id $state === self::FULFILLED 2;
  3.             // It's a success, so resolve the handlers in the queue.
  4.             Utils::queue()->add(static function () use ($id$value$handlers) {
  5.                 foreach ($handlers as $handler) {
  6.                     self::callHandler($id$value$handler);
  7.                 }
  8.             });
  9.         } elseif ($value instanceof Promise && Is::pending($value)) {
  10.             // We can just merge our handlers onto the next promise.
  11.             $value->handlers array_merge($value->handlers$handlers);
  1.     public function run()
  2.     {
  3.         while ($task array_shift($this->queue)) {
  4.             /** @var callable $task */
  5.             $task();
  6.         }
  7.     }
  8.     /**
  9.      * The task queue will be run and exhausted by default when the process
  1.     private function invokeWaitFn()
  2.     {
  3.         try {
  4.             $wfn $this->waitFn;
  5.             $this->waitFn null;
  6.             $wfn(true);
  7.         } catch (\Exception $reason) {
  8.             if ($this->state === self::PENDING) {
  9.                 // The promise has not been resolved yet, so reject the promise
  10.                 // with the exception.
  11.                 $this->reject($reason);
  1.     private function waitIfPending()
  2.     {
  3.         if ($this->state !== self::PENDING) {
  4.             return;
  5.         } elseif ($this->waitFn) {
  6.             $this->invokeWaitFn();
  7.         } elseif ($this->waitList) {
  8.             $this->invokeWaitList();
  9.         } else {
  10.             // If there's no wait function, then reject the promise.
  11.             $this->reject('Cannot wait on a promise that has '
  1.         $waitList $this->waitList;
  2.         $this->waitList null;
  3.         foreach ($waitList as $result) {
  4.             do {
  5.                 $result->waitIfPending();
  6.                 $result $result->result;
  7.             } while ($result instanceof Promise);
  8.             if ($result instanceof PromiseInterface) {
  9.                 $result->wait(false);
  1.         if ($this->state !== self::PENDING) {
  2.             return;
  3.         } elseif ($this->waitFn) {
  4.             $this->invokeWaitFn();
  5.         } elseif ($this->waitList) {
  6.             $this->invokeWaitList();
  7.         } else {
  8.             // If there's no wait function, then reject the promise.
  9.             $this->reject('Cannot wait on a promise that has '
  10.                 'no internal wait function. You must provide a wait '
  11.                 'function when constructing the promise to be able to '
  1.         return $this->then(null$onRejected);
  2.     }
  3.     public function wait($unwrap true)
  4.     {
  5.         $this->waitIfPending();
  6.         if ($this->result instanceof PromiseInterface) {
  7.             return $this->result->wait($unwrap);
  8.         }
  9.         if ($unwrap) {
  1.      * @throws GuzzleException
  2.      */
  3.     public function request(string $method$uri '', array $options = []): ResponseInterface
  4.     {
  5.         $options[RequestOptions::SYNCHRONOUS] = true;
  6.         return $this->requestAsync($method$uri$options)->wait();
  7.     }
  8.     /**
  9.      * Get a client configuration option.
  10.      *
  1.      *
  2.      * @throws GuzzleException
  3.      */
  4.     public function get($uri, array $options = []): ResponseInterface
  5.     {
  6.         return $this->request('GET'$uri$options);
  7.     }
  8.     /**
  9.      * Create and send an HTTP HEAD request.
  10.      *
  1.     {
  2.         $response $this->client->get($this->getApiUrl("/catalogs/{$catalogId}"), [
  3.             'debug'   => false,
  4.             'headers' => [
  5.                 'Accept'        => 'application/json',
  6.                 'Authorization' => 'Bearer ' $this->getToken(),
  7.             ],
  8.         ]);
  9.         return \GuzzleHttp\json_decode($response->getBody()->getContents());
  10.     }
  1.      * @param null $team
  2.      * @return false|string
  3.      */
  4.     public function getCatalog($catalogId$args$team null)
  5.     {
  6.         $response $this->catalogClient->getCatalog($catalogId);
  7.         // Show work details
  8.         if (get_query_var("workId")) {
  9.             $args = [];
  10.             return $this->getWork(get_query_var("workId"), $args$team$response->data);
  1.         }
  2.         // Single work in catalog
  3.         if (get_query_var("workId") && get_query_var("catalogId")) {
  4.             $args = [];
  5.             return $this->getCatalog(get_query_var("catalogId"), $args$response->data);
  6.         }
  7.         // Single work
  8.         if (get_query_var("workId")) {
  9.             $args = [];
  1.             'template'   => "teams/index.php",
  2.         ], $attrs);
  3.         // Show team details
  4.         if (get_query_var("teamId")) {
  5.             return $this->getTeamInNetwork(get_query_var("teamId"), $args);
  6.         }
  7.         // Build request
  8.         $request array_merge([
  9.             "page"    => max(1absint(get_query_var('paged'))),
Plugin->getTeamsInNetwork() in /var/www/rightsdesk.com/wp-includes/shortcodes.php (line 355)
  1.         return $return;
  2.     }
  3.     $content = isset( $m[5] ) ? $m[5] : null;
  4.     $output $m[1] . call_user_func$shortcode_tags$tag ], $attr$content$tag ) . $m[6];
  5.     /**
  6.      * Filters the output created by a shortcode callback.
  7.      *
  8.      * @since 4.7.0
do_shortcode_tag()
preg_replace_callback() in /var/www/rightsdesk.com/wp-includes/shortcodes.php (line 227)
  1.     }
  2.     $content do_shortcodes_in_html_tags$content$ignore_html$tagnames );
  3.     $pattern get_shortcode_regex$tagnames );
  4.     $content preg_replace_callback"/$pattern/"'do_shortcode_tag'$content );
  5.     // Always restore square braces so we don't break things like <!--[if IE ]>.
  6.     $content unescape_invalid_shortcodes$content );
  7.     return $content;
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( == $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$args0, (int) $the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
WP_Hook->apply_filters() in /var/www/rightsdesk.com/wp-includes/plugin.php (line 205)
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
  1.      *
  2.      * @since 0.71
  3.      *
  4.      * @param string $content Content of the current post.
  5.      */
  6.     $content apply_filters'the_content'$content );
  7.     $content str_replace']]>'']]&gt;'$content );
  8.     echo $content;
  9. }
  10. /**
  1. <?php (the_content()); ?>
  2. <?php echo wp_link_pages(['echo' => 0'before' => '<nav class="page-nav"><p>' __('Pages:''sage'), 'after' => '</p></nav>']); ?>
  3. <?php /**PATH /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php while(have_posts()): ?> <?php (the_post()); ?>
  3.     <?php echo $__env->first(['partials.content-page''partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  4.   <?php endwhile; ?>
  5. <?php $__env->stopSection(); ?>
  6. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/page.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.   <body <?php body_class(); ?>>
  2.     <?php wp_body_open(); ?>
  3.     <?php do_action('get_header'); ?>
  4.     <div id="app">
  5.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  6.     </div>
  7.     <?php do_action('get_footer'); ?>
  8.     <?php wp_footer(); ?>
  9.   </body>
include('/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php') in /var/www/rightsdesk.com/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/var/www/rightsdesk.com/wp-includes/template-loader.php') in /var/www/rightsdesk.com/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/var/www/rightsdesk.com/wp-blog-header.php') in /var/www/rightsdesk.com/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 Traces 3

[3/3] ViewException
Illuminate\View\ViewException:
Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response:
{
    "message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].",
    "exception": "Symfony\\Component (truncated...)
 (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php) (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php)

  at /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php:14)
  at include('/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php')
     (/var/www/rightsdesk.com/wp-includes/template-loader.php:106)
  at require_once('/var/www/rightsdesk.com/wp-includes/template-loader.php')
     (/var/www/rightsdesk.com/wp-blog-header.php:19)
  at require('/var/www/rightsdesk.com/wp-blog-header.php')
     (/var/www/rightsdesk.com/index.php:17)                
[2/3] ViewException
Illuminate\View\ViewException:
Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response:
{
    "message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].",
    "exception": "Symfony\\Component (truncated...)
 (View: /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/resources/views/partials/content-page.blade.php)

  at /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/63f36e2343da513e34d21532b5bc86eeb7c8e93e.php:4)
  at require('/var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/63f36e2343da513e34d21532b5bc86eeb7c8e93e.php')
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php:14)
  at include('/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php')
     (/var/www/rightsdesk.com/wp-includes/template-loader.php:106)
  at require_once('/var/www/rightsdesk.com/wp-includes/template-loader.php')
     (/var/www/rightsdesk.com/wp-blog-header.php:19)
  at require('/var/www/rightsdesk.com/wp-blog-header.php')
     (/var/www/rightsdesk.com/index.php:17)                
[1/3] ClientException
GuzzleHttp\Exception\ClientException:
Client error: `GET https://api.rightsdesk.com/api/public/catalogs/f9b19b58-e605-46cd-a301-15441e9cbe9b` resulted in a `404 Not Found` response:
{
    "message": "No query results for model [Rightsdesk\\Core\\Models\\Catalog].",
    "exception": "Symfony\\Component (truncated...)


  at /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
  at GuzzleHttp\Exception\RequestException::create()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Middleware.php:69)
  at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:204)
  at GuzzleHttp\Promise\Promise::callHandler()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:153)
  at GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/TaskQueue.php:48)
  at GuzzleHttp\Promise\TaskQueue->run()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:248)
  at GuzzleHttp\Promise\Promise->invokeWaitFn()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:224)
  at GuzzleHttp\Promise\Promise->waitIfPending()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:269)
  at GuzzleHttp\Promise\Promise->invokeWaitList()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:226)
  at GuzzleHttp\Promise\Promise->waitIfPending()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/promises/src/Promise.php:62)
  at GuzzleHttp\Promise\Promise->wait()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Client.php:187)
  at GuzzleHttp\Client->request()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/ClientTrait.php:44)
  at GuzzleHttp\Client->get()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Api/Clients/CatalogClient.php:28)
  at Rightsdesk\Wordpress\Api\Clients\CatalogClient->getCatalog()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesCatalogs.php:113)
  at Rightsdesk\Wordpress\Plugin->getCatalog()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesNetwork.php:190)
  at Rightsdesk\Wordpress\Plugin->getTeamInNetwork()
     (/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesNetwork.php:148)
  at Rightsdesk\Wordpress\Plugin->getTeamsInNetwork()
     (/var/www/rightsdesk.com/wp-includes/shortcodes.php:355)
  at do_shortcode_tag()
  at preg_replace_callback()
     (/var/www/rightsdesk.com/wp-includes/shortcodes.php:227)
  at do_shortcode()
     (/var/www/rightsdesk.com/wp-includes/class-wp-hook.php:308)
  at WP_Hook->apply_filters()
     (/var/www/rightsdesk.com/wp-includes/plugin.php:205)
  at apply_filters()
     (/var/www/rightsdesk.com/wp-includes/post-template.php:255)
  at the_content()
     (/var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/253c2638f644a3ed58c7fb74d424425fa9822c49.php:1)
  at require('/var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/253c2638f644a3ed58c7fb74d424425fa9822c49.php')
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/63f36e2343da513e34d21532b5bc86eeb7c8e93e.php:4)
  at require('/var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/63f36e2343da513e34d21532b5bc86eeb7c8e93e.php')
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php:14)
  at include('/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php')
     (/var/www/rightsdesk.com/wp-includes/template-loader.php:106)
  at require_once('/var/www/rightsdesk.com/wp-includes/template-loader.php')
     (/var/www/rightsdesk.com/wp-blog-header.php:19)
  at require('/var/www/rightsdesk.com/wp-blog-header.php')
     (/var/www/rightsdesk.com/index.php:17)