Changes between Initial Version and Version 1 of Ticket #27015, comment 13
- Timestamp:
- 07/29/2017 08:13:25 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27015, comment 13
initial v1 2 2 all the solutions didn't work. 3 3 so I add below code in \wp-includes\class-wp-query.php 4 just after: {{{#!php5 <?php 4 just after: 5 {{{ 6 6 $page_obj = $this->get_queried_object(); 7 7 }}} 8 8 9 9 10 my code: 10 11 11 {{{#!php 12 <?php 12 {{{ 13 13 if(empty($page_obj)) return false; 14 15 14 }}} 16 15 17 16 18 the error went away.I don't know if there is any other effect s,hope somebody can fix this bug later.17 the error went away.I don't know if there is any other effect ,hope somebody can fix this bug later. 19 18 20 19 my wordpress version is :4.7.4