#
PHP Fatal error: Only variables can be passed by reference in D:\Program Files\Ensim\WEBppliance\SiteData\Domains\doverma.org\ROOT\Inetpub\wwwroot\wordpress\wp-includes\query.php on line 2548
Line 2548 on that page says:
Code: Select all
$this->queried_object = & get_page(get_option('page_for_posts'));
Code: Select all
} else if ($this->is_tax) {
$tax = $this->get('taxonomy');
$slug = $this->get('term');
$term = &get_terms($tax, array('slug'=>$slug));
if ( is_wp_error($term) || empty($term) )
return NULL;
$term = $term[0];
$this->queried_object = $term;
$this->queried_object_id = $term->term_id;
} else if ($this->is_posts_page) {
$this->queried_object = & get_page(get_option('page_for_posts'));
$this->queried_object_id = (int) $this->queried_object->ID;
} else if ($this->is_single) {
$this->queried_object = $this->post;
$this->queried_object_id = (int) $this->post->ID;
} else if ($this->is_page) {
$this->queried_object = $this->post;
$this->queried_object_id = (int) $this->post->ID;
} else if ($this->is_author) {
$author_id = (int) $this->get('author');
$author = get_userdata($author_id);
$this->queried_object = $author;
$this->queried_object_id = $author_id;