Title: PHP Error Warnings in iThemes
Last modified: September 1, 2016

---

# PHP Error Warnings in iThemes

 *  Resolved [HKP](https://wordpress.org/support/users/hiskingdomprophecy/)
 * (@hiskingdomprophecy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-error-warnings-in-ithemes/)
 * Hi iTheme Folks,
    We are also getting the message: Fatal error: Allowed memory
   size of 268435456 bytes exhausted (tried to allocate 40 bytes) in …..wp-includes/
   wp-db.php on line 1780. It is intermittent and can occur at any time, to admin
   or user.
 * We have iThemes Version 5.6.0 and have been checking with query Monitor plugin
   and find 3 warnings/errors which we have no idea how to address or fix this.
 * Would appreciate your guidance. The 3 Query Monitor Data iThemse warnings are
   pasted below.
    Regards and thanks, Angus
 * 1) Wrong parameter count for clearstatcache()
    Counts: 6 ….better-wp-security/
   core/lib/class-itsec-lib-directory.php:107
 * Call Stack:
    clearstatcache() wp-content/plugins/better-wp-security/core/lib/
   class-itsec-lib-directory.php:107 ITSEC_Lib_Directory::is_dir() wp-content/plugins/
   better-wp-security/core/lib/class-itsec-lib-directory.php:123 ITSEC_Lib_Directory::
   create() wp-content/plugins/better-wp-security/core/class-itsec-core.php:713 
   ITSEC_Core::get_storage_dir() wp-content/plugins/better-wp-security/core/modules/
   global/settings.php:27 ITSEC_Global_Settings_New->get_defaults() wp-content/plugins/
   better-wp-security/core/lib/settings.php:85 ITSEC_Settings->load() wp-content/
   plugins/better-wp-security/core/lib/settings.php:7 ITSEC_Settings->__construct()
   wp-content/plugins/better-wp-security/core/modules/global/settings.php:61 ITSEC_Modules::
   load_module_file() wp-content/plugins/better-wp-security/core/class-itsec-modules.
   php:117 ITSEC_Modules::get_settings_obj() wp-content/plugins/better-wp-security/
   core/class-itsec-modules.php:166 ITSEC_Modules::get_setting() wp-content/plugins/
   better-wp-security/core/class-itsec-notify.php:20 ITSEC_Notify->__construct()
   wp-content/plugins/better-wp-security/core/class-itsec-core.php:108 ITSEC_Core-
   >init() wp-content/plugins/better-wp-security/better-wp-security.php:34
 * 2) Wrong parameter count for clearstatcache()
    Counts: 3 …better-wp-security/
   core/lib/class-itsec-lib-file.php:301
 * Call Stack:
    clearstatcache() wp-content/plugins/better-wp-security/core/lib/
   class-itsec-lib-file.php:301 ITSEC_Lib_File::exists() wp-content/plugins/better-
   wp-security/core/lib/class-itsec-lib-directory.php:260 ITSEC_Lib_Directory::add_file_listing_protection()
   wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-directory.php:
   124 ITSEC_Lib_Directory::create() wp-content/plugins/better-wp-security/core/
   class-itsec-core.php:713 ITSEC_Core::get_storage_dir() wp-content/plugins/better-
   wp-security/core/modules/global/settings.php:27 ITSEC_Global_Settings_New->get_defaults()
   wp-content/plugins/better-wp-security/core/lib/settings.php:85 ITSEC_Settings-
   >load() wp-content/plugins/better-wp-security/core/lib/settings.php:7 ITSEC_Settings-
   >__construct() wp-content/plugins/better-wp-security/core/modules/global/settings.
   php:61 ITSEC_Modules::load_module_file() wp-content/plugins/better-wp-security/
   core/class-itsec-modules.php:117 ITSEC_Modules::get_settings_obj() wp-content/
   plugins/better-wp-security/core/class-itsec-modules.php:166 ITSEC_Modules::get_setting()
   wp-content/plugins/better-wp-security/core/class-itsec-notify.php:20 ITSEC_Notify-
   >__construct() wp-content/plugins/better-wp-security/core/class-itsec-core.php:
   108
 * 3) mkdir() [function.mkdir]: File exists
    Counts: 1 better-wp-security/core/class-
   itsec-files.php:187
 * Call Stack:
    mkdir() wp-content/plugins/better-wp-security/core/class-itsec-files.
   php:187 ITSEC_Files->get_file_lock() wp-content/plugins/better-wp-security/core/
   modules/backup/class-itsec-backup.php:78 ITSEC_Backup->do_backup() Unknown location
   do_action(‘init’) wp-settings.php:393
 * ********** END *************
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [HKP](https://wordpress.org/support/users/hiskingdomprophecy/)
 * (@hiskingdomprophecy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-error-warnings-in-ithemes/#post-7644954)
 * I solved the original problem by disabling iThemes Database Backups module.
 * Since no one is commenting on the other issues, I close the case.

Viewing 1 replies (of 1 total)

The topic ‘PHP Error Warnings in iThemes’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [allowed memory](https://wordpress.org/support/topic-tag/allowed-memory/)
 * [exhausted](https://wordpress.org/support/topic-tag/exhausted/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [php warnings](https://wordpress.org/support/topic-tag/php-warnings/)
 * [wp-includes](https://wordpress.org/support/topic-tag/wp-includes/)

 * 1 reply
 * 1 participant
 * Last reply from: [HKP](https://wordpress.org/support/users/hiskingdomprophecy/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/php-error-warnings-in-ithemes/#post-7644954)
 * Status: resolved