Title: array_merge(): Expected parameter error
Last modified: April 13, 2021

---

# array_merge(): Expected parameter error

 *  Resolved [dulleca](https://wordpress.org/support/users/dulleca/)
 * (@dulleca)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/array_merge-expected-parameter-error/)
 * Hello, I opened the error_log file and found these errors that related to the
   plugin:
 *     ```
       [11-Apr-2021 02:45:21 UTC] PHP Warning:  array_merge(): Expected parameter 1 to be an array, null given in /home/sitename/public_html/wp-content/plugins/latest-post-shortcode/latest-post-shortcode.php on line 2128
       [11-Apr-2021 03:55:06 UTC] PHP Warning:  array_merge(): Expected parameter 1 to be an array, null given in /home/sitename/public_html/wp-content/plugins/latest-post-shortcode/latest-post-shortcode.php on line 2128
       ```
   
 * there is a long list of this same exact error but with different dates, the last
   one is today, any idea what causes this?
 * Thank you.

The topic ‘array_merge(): Expected parameter error’ is closed to new replies.

 * ![](https://ps.w.org/latest-post-shortcode/assets/icon-128x128.gif?rev=2355649)
 * [Latest Post Shortcode](https://wordpress.org/plugins/latest-post-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/latest-post-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/latest-post-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/latest-post-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/latest-post-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/latest-post-shortcode/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dulleca](https://wordpress.org/support/users/dulleca/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/array_merge-expected-parameter-error/)
 * Status: resolved