Title: PHP errors when viewing system logs
Last modified: August 21, 2016

---

# PHP errors when viewing system logs

 *  Resolved [vladax](https://wordpress.org/support/users/vladax/)
 * (@vladax)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-errors-when-viewing-system-logs/)
 * When I click to View Latest System Logs I get:
 *     ```
       Warning: Invalid argument supplied for foreach() in .../wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 60
   
       Warning: array_merge() [function.array-merge]: Argument #1 is not an array in .../wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility-file.php on line 60
       ```
   
 * [http://wordpress.org/extend/plugins/all-in-one-wp-security-and-firewall/](http://wordpress.org/extend/plugins/all-in-one-wp-security-and-firewall/)

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

 *  [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-errors-when-viewing-system-logs/#post-3888844)
 * [@vladax](https://wordpress.org/support/users/vladax/), There two possible issues:
 * 1) Somehow the plugin files on your install is corrupt. So I would delete the
   plugin completely from your site then reinstall and try it.
 * 2) If the above still doesn’t fix it then you have some issue(s) in the server
   configuration. Or our plugin is not compatible with your server config. We test
   the plugin on the most widely used server setup and we know it doesn’t have any
   of the issues you mentioned (I just did another test now).
 * If you are not using one of the WordPress’s recommended hosting then this sort
   of server configuration related issues can happen:
    [http://wordpress.org/hosting/](http://wordpress.org/hosting/)
 * I would recommend you to give the following plugin a go… maybe it will work better
   for your server setup:
    [http://wordpress.org/plugins/bulletproof-security/](http://wordpress.org/plugins/bulletproof-security/)
 *  Thread Starter [vladax](https://wordpress.org/support/users/vladax/)
 * (@vladax)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-errors-when-viewing-system-logs/#post-3889040)
 * After installing the v1.6, the View Latest System Logs button is working now.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-errors-when-viewing-system-logs/#post-3889042)
 * Hello vladax, that is great news.
 * Would you be able to mark this thread as resolved if you don’t require any more
   assistant.
 * Kind and warm regards
 *  [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-errors-when-viewing-system-logs/#post-3889046)
 * [@vladax](https://wordpress.org/support/users/vladax/), good to hear that. I 
   will mark this topic as resolved.

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

The topic ‘PHP errors when viewing system logs’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/php-errors-when-viewing-system-logs/#post-3889046)
 * Status: resolved