^ ErrorException {#1558
#message: "Undefined property: stdClass::$product_form"
#code: 0
#file: "/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details/products.php"
#line: 16
#severity: E_WARNING
trace: {
/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/resources/templates/works/details/products.php:16 {
Illuminate\Foundation\Bootstrap\HandleExceptions->handleError($level, $message, $file = '', $line = 0, $context = []) …
› <div>
› <b><?php echo $product->product_form ? $product->product_form->name : "N/A"; ?></b>
› <?php if (!empty($product->price) && $product->price->amount > 0): ?>
}
/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/products.php:16 {
include …
› <div>
› <b><?php echo $product->product_form ? $product->product_form->name : "N/A"; ?></b>
› <?php if (!empty($product->price) && $product->price->amount > 0): ?>
}
/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:68 {
include …
› <div class="mb-5">
› <?php echo $this->renderTemplate("works/details/products.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/HandlesCatalogs.php:118 {
Rightsdesk\Wordpress\Plugin->getCatalog($catalogId, $args, $team = null) …
› $args = [];
› return $this->getWork(get_query_var("workId"), $args, $team, $response->data);
› // return $this->renderTemplate("catalogs/work.php", [
}
/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesNetwork.php:190 {
Rightsdesk\Wordpress\Plugin->getTeamInNetwork($teamId, $args) …
› $args = [];
› return $this->getCatalog(get_query_var("catalogId"), $args, $response->data);
› }
}
/var/www/rightsdesk.com/wp-content/plugins/rightsdesk/src/Traits/HandlesNetwork.php:148 {
Rightsdesk\Wordpress\Plugin->getTeamsInNetwork($attrs = []) …
› if (get_query_var("teamId")) {
› return $this->getTeamInNetwork(get_query_var("teamId"), $args);
› }
}
/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"
}
}
}
}
|