Title: False positives &amp; Undefined offset: 7 wordfenceScanner.php Line: 400
Last modified: June 3, 2024

---

# False positives & Undefined offset: 7 wordfenceScanner.php Line: 400

 *  Resolved [magefix](https://wordpress.org/support/users/magefix/)
 * (@magefix)
 * [2 years ago](https://wordpress.org/support/topic/undefined-offset-7-3/)
 * The scanner returns the following error & all the files are marked as malicious.
   The Wordfence plugin runs with a multisite environment.
 * Error: [May 31 12:54:11] Undefined offset: 7 (8) File: /home/…/wp-content/plugins/
   wordfence/lib/wordfenceScanner.php Line: 400
 * PHP ver. 7.4.33
 * ![](https://i0.wp.com/i.imgur.com/vkvgiNO.png?ssl=1)
    -  This topic was modified 2 years ago by [magefix](https://wordpress.org/support/users/magefix/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-offset-7-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years ago](https://wordpress.org/support/topic/undefined-offset-7-3/#post-17799400)
 * Hi [@magefix](https://wordpress.org/support/users/magefix/), thanks for reaching
   out.
 * `User defined scan pattern` usually means the files were hit by your own “**Additional
   scan signatures**” added to **Wordfence > All Options > Advanced Scan Options**
   that you may need to review. I’m wondering if the PHP error is originating from
   invalid content here that the scan is unable to ignore or work around, so it 
   might be worth copying any contents in that textarea, saving it in a separate
   document (so it could be reinstated later) and trying another manual full scan.
 * Let us know how you get on!
   Peter.
 *  Thread Starter [magefix](https://wordpress.org/support/users/magefix/)
 * (@magefix)
 * [2 years ago](https://wordpress.org/support/topic/undefined-offset-7-3/#post-17799648)
 * Hi [@wfpeter](https://wordpress.org/support/users/wfpeter/) , thanks for the 
   detailed response. I followed your advice & checked the “Additional scan signatures”
   but the section was empty, so I restored the settings to the default values. 
   The problem is now solved since there are no more false-positives listed – much
   better. Thank you!
 * ![](https://i0.wp.com/i.imgur.com/eXGmSDp.png?ssl=1)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘False positives & Undefined offset: 7 wordfenceScanner.php Line: 400’
is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [undefined offset](https://wordpress.org/support/topic-tag/undefined-offset/)

 * 2 replies
 * 2 participants
 * Last reply from: [magefix](https://wordpress.org/support/users/magefix/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/undefined-offset-7-3/#post-17799648)
 * Status: resolved