Title: Getting PHP Warnings (Illegal String Offset, Count() )
Last modified: March 1, 2021

---

# Getting PHP Warnings (Illegal String Offset, Count() )

 *  Resolved [karenjdev](https://wordpress.org/support/users/karenjdev/)
 * (@karenjdev)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/getting-php-warnings-illegal-string-offset-count/)
 * Receiving the following errors on the file list page with just 2 files showing.
   When I add more files, more warnings show up. If it’s suitable, I want to try
   this plugin with Passster.
 * Warning: Illegal string offset ‘files’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 303
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /wp-content/plugins/filr-protection-premium/src/class-filr-shortcode.php on
   line 303
 * Warning: Illegal string offset ‘files’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 315
 * Warning: Illegal string offset ‘name’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 315
 * Warning: Illegal string offset ‘files’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 317
 * Warning: Illegal string offset ‘date’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 317
 * Warning: Illegal string offset ‘files’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 318
 * Warning: Illegal string offset ‘size’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 318
 * Warning: Illegal string offset ‘files’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 319
 * Warning: Illegal string offset ‘extension’ in /wp-content/plugins/filr-protection-
   premium/src/class-filr-shortcode.php on line 319
 * Hope you can help.
    -  This topic was modified 5 years, 3 months ago by [karenjdev](https://wordpress.org/support/users/karenjdev/).
    -  This topic was modified 5 years, 3 months ago by [karenjdev](https://wordpress.org/support/users/karenjdev/).
    -  This topic was modified 5 years, 3 months ago by [karenjdev](https://wordpress.org/support/users/karenjdev/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-php-warnings-illegal-string-offset-count%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Getting PHP Warnings (Illegal String Offset, Count() )’ is closed to 
new replies.

 * ![](https://ps.w.org/filr-protection/assets/icon-256x256.png?rev=2280020)
 * [Filr - Secure document library](https://wordpress.org/plugins/filr-protection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filr-protection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filr-protection/)
 * [Active Topics](https://wordpress.org/support/plugin/filr-protection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filr-protection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filr-protection/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [karenjdev](https://wordpress.org/support/users/karenjdev/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/getting-php-warnings-illegal-string-offset-count/)
 * Status: resolved