PHP Strict Standards Warning
-
Hi, Brad. I wanted to give a friendly heads up about this because I just noticed it filling my error log to the tune of 28MB.
I see in this plugin’s GitHub repo that version 3.0.1 is different from the 3.0.1 in the plugin repo. Specifically, the plugin repo version is calling
get_base_path()as static but it’s not declared as a static method (it is in the GH version). This is throwing the PHP Strict Standards warning.You also have
get_base_url()as static on GH but not in the plugin repo (not as big of a deal since it’s not called anywhere).https://github.com/bradvin/gravity-forms-custom-post-types/blob/master/gfcptaddon.php#L121
https://ww.wp.xz.cn/plugins/gravity-forms-custom-post-types/
The topic ‘PHP Strict Standards Warning’ is closed to new replies.