PHP error
-
When I view the Diff of a adjusted file, I get the following PHP error:
Notice: Undefined offset: 1 in /path/to/wp/wp-content/plugins/wordfence/lib/Diff/Renderer/Html/Array.php on line 193
This is because of a “typo” in line 194.
It currently reads:
return $this->fixSpaces($matches[1]);
but should read:
$spaces = ( isset( $matches[1] ) ? $matches[1] : '' ); return $this->fixSpaces($spaces);
Hope this helps.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP error’ is closed to new replies.