Title: Array to String warning
Last modified: August 31, 2018

---

# Array to String warning

 *  Resolved [wpcrank_phil](https://wordpress.org/support/users/wpcsphil/)
 * (@wpcsphil)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/array-to-string-warning/)
 * Notice: Array to string conversion in [path]/wp-content/plugins/wp-security-audit-
   log/classes/Sensors/MetaData.php on line 326.
 * I’m saving an array via ACF update_field. It seems line 326 expects only strings.
   Maybe there should be a check for is_array and json_encode if so?
 * The warning wouldn’t necessarily hurt a live site with debug false, but it’s 
   preventing the page from reloading after save when using save_post hooks in my
   local.
 * Thanks much,
 * Philip

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

 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/array-to-string-warning/#post-10654090)
 * Hello [@wpcsphil](https://wordpress.org/support/users/wpcsphil/),
 * Thank you for using our plugin.
 * Your recommendation makes sense and we will address it in the next update of 
   the plugin. Please keep an eye on our blog or [subscribe to our newsletter](https://www.wpsecurityauditlog.com/subscribe-newsletter/)
   where we announce new updates.
 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/array-to-string-warning/#post-10748635)
 * Hello [@wpcsphil](https://wordpress.org/support/users/wpcsphil/),
 * We have just released an update of the plugin with a fix to support this. You
   can read the [activity log plugin update release notes](https://www.wpsecurityauditlog.com/releases/3-2-4-gutenberg-support/?mc_cid=21e23674a0)
   for more information.
 * Do not hesitate to get in touch should you have any further queries or require
   any assistance.
 * Thank you for using our plugin.
 *  Thread Starter [wpcrank_phil](https://wordpress.org/support/users/wpcsphil/)
 * (@wpcsphil)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/array-to-string-warning/#post-10750577)
 * Thanks much.
 * Best of luck to you!

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

The topic ‘Array to String warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpcrank_phil](https://wordpress.org/support/users/wpcsphil/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/array-to-string-warning/#post-10750577)
 * Status: resolved