^ ErrorException {#1474 #message: "Attempt to read property "slug" on null" #code: 0 #file: "/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details/attributes.php" #line: 24 #severity: E_WARNING trace: { /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details/attributes.php:24 { Illuminate\Foundation\Bootstrap\HandleExceptions->handleError($level, $message, $file = '', $line = 0, $context = []) … › <th colspan="2"> › <a href="<?php printf("%s/%s", get_option('rightsdesk_vendors_base_url'), $work->team->slug); ?>"> › <?php echo $work->team->name; ?> } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54 { Roots\Acorn\Bootstrap\HandleExceptions->handleError($level, $message, $file = '', $line = 0, $context = []) … › try { › parent::handleError($level, $message, $file, $line, $context); › } catch (Throwable $e) { } /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details/attributes.php:24 { include … › <th colspan="2"> › <a href="<?php printf("%s/%s", get_option('rightsdesk_vendors_base_url'), $work->team->slug); ?>"> › <?php echo $work->team->name; ?> } /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/ProvidesTemplates.php:23 { Rightsdesk\Wordpress\Plugin->renderTemplate($template, $args = []) … › ob_start(); › include($include); › return ob_get_clean(); arguments: { "/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details.php" } } /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details.php:23 { include … › › <?php echo $this->renderTemplate("works/details/attributes.php", ["work" => $work]); ?> › </div> } /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/ProvidesTemplates.php:23 { Rightsdesk\Wordpress\Plugin->renderTemplate($template, $args = []) … › ob_start(); › include($include); › return ob_get_clean(); arguments: { "/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details.php" } } /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesWorks.php:213 { Rightsdesk\Wordpress\Plugin->getWork($workId, $request = [], $team = null, $catalog = null) … › return $this->renderTemplate("works/details.php", [ › "response" => $response, › "work" => $work, } /var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesWorks.php:157 { Rightsdesk\Wordpress\Plugin->getWorks($attrs = [], $content = null) … › if (get_query_var("workId")) { › return $this->getWork(get_query_var("workId"), $request); › } } /var/www/rightsdesk.com/wp-includes/shortcodes.php:355 { do_shortcode_tag($m) … › › $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6]; › } do_shortcode_tag() {} /var/www/rightsdesk.com/wp-includes/shortcodes.php:227 { do_shortcode($content, $ignore_html = false) … › $pattern = get_shortcode_regex( $tagnames ); › $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content ); › } /var/www/rightsdesk.com/wp-includes/class-wp-hook.php:308 { WP_Hook->apply_filters($value, $args) … › } elseif ( $the_['accepted_args'] >= $num_args ) { › \t$value = call_user_func_array( $the_['function'], $args ); › } else { } /var/www/rightsdesk.com/wp-includes/plugin.php:205 { apply_filters($hook_name, $value, ...$args) … › › $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args ); › } /var/www/rightsdesk.com/wp-includes/post-template.php:255 { the_content($more_link_text = null, $strip_teaser = false) … › */ › $content = apply_filters( 'the_content', $content ); › $content = str_replace( ']]>', ']]>', $content ); } /var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/253c2638f644a3ed58c7fb74d424425fa9822c49.php:1 { require … › › <?php (the_content()); ?> › } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:107 { Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure} … › › return require $__path; › })(); arguments: { "/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:108 { Illuminate\Filesystem\Filesystem->getRequire($path, array $data = []) … › return require $__path; › })(); › } } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:58 { Illuminate\View\Engines\PhpEngine->evaluatePath($path, $data) … › try { › $this->files->getRequire($path, $data); › } catch (Throwable $e) { } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61 { 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/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139 { Illuminate\View\View->getContents() … › { › return $this->engine->get($this->path, $this->gatherData()); › } } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122 { Illuminate\View\View->renderContents() … › › $contents = $this->getContents(); › } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91 { Illuminate\View\View->render(callable $callback = null) … › try { › $contents = $this->renderContents(); › } /var/www/rightsdesk.com/wp-content/cache/acorn/framework/views/63f36e2343da513e34d21532b5bc86eeb7c8e93e.php:4 { require … › › <?php echo $__env->first(['partials.content-page', 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> › <?php endwhile; ?> } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/filesystem/Filesystem.php:107 { Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure} … › › return require $__path; › })(); arguments: { "/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:108 { Illuminate\Filesystem\Filesystem->getRequire($path, array $data = []) … › return require $__path; › })(); › } } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/PhpEngine.php:58 { Illuminate\View\Engines\PhpEngine->evaluatePath($path, $data) … › try { › $this->files->getRequire($path, $data); › } catch (Throwable $e) { } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/Engines/CompilerEngine.php:61 { 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/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:139 { Illuminate\View\View->getContents() … › { › return $this->engine->get($this->path, $this->gatherData()); › } } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:122 { Illuminate\View\View->renderContents() … › › $contents = $this->getContents(); › } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/vendor/illuminate/view/View.php:91 { Illuminate\View\View->render(callable $callback = null) … › try { › $contents = $this->renderContents(); › } /var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php:14 { include … › <div id="app"> › <?php echo view(app('sage.view'), app('sage.data'))->render(); ?> › </div> } /var/www/rightsdesk.com/wp-includes/template-loader.php:106 { require_once … › if ( $template ) { › \tinclude $template; › } elseif ( current_user_can( 'switch_themes' ) ) { arguments: { "/var/www/rightsdesk.com/wp-content/themes/rightsdesk-v4/index.php" } } /var/www/rightsdesk.com/wp-blog-header.php:19 { require … › // Load the theme template. › require_once ABSPATH . WPINC . '/template-loader.php'; › arguments: { "/var/www/rightsdesk.com/wp-includes/template-loader.php" } } /var/www/rightsdesk.com/index.php:17 { › /** Loads the WordPress Environment and Template */ › require __DIR__ . '/wp-blog-header.php'; › arguments: { "/var/www/rightsdesk.com/wp-blog-header.php" } } } }
<th colspan="2">
<a href="<?php printf("%s/%s", get_option('rightsdesk_vendors_base_url'), $work->team->slug); ?>">
<?php echo $work->team->name; ?>
try {
parent::handleError($level, $message, $file, $line, $context);
} catch (Throwable $e) {
ob_start();
include($include);
return ob_get_clean();
<?php echo $this->renderTemplate("works/details/attributes.php", ["work" => $work]); ?>
</div>
return $this->renderTemplate("works/details.php", [
"response" => $response,
"work" => $work,
if (get_query_var("workId")) {
return $this->getWork(get_query_var("workId"), $request);
}
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
$pattern = get_shortcode_regex( $tagnames );
$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
} elseif ( $the_['accepted_args'] >= $num_args ) {
\t$value = call_user_func_array( $the_['function'], $args );
} else {
$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
*/
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
<?php (the_content()); ?>
return require $__path;
})();
$this->files->getRequire($path, $data);
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
{
return $this->engine->get($this->path, $this->gatherData());
$contents = $this->getContents();
$contents = $this->renderContents();
<?php echo $__env->first(['partials.content-page', 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
if ( $template ) {
\tinclude $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';