if ($summary !== null) {
$message .= ":\n{$summary}\n";
}
return new $className($message, $request, $response, $previous, $handlerContext);
}
/**
* Obfuscates URI if there is a username and a password present
*/
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
if ($summary !== null) {
$message .= ":\n{$summary}\n";
}
return new $className($message, $request, $response, $previous, $handlerContext);
}
/**
* Obfuscates URI if there is a username and a password present
*/
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?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; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/resources/views/page.blade.php ENDPATH**/ ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
if ($summary !== null) {
$message .= ":\n{$summary}\n";
}
return new $className($message, $request, $response, $previous, $handlerContext);
}
/**
* Obfuscates URI if there is a username and a password present
*/
static function (ResponseInterface $response) use ($request, $bodySummarizer) {
$code = $response->getStatusCode();
if ($code < 400) {
return $response;
}
throw RequestException::create($request, $response, null, [], $bodySummarizer);
}
);
};
};
}
* itself we get a circular reference. We clear the $handler
* here to avoid that memory leak.
*/
$f = $handler[$index];
unset($handler);
$promise->resolve($f($value));
} elseif ($index === 1) {
// Forward resolution values as-is.
$promise->resolve($value);
} else {
// Forward rejections down the chain.
if (!is_object($value) || !method_exists($value, 'then')) {
$id = $state === self::FULFILLED ? 1 : 2;
// It's a success, so resolve the handlers in the queue.
Utils::queue()->add(static function () use ($id, $value, $handlers): void {
foreach ($handlers as $handler) {
self::callHandler($id, $value, $handler);
}
});
} elseif ($value instanceof Promise && Is::pending($value)) {
// We can just merge our handlers onto the next promise.
$value->handlers = array_merge($value->handlers, $handlers);
public function run(): void
{
while ($task = array_shift($this->queue)) {
/** @var callable $task */
$task();
}
}
/**
* The task queue will be run and exhausted by default when the process
private function invokeWaitFn(): void
{
try {
$wfn = $this->waitFn;
$this->waitFn = null;
$wfn(true);
} catch (\Throwable $reason) {
if ($this->state === self::PENDING) {
// The promise has not been resolved yet, so reject the promise
// with the exception.
$this->reject($reason);
private function waitIfPending(): void
{
if ($this->state !== self::PENDING) {
return;
} elseif ($this->waitFn) {
$this->invokeWaitFn();
} elseif ($this->waitList) {
$this->invokeWaitList();
} else {
// If there's no wait function, then reject the promise.
$this->reject('Cannot wait on a promise that has '
$waitList = $this->waitList;
$this->waitList = null;
foreach ($waitList as $result) {
do {
$result->waitIfPending();
$result = $result->result;
} while ($result instanceof Promise);
if ($result instanceof PromiseInterface) {
$result->wait(false);
if ($this->state !== self::PENDING) {
return;
} elseif ($this->waitFn) {
$this->invokeWaitFn();
} elseif ($this->waitList) {
$this->invokeWaitList();
} else {
// If there's no wait function, then reject the promise.
$this->reject('Cannot wait on a promise that has '
.'no internal wait function. You must provide a wait '
.'function when constructing the promise to be able to '
return $this->then(null, $onRejected);
}
public function wait(bool $unwrap = true)
{
$this->waitIfPending();
if ($this->result instanceof PromiseInterface) {
return $this->result->wait($unwrap);
}
if ($unwrap) {
*/
public function request(string $method, $uri = '', array $options = []): ResponseInterface
{
$options[RequestOptions::SYNCHRONOUS] = true;
return $this->requestAsync($method, $uri, $options)->wait();
}
/**
* Get a client configuration option.
*
*
* @throws GuzzleException
*/
public function get($uri, array $options = []): ResponseInterface
{
return $this->request('GET', $uri, $options);
}
/**
* Create and send an HTTP HEAD request.
*
$response = $this->client->get($this->getUrl("/api/public/directory/search"), [
'query' => $request,
'debug' => false,
'headers' => [
'Accept' => 'application/json',
'Authorization' => 'Bearer ' . $this->getToken(),
],
]);
return \GuzzleHttp\json_decode($response->getBody()->getContents());
}
"role" => $args["role"],
"sort" => $args["sort"],
"size" => $args["size"],
], Arr::only($_REQUEST, ['role', 'tag']));
$response = $this->directoryClient->getDirectory($request);
// dd($response);
return $this->renderTemplate($args["template"], [
"response" => $response,
return $return;
}
$content = isset( $m[5] ) ? $m[5] : null;
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
/**
* Filters the output created by a shortcode callback.
*
* @since 4.7.0
}
$content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
$pattern = get_shortcode_regex( $tagnames );
$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
// Always restore square braces so we don't break things like <!--[if IE ]>.
$content = unescape_invalid_shortcodes( $content );
return $content;
if ( $instance['autop'] ) {
$instance['text'] = wpautop( $instance['text'] );
}
$instance['text'] = do_shortcode( shortcode_unautop( $instance['text'] ) );
// Don't process more more quicktag if this is a preview.
if (
! $this->is_preview() &&
empty( $GLOBALS[ 'SITEORIGIN_PANELS_PREVIEW_RENDER' ] ) &&
$this->enqueue_frontend_scripts( $instance );
} else {
$css_name = 'panels-preview';
}
$template_vars = $this->get_template_variables( $instance, $args );
$template_vars = apply_filters( 'siteorigin_widgets_template_variables_' . $this->id_base, $template_vars, $instance, $args, $this );
// Storage hash allows templates to get access to
$template_vars[ 'storage_hash' ] = '';
if ( ! empty( $widget_html ) ) {
echo $args['before_widget'];
echo $widget_html;
echo $args['after_widget'];
} elseif ( ! empty( $the_widget ) && is_a( $the_widget, 'WP_Widget' ) ) {
$the_widget->widget( $args, $instance );
} else {
// This gives themes a chance to display some sort of placeholder for missing widgets
echo apply_filters( 'siteorigin_panels_missing_widget', $args['before_widget'] . $args['after_widget'], $widget_class, $args, $instance );
}
}
! empty( $widget['panels_info']['style'] ) ? $widget['panels_info']['style'] : array(),
$post_id . '-' . $ri . '-' . $ci . '-' . $wi
);
$this->the_widget(
$widget['panels_info'],
$widget,
$ri,
$ci,
$wi,
$wi == 0,
foreach ( $cell['widgets'] as $wi => & $widget ) {
$is_last = ( $wi == count( $cell['widgets'] ) - 1 );
if ( apply_filters( 'siteorigin_panels_output_widget', true, $widget, $ri, $ci, $wi, $panels_data, $post_id ) ) {
$this->render_widget( $post_id, $ri, $ci, $wi, $widget, $is_last );
}
}
// This allows other themes and plugins to add HTML inside of the cell after its contents.
echo apply_filters( 'siteorigin_panels_inside_cell_after', '', $cell );
// This gives other renderers a chance to change the cell order
$row['cells'] = $cells = $this->modify_row_cells( $row['cells'], $row );
}
foreach ( $row['cells'] as $ci => & $cell ) {
$this->render_cell( $post_id, $ri, $ci, $cell, $row['cells'], $panels_data );
}
// This allows other themes and plugins to add HTML inside of the row after the row contents.
echo apply_filters( 'siteorigin_panels_inside_row_after', '', $row );
echo apply_filters( 'siteorigin_panels_before_content', '', $panels_data, $post_id );
foreach ( $layout_data as $ri => & $row ) {
if ( apply_filters( 'siteorigin_panels_output_row', true, $row, $ri, $panels_data, $post_id ) ) {
$this->render_row( $post_id, $ri, $row, $panels_data );
}
}
echo apply_filters( 'siteorigin_panels_after_content', '', $panels_data, $post_id );
// Check if this post has panels_data.
if ( get_post_meta( $post_id, 'panels_data', true ) ) {
$panel_content = SiteOrigin_Panels::renderer()->render(
$post_id,
// Add CSS if this is not the main single post, this is handled by add_single_css.
$preview || $post_id !== get_queried_object_id()
);
if ( ! empty( $panel_content ) ) {
$content = $panel_content;
// Avoid the array_slice() if possible.
if ( 0 == $the_['accepted_args'] ) {
$value = call_user_func( $the_['function'] );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
}
// Pass the value to WP_Hook.
array_unshift( $args, $value );
$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
*
* @since 0.71
*
* @param string $content Content of the current post.
*/
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
echo $content;
}
/**
<?php (the_content()); ?>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
<?php /**PATH /var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/resources/views/partials/content-page.blade.php ENDPATH**/ ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<?php $__env->startSection('content'); ?>
<?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; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/resources/views/page.blade.php ENDPATH**/ ?>
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
[3/3]
ViewException
|
---|
Illuminate\View\ViewException: Client error: `GET https://api.rightsdesk.com/api/public/directory/search?page=1&team=dd9165da-fa44-483e-bc35-597ce2e74793&tag=agency&role=publisher&sort=last_name%3Aasc&size=100` resulted in a `401 Unauthorized` response: {"message":"Unauthenticated."} (View: /var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/resources/views/partials/content-page.blade.php) (View: /var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/resources/views/partials/content-page.blade.php) at /var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/index.php:14) at include('/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/index.php') (/var/www/mohrbooks.com/wp-includes/template-loader.php:106) at require_once('/var/www/mohrbooks.com/wp-includes/template-loader.php') (/var/www/mohrbooks.com/wp-blog-header.php:19) at require('/var/www/mohrbooks.com/wp-blog-header.php') (/var/www/mohrbooks.com/index.php:17) |
[2/3]
ViewException
|
---|
Illuminate\View\ViewException: Client error: `GET https://api.rightsdesk.com/api/public/directory/search?page=1&team=dd9165da-fa44-483e-bc35-597ce2e74793&tag=agency&role=publisher&sort=last_name%3Aasc&size=100` resulted in a `401 Unauthorized` response: {"message":"Unauthenticated."} (View: /var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/resources/views/partials/content-page.blade.php) at /var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/var/www/mohrbooks.com/wp-content/cache/acorn/framework/views/dee6a2c7907e9af9c1a50927a08a3cac399d2b8a.php:3) at require('/var/www/mohrbooks.com/wp-content/cache/acorn/framework/views/dee6a2c7907e9af9c1a50927a08a3cac399d2b8a.php') (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/index.php:14) at include('/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/index.php') (/var/www/mohrbooks.com/wp-includes/template-loader.php:106) at require_once('/var/www/mohrbooks.com/wp-includes/template-loader.php') (/var/www/mohrbooks.com/wp-blog-header.php:19) at require('/var/www/mohrbooks.com/wp-blog-header.php') (/var/www/mohrbooks.com/index.php:17) |
[1/3]
ClientException
|
---|
GuzzleHttp\Exception\ClientException: Client error: `GET https://api.rightsdesk.com/api/public/directory/search?page=1&team=dd9165da-fa44-483e-bc35-597ce2e74793&tag=agency&role=publisher&sort=last_name%3Aasc&size=100` resulted in a `401 Unauthorized` response: {"message":"Unauthenticated."} at /var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 at GuzzleHttp\Exception\RequestException::create() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/guzzle/src/Middleware.php:72) at GuzzleHttp\Middleware::GuzzleHttp\{closure}() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:209) at GuzzleHttp\Promise\Promise::callHandler() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:158) at GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/TaskQueue.php:52) at GuzzleHttp\Promise\TaskQueue->run() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:251) at GuzzleHttp\Promise\Promise->invokeWaitFn() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:227) at GuzzleHttp\Promise\Promise->waitIfPending() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:272) at GuzzleHttp\Promise\Promise->invokeWaitList() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:229) at GuzzleHttp\Promise\Promise->waitIfPending() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/promises/src/Promise.php:69) at GuzzleHttp\Promise\Promise->wait() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/guzzle/src/Client.php:189) at GuzzleHttp\Client->request() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/vendor/guzzlehttp/guzzle/src/ClientTrait.php:44) at GuzzleHttp\Client->get() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/src/Api/Clients/DirectoryClient.php:15) at Rightsdesk\Wordpress\Api\Clients\DirectoryClient->getDirectory() (/var/www/mohrbooks.com/wp-content/plugins/rightsdesk-api/src/Traits/HandlesDirectory.php:51) at Rightsdesk\Wordpress\Plugin->getDirectory() (/var/www/mohrbooks.com/wp-includes/shortcodes.php:355) at do_shortcode_tag() at preg_replace_callback() (/var/www/mohrbooks.com/wp-includes/shortcodes.php:227) at do_shortcode() (/var/www/mohrbooks.com/wp-content/plugins/so-widgets-bundle/widgets/editor/editor.php:108) at SiteOrigin_Widget_Editor_Widget->get_template_variables() (/var/www/mohrbooks.com/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php:194) at SiteOrigin_Widget->widget() (/var/www/mohrbooks.com/wp-content/plugins/siteorigin-panels/inc/renderer.php:756) at SiteOrigin_Panels_Renderer->the_widget() (/var/www/mohrbooks.com/wp-content/plugins/siteorigin-panels/inc/renderer.php:1108) at SiteOrigin_Panels_Renderer->render_widget() (/var/www/mohrbooks.com/wp-content/plugins/siteorigin-panels/inc/renderer.php:1075) at SiteOrigin_Panels_Renderer->render_cell() (/var/www/mohrbooks.com/wp-content/plugins/siteorigin-panels/inc/renderer.php:988) at SiteOrigin_Panels_Renderer->render_row() (/var/www/mohrbooks.com/wp-content/plugins/siteorigin-panels/inc/renderer.php:494) at SiteOrigin_Panels_Renderer->render() (/var/www/mohrbooks.com/wp-content/plugins/siteorigin-panels/siteorigin-panels.php:384) at SiteOrigin_Panels->generate_post_content() (/var/www/mohrbooks.com/wp-includes/class-wp-hook.php:308) at WP_Hook->apply_filters() (/var/www/mohrbooks.com/wp-includes/plugin.php:205) at apply_filters() (/var/www/mohrbooks.com/wp-includes/post-template.php:255) at the_content() (/var/www/mohrbooks.com/wp-content/cache/acorn/framework/views/a2348d46f9c50e89357d77a3ea07b0ae324741fd.php:1) at require('/var/www/mohrbooks.com/wp-content/cache/acorn/framework/views/a2348d46f9c50e89357d77a3ea07b0ae324741fd.php') (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/var/www/mohrbooks.com/wp-content/cache/acorn/framework/views/dee6a2c7907e9af9c1a50927a08a3cac399d2b8a.php:3) at require('/var/www/mohrbooks.com/wp-content/cache/acorn/framework/views/dee6a2c7907e9af9c1a50927a08a3cac399d2b8a.php') (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:195) at Illuminate\View\View->getContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:178) at Illuminate\View\View->renderContents() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/vendor/illuminate/view/View.php:147) at Illuminate\View\View->render() (/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/index.php:14) at include('/var/www/mohrbooks.com/wp-content/themes/mohrbooks-v4/index.php') (/var/www/mohrbooks.com/wp-includes/template-loader.php:106) at require_once('/var/www/mohrbooks.com/wp-includes/template-loader.php') (/var/www/mohrbooks.com/wp-blog-header.php:19) at require('/var/www/mohrbooks.com/wp-blog-header.php') (/var/www/mohrbooks.com/index.php:17) |