Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Attempt to read property "ID" on bool

Exception

ErrorException

  1.         wp_send_json_success__'Your changes has been updated!''dokan' ) );
  2.     }
  3.     public function replace_og_url() {
  4.         $seller get_userdataget_query_var'author' ) );
  5.         $og_url dokan_get_store_url$seller->ID );
  6.         return $og_url;
  7.     }
  8. }
  1.      * @throws \ErrorException
  2.      */
  3.     public function handleError($level$message$file ''$line 0$context = [])
  4.     {
  5.         try {
  6.             parent::handleError($level$message$file$line$context);
  7.         } catch (Throwable $e) {
  8.             if (! apply_filters('acorn/throw_error_exception'true$e)) {
  9.                 return false;
  10.             }
HandleExceptions->handleError(2, 'Attempt to read property "ID" on bool', '/nas/content/live/genebrokeprod/wp-content/plugins/dokan-pro/includes/StoreSeo.php', 587) in /nas/content/live/genebrokeprod/wp-content/plugins/dokan-pro/includes/StoreSeo.php (line 587)
  1.         wp_send_json_success__'Your changes has been updated!''dokan' ) );
  2.     }
  3.     public function replace_og_url() {
  4.         $seller get_userdataget_query_var'author' ) );
  5.         $og_url dokan_get_store_url$seller->ID );
  6.         return $og_url;
  7.     }
  8. }
StoreSeo->replace_og_url(null) in /nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php (line 326)
  1.                 if ( === $the_['accepted_args'] ) {
  2.                     $value call_user_func$the_['function'] );
  3.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  4.                     $value call_user_func_array$the_['function'], $args );
  5.                 } else {
  6.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  7.                 }
  8.             }
  9.         } while ( false !== next$this->iterations$nesting_level ] ) );
  10.         unset( $this->iterations$nesting_level ] );
WP_Hook->apply_filters(null, array(null, object(Indexable_Presentation))) in /nas/content/live/genebrokeprod/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. }
apply_filters('wpseo_opengraph_url', null, object(Indexable_Presentation)) in /nas/content/live/genebrokeprod/wp-content/plugins/wordpress-seo/src/presenters/open-graph/url-presenter.php (line 47)
  1.          *
  2.          * @api string $url The open graph URL.
  3.          *
  4.          * @param Indexable_Presentation $presentation The presentation of an indexable.
  5.          */
  6.         return \urldecode( (string) \apply_filters'wpseo_opengraph_url'$this->presentation->open_graph_url$this->presentation ) );
  7.     }
  8. }
  1.      * Returns a tag in the head.
  2.      *
  3.      * @return string The tag.
  4.      */
  5.     public function present() {
  6.         $value $this->get();
  7.         if ( ! \is_string$value ) || $value === '' ) {
  8.             return '';
  9.         }
  1.         foreach ( $presenters as $presenter ) {
  2.             $presenter->presentation $presentation;
  3.             $presenter->helpers      $this->helpers;
  4.             $presenter->replace_vars $this->replace_vars;
  5.             $output $presenter->present();
  6.             if ( ! empty( $output ) ) {
  7.                 // phpcs:ignore WordPress.Security.EscapeOutput -- Presenters are responsible for correctly escaping their output.
  8.                 echo "\t" $output \PHP_EOL;
  9.             }
  10.         }
Front_End_Integration->present_head('') in /nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php (line 324)
  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$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
WP_Hook->apply_filters('', array('')) in /nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php (line 348)
  1.      *
  2.      * @param array $args Parameters to pass to the callback functions.
  3.      */
  4.     public function do_action$args ) {
  5.         $this->doing_action true;
  6.         $this->apply_filters''$args );
  7.         // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8.         if ( ! $this->nesting_level ) {
  9.             $this->doing_action false;
  10.         }
WP_Hook->do_action(array('')) in /nas/content/live/genebrokeprod/wp-includes/plugin.php (line 517)
  1.     } elseif ( is_array$arg[0] ) && === count$arg[0] ) && isset( $arg[0][0] ) && is_object$arg[0][0] ) ) {
  2.         // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3.         $arg[0] = $arg[0][0];
  4.     }
  5.     $wp_filter$hook_name ]->do_action$arg );
  6.     array_pop$wp_current_filter );
  7. }
  8. /**
  1.         $old_wp_query $wp_query;
  2.         // phpcs:ignore WordPress.WP.DiscouragedFunctions.wp_reset_query_wp_reset_query -- Reason: The recommended function, wp_reset_postdata, doesn't reset wp_query.
  3.         \wp_reset_query();
  4.         \do_action'wpseo_head' );
  5.         // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- Reason: we have to restore the query.
  6.         $GLOBALS['wp_query'] = $old_wp_query;
  7.     }
Front_End_Integration->call_wpseo_head('') in /nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php (line 324)
  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$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
WP_Hook->apply_filters(null, array('')) in /nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php (line 348)
  1.      *
  2.      * @param array $args Parameters to pass to the callback functions.
  3.      */
  4.     public function do_action$args ) {
  5.         $this->doing_action true;
  6.         $this->apply_filters''$args );
  7.         // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8.         if ( ! $this->nesting_level ) {
  9.             $this->doing_action false;
  10.         }
WP_Hook->do_action(array('')) in /nas/content/live/genebrokeprod/wp-includes/plugin.php (line 517)
  1.     } elseif ( is_array$arg[0] ) && === count$arg[0] ) && isset( $arg[0][0] ) && is_object$arg[0][0] ) ) {
  2.         // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3.         $arg[0] = $arg[0][0];
  4.     }
  5.     $wp_filter$hook_name ]->do_action$arg );
  6.     array_pop$wp_current_filter );
  7. }
  8. /**
  1.     /**
  2.      * Prints scripts or data in the head tag on the front end.
  3.      *
  4.      * @since 1.5.0
  5.      */
  6.     do_action'wp_head' );
  7. }
  8. /**
  9.  * Fires the wp_footer action.
  10.  *
  1. <!doctype html>
  2. <html <?php language_attributes(); ?>>
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <?php wp_head(); ?>
  7.   </head>
  8.   <body <?php body_class(); ?>>
  9.     <?php wp_body_open(); ?>
  10.     <?php do_action('get_header'); ?>
include('/nas/content/live/genebrokeprod/wp-content/themes/genebrokers/index.php') in /nas/content/live/genebrokeprod/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('/nas/content/live/genebrokeprod/wp-includes/template-loader.php') in /nas/content/live/genebrokeprod/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('/nas/content/live/genebrokeprod/wp-blog-header.php') in /nas/content/live/genebrokeprod/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 Trace

ErrorException
ErrorException:
Attempt to read property "ID" on bool

  at /nas/content/live/genebrokeprod/wp-content/plugins/dokan-pro/includes/StoreSeo.php:587
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Attempt to read property "ID" on bool', '/nas/content/live/genebrokeprod/wp-content/plugins/dokan-pro/includes/StoreSeo.php', 587, array())
     (/nas/content/live/genebrokeprod/wp-content/themes/genebrokers/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError(2, 'Attempt to read property "ID" on bool', '/nas/content/live/genebrokeprod/wp-content/plugins/dokan-pro/includes/StoreSeo.php', 587)
     (/nas/content/live/genebrokeprod/wp-content/plugins/dokan-pro/includes/StoreSeo.php:587)
  at WeDevs\DokanPro\StoreSeo->replace_og_url(null)
     (/nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php:326)
  at WP_Hook->apply_filters(null, array(null, object(Indexable_Presentation)))
     (/nas/content/live/genebrokeprod/wp-includes/plugin.php:205)
  at apply_filters('wpseo_opengraph_url', null, object(Indexable_Presentation))
     (/nas/content/live/genebrokeprod/wp-content/plugins/wordpress-seo/src/presenters/open-graph/url-presenter.php:47)
  at Yoast\WP\SEO\Presenters\Open_Graph\Url_Presenter->get()
     (/nas/content/live/genebrokeprod/wp-content/plugins/wordpress-seo/src/presenters/abstract-indexable-tag-presenter.php:37)
  at Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter->present()
     (/nas/content/live/genebrokeprod/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:409)
  at Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('')
     (/nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters('', array(''))
     (/nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php:348)
  at WP_Hook->do_action(array(''))
     (/nas/content/live/genebrokeprod/wp-includes/plugin.php:517)
  at do_action('wpseo_head')
     (/nas/content/live/genebrokeprod/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:383)
  at Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head('')
     (/nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters(null, array(''))
     (/nas/content/live/genebrokeprod/wp-includes/class-wp-hook.php:348)
  at WP_Hook->do_action(array(''))
     (/nas/content/live/genebrokeprod/wp-includes/plugin.php:517)
  at do_action('wp_head')
     (/nas/content/live/genebrokeprod/wp-includes/general-template.php:3052)
  at wp_head()
     (/nas/content/live/genebrokeprod/wp-content/themes/genebrokers/index.php:6)
  at include('/nas/content/live/genebrokeprod/wp-content/themes/genebrokers/index.php')
     (/nas/content/live/genebrokeprod/wp-includes/template-loader.php:106)
  at require_once('/nas/content/live/genebrokeprod/wp-includes/template-loader.php')
     (/nas/content/live/genebrokeprod/wp-blog-header.php:19)
  at require('/nas/content/live/genebrokeprod/wp-blog-header.php')
     (/nas/content/live/genebrokeprod/index.php:17)