Missing argument 2 for WP_Query::set()
-
I just downloaded the latest plugin and am getting a couple of errors. The errors are:
Missing argument 2 for WP_Query::set(), called in /wordpress_root/wp-content/plugins/ghostwriter/ghost-writer.php on line 174 and defined in /wordpress_root/wp-includes/query.php Notice: Undefined variable: value in /wordpress_root/wp-includes/query.php on line 2155The fix for this is adding a value to $query->set(‘author_name’) on line 174. I changed that line to read $query->set(‘author_name’, null); which removed the errors.
The topic ‘Missing argument 2 for WP_Query::set()’ is closed to new replies.