• Resolved wpcrank_phil

    (@wpcsphil)


    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)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Array to String warning’ is closed to new replies.