Getting a developer notice on the 404 page:
Notice: Undefined property: WP_Query::$post in /Users/Devin/Local/portfolio/wp-includes/query.php on line 3309
This is due to add_action( 'pre_get_posts', 'portfoliopress_portfolio_posts' ); in portfolio-helpers.php.
When var_dump( $query ) is_404 returns bool false- so not sure what is going on.
Getting a developer notice on the 404 page: Notice: Undefined property: WP_Query::$post in /Users/Devin/Local/portfolio/wp-includes/query.php on line 3309
This is due to add_action( 'pre_get_posts', 'portfoliopress_portfolio_posts' ); in portfolio-helpers.php.
When var_dump( $query ) is_404 returns bool false- so not sure what is going on.