[fixed]Fatal error: Only variables can be passed by reference site

There simple answer to fix the problem.
You can separate your command line. For example:
Before:
$this->queried_object = & get_page(get_option(‘page_for_posts’));
After:
$tmpPageVariable = get_option(‘page_for_posts’);
$this->queried_object = & get_page($tmpPageVariable);
Enjoy!

Tagged with:
 
© 2010 lukmanf's tips