pkhamre/wp-varnish

Deprecated (?) warnings when posting new posts/purging

boniboni opened this issue · 2 comments

PHP Version 5.4.1
WordPress 3.3.2

[06-May-2012 13:46:02 UTC] PHP Warning: Missing argument 2 for WPVarnish::WPVarnishPurgePostStatus() in /wp-content/plugins/pkhamre-wp-varnish-9c8acca/wp-varnish.php on line 140
[06-May-2012 13:46:02 UTC] PHP Warning: Missing argument 3 for WPVarnish::WPVarnishPurgePostStatus() in /wp-content/plugins/pkhamre-wp-varnish-9c8acca/wp-varnish.php on line 140

[06-May-2012 13:46:02 UTC] PHP Warning: Missing argument 2 for WPVarnish::WPVarnishPurgeCommonObjectsStatus() in /wp-content/plugins/pkhamre-wp-varnish-9c8acca/wp-varnish.php on line 113
[06-May-2012 13:46:02 UTC] PHP Warning: Missing argument 3 for WPVarnish::WPVarnishPurgeCommonObjectsStatus() in /wp-content/plugins/pkhamre-wp-varnish-9c8acca/wp-varnish.php on line 113

PHP-FPM/PHP 5.3.3-1
WordPress MS 3.3.2

Also receiving this issue but on different lines:
[12-Jun-2012 21:24:38] PHP Warning: Missing argument 2 for WPVarnish::WPVarnishPurgeCommonObjectsStatus() in /wp-content/plugins/wp-varnish/wp-varnish.php on line 119
[12-Jun-2012 21:24:38] PHP Warning: Missing argument 3 for WPVarnish::WPVarnishPurgeCommonObjectsStatus() in /wp-content/plugins/wp-varnish/wp-varnish.php on line 119
[12-Jun-2012 21:25:08] PHP Warning: Missing argument 2 for WPVarnish::WPVarnishPurgePostStatus() in /wp-content/plugins/wp-varnish/wp-varnish.php on line 146
[12-Jun-2012 21:25:08] PHP Warning: Missing argument 3 for WPVarnish::WPVarnishPurgePostStatus() in /wp-content/plugins/wp-varnish/wp-varnish.php on line 146

cd34 commented

I realize this is an old ticket, and, short of one debug line that was left in, running the plugin in strict mode with error_reporting(E_ALL) enabled doesn't show this error.

While the error is present in the version that can be downloaded from WordPress's plugin repository, it doesn't appear to exist in the GitHub repository which should be pushed to WordPress shortly.