WPIntell

Source evidence

[PATCH] non-static method warning

TechGasp Pin Master · support · 2013-10-02T01:38:00+00:00

mixedsentiment
mediumseverity
0.78relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 16 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

14 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
flynsarmy resolved
With WP_DEBUG page your plugin causes a bunch of warnings on the plugin list page in admin: Strict standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method techgasp_pinterestmaster::techgasp_pinterestmaster_link() should not be called statically in /path/to/wp-includes/plugin.php on line 173 Easy enough fix. In techgasp-pinterestmaster.php on line 109 change public function techgasp_pinterestmaster_link($links, $file) { to public static function techgasp_pinterestmaster_link($links, $file) { http://wordpress.org/plugins/pinterest-master/ Thanks for reporting flynsarmy. Our WP_DEBUG is obviously ON in our development wordpress installation but the php.ini error_reportin is not showing strict standards. Will take a look and release a new version. They’re turned on by default in WP3.6 I believe We are running WP latest version. Under the impression that since php.ini is website server configuration, wordpress only reports what is set there.

Comments

3 shown
TechGasp 2013-10-02T07:11:00+00:00

Thanks for reporting flynsarmy. Our WP_DEBUG is obviously ON in our development wordpress installation but the php.ini error_reportin is not showing strict standards. Will take a look and release a new version.

flynsarmy 2013-10-02T07:12:00+00:00

They’re turned on by default in WP3.6 I believe

TechGasp 2013-10-02T07:16:00+00:00

We are running WP latest version. Under the impression that since php.ini is website server configuration, wordpress only reports what is set there.