Title: Warning: array_shift() expects parameter 1 to be array
Last modified: January 19, 2022

---

# Warning: array_shift() expects parameter 1 to be array

 *  [Robert](https://wordpress.org/support/users/rsterry48/)
 * (@rsterry48)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/warning-array_shift-expects-parameter-1-to-be-array-2/)
 * The latest version of Query Monitor 3.8.2 generates this PHP Log Warning when
   installing other plugins and reporting code errors:
    Warning: array_shift() expects
   parameter 1 to be array, string given in /wp-content/plugins/query-monitor/output/
   html/db_queries.php on line …
 * Is there a compatibility issue with latest version of WordPress?

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [4 years, 4 months ago](https://wordpress.org/support/topic/warning-array_shift-expects-parameter-1-to-be-array-2/#post-15267814)
 * I’ll take a look, thanks.

Viewing 1 replies (of 1 total)

The topic ‘Warning: array_shift() expects parameter 1 to be array’ is closed to 
new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/warning-array_shift-expects-parameter-1-to-be-array-2/#post-15267814)
 * Status: not resolved