Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress 4.3 strictness changes #2

Open
DArcMattr opened this issue Sep 3, 2015 · 1 comment
Open

WordPress 4.3 strictness changes #2

DArcMattr opened this issue Sep 3, 2015 · 1 comment

Comments

@DArcMattr
Copy link

As you may already know, WordPress 4.3 sets PHP environment variables so it generates more warnings by default, in order to both deprecate older-style PHP constructs.

On a typical page load, I get the following:

[03-Sep-2015 18:26:49 UTC] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /srv/www/daily-caller/htdocs/wp-content/plugins/wp-o-matic/wpomatic.php on line 2004
[03-Sep-2015 18:26:49 UTC] PHP Strict Standards:  Non-static method WPOTools::pick() should not be called statically, assuming $this from incompatible context in /srv/www/daily-caller/htdocs/wp-content/plugins/wp-o-matic/wpomatic.php on line 308
[03-Sep-2015 18:26:50 UTC] PHP Strict Standards:  Non-static method WPOTools::getQueryArgs() should not be called statically, assuming $this from incompatible context in /srv/www/daily-caller/htdocs/wp-content/plugins/wp-o-matic/wpomatic.php on line 878
[03-Sep-2015 18:26:50 UTC] PHP Strict Standards:  Non-static method WPOTools::getOptions() should not be called statically, assuming $this from incompatible context in /srv/www/daily-caller/htdocs/wp-content/plugins/wp-o-matic/inc/tools.class.php on line 98
[03-Sep-2015 18:26:50 UTC] PHP Notice:  Undefined property: WPOMatic::$admin in /srv/www/daily-caller/htdocs/wp-content/plugins/wp-o-matic/wpomatic.php on line 319
@DArcMattr
Copy link
Author

PR #5 addresses this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant