Title: Warning : array_merge(): Expected parameter 2 to be an array, string given
Last modified: March 3, 2020

---

# Warning : array_merge(): Expected parameter 2 to be an array, string given

 *  Resolved [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * (@swinggraphics)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-string-given/)
 * Warning: array_merge(): Expected parameter 2 to be an array, string given in /
   wp-content/plugins/autodescription/inc/classes/term-data.class.php on line 169
 * I did a dump of `$meta` and got:
    `string(142) "s:133:"a:6:{s:8:"doctitle";s:
   0:"";s:11:"description";s:0:"";s:7:"noindex";i:0;s:8:"nofollow";i:0;s:9:"noarchive";
   i:0;s:10:"saved_flag";i:1;}";"`
 * This appears to have begun just after updating to Genesis 3.3.0. I reverted to
   the previous version and still get the error, so can’t say for sure.

Viewing 1 replies (of 1 total)

 *  Thread Starter [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * (@swinggraphics)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-string-given/#post-12501180)
 * I found this was only happening on posts in one category, and also in the admin.
   After saving that category in the admin, the error went away.

Viewing 1 replies (of 1 total)

The topic ‘Warning : array_merge(): Expected parameter 2 to be an array, string 
given’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-string-given/#post-12501180)
 * Status: resolved