Title: strpos() error
Last modified: September 29, 2022

---

# strpos() error

 *  Resolved [ArtZ91](https://wordpress.org/support/users/artz91/)
 * (@artz91)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/strpos-error-2/)
 * PHP Warning: strpos() expects parameter 1 to be string, array given in /wp-content/
   plugins/simple-history/loggers/Plugin_ACF.php on line 482, referer: /wp-admin/
   post.php?post=123&action=edit
 *     ```
       if ( strpos( $val, 'field_' ) === 0 ) {
       	continue;
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/strpos-error-2/#post-16148057)
 * Thanks for the bug report, I’ve added this to an issue so it will be fixed in
   an update.
 * [https://github.com/bonny/WordPress-Simple-History/issues/252](https://github.com/bonny/WordPress-Simple-History/issues/252)

Viewing 1 replies (of 1 total)

The topic ‘strpos() error’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/strpos-error-2/#post-16148057)
 * Status: resolved