Title: Plugin generates PHP error
Last modified: January 16, 2021

---

# Plugin generates PHP error

 *  [Mimi](https://wordpress.org/support/users/immeemz/)
 * (@immeemz)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-generates-php-error-2/)
 * When activating this plugin it generated the following error in admin only:
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /usr/local/lib/php/File.php on line 381
 * Double-checked it’s indeed this plugin and not another one. What should I do?

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

 *  [Temyk](https://wordpress.org/support/users/webtemyk/)
 * (@webtemyk)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-generates-php-error-2/#post-13920231)
 * Hello.
 * This is not an error, but a warning. This does not affect the operation of the
   site in any way.
 * How did you know that the Titan plugin was to blame?
 * You can simply disable error output.
 *  Thread Starter [Mimi](https://wordpress.org/support/users/immeemz/)
 * (@immeemz)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-generates-php-error-2/#post-13921374)
 * Hi and thank you for your answer!
 * In answer to your question, I deactivated all plugins until I found the one that
   created the error. This only appeared when your plugin was activated and disappeared
   when I deactivated it.
 * Thanks again and stay safe!
 *  [ajrandall](https://wordpress.org/support/users/ajrandall/)
 * (@ajrandall)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-generates-php-error-2/#post-13962439)
 * Hi I manage 3 WordPress websites and I’m getting a core error on all 3 sites 
   course by the latest update of Titan Security, I am unable to deactivated Titan
   Security on one site as the sites go into fatal error when I go to installed 
   plugins, how can this be fixed?
 * Thanks
    Alex
 *  [Temyk](https://wordpress.org/support/users/webtemyk/)
 * (@webtemyk)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-generates-php-error-2/#post-13963159)
 * Hello, [@ajrandall](https://wordpress.org/support/users/ajrandall/)
 * You need to enable WordPress [debugging mode](https://wordpress.org/support/article/debugging-in-wordpress/).
   And see the error text to understand what the problem is.

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

The topic ‘Plugin generates PHP error’ is closed to new replies.

 * ![](https://ps.w.org/anti-spam/assets/icon-256x256.gif?rev=3469595)
 * [Titan Anti-spam & Security – Brute Force Protection, 2FA & Spam Filter](https://wordpress.org/plugins/anti-spam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/anti-spam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/anti-spam/)
 * [Active Topics](https://wordpress.org/support/plugin/anti-spam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anti-spam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anti-spam/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Temyk](https://wordpress.org/support/users/webtemyk/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-generates-php-error-2/#post-13963159)
 * Status: not resolved