Title: PHP warning with WordPress trunk
Last modified: August 31, 2016

---

# PHP warning with WordPress trunk

 *  Resolved [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-warning-with-wordpress-trunk/)
 * Just a heads up that Simple History recently started showing the following PHP
   warning when using the plugin on WordPress trunk. Might want to take a look before
   4.5 is released.
 * `Warning Invalid argument supplied for foreach() on line 827 of wp-content/plugins/
   simple-history/inc/SimpleHistory.php`
 * [https://wordpress.org/plugins/simple-history/](https://wordpress.org/plugins/simple-history/)

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

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-warning-with-wordpress-trunk/#post-7186811)
 * Thanks for the report. I’ve been trying to reproduce this on my local installs,
   but to no avail. If you still get this please let me know (again… :).
 *  Thread Starter [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-warning-with-wordpress-trunk/#post-7186812)
 * Tested again with 4.5.1 and it’s all good 🙂

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

The topic ‘PHP warning with WordPress trunk’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/php-warning-with-wordpress-trunk/#post-7186812)
 * Status: resolved