Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Notice: Undefined property: SQL_Translations::$previous_query #285
This warning Notice: Undefined property: SQL_Translations::$previous_query is thrown several times when debugging is turned on. I found that the issue points to the below method in wp-includes/translations.php. Searching it appears that this is pointing to a variable that isn't defined, but more to the point the if statement is looking at $query and then references $this->previous_query. Replacing $this->previous_query with $query solved the warnings.