PHP Notice logged in v1.6.5.1
-
On each page load, I’m seeing this PHP Notice logged to my debug log:
PHP Notice: Undefined variable: data in \wp-content\plugins\iwp-client\init.php on line 119
The offending line, iwp-client\init.php:119 currently looks like this as of iwp-client v1.6.5.1:
if ($data){
Adding a check to see if the variable exists before checking for a true condition fixes the PHP Notice:
if (isset($data) && $data){
Any chance this change could be merged into the SVN repository for the next version of iwp-client to clean up our debug logs? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notice logged in v1.6.5.1’ is closed to new replies.