I am using a wordpress plugin called 'ReOrder Post Within Categories'. Using this plugin we can sort all the posts inside each categories. After installed this, I received a php error like this
Fatal error: Call to a member function get_queried_object() on a non-object in /home/content/04/10980904/html/wp-content/plugins/reorder-post-within-categories/reorder-posts-within-categories.php on line 96
The code in line number 96 is
$queriedObj = $wp_query->get_queried_object();
Note: $wp_query is already declared as global variable,
global $wpdb,$wp_query;
Can anyone help me to solve this issue.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire