Title: Warning: array_values() expects parameter 1 to be array
Last modified: August 22, 2016

---

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

 *  Resolved [mannuforall](https://wordpress.org/support/users/mannuforall/)
 * (@mannuforall)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/warning-array_values-expects-parameter-1-to-be-array/)
 * Today suddenly I’m getting following errors on my site (www.readforgreed.com):
   
   Warning: array_values() expects parameter 1 to be array, null given in /home3/
   rfgmfa/public_html/wp-content/plugins/mashsharer/includes/template-functions.
   php on line 198
 * Warning: end() expects parameter 1 to be array, null given in /home3/rfgmfa/public_html/
   wp-content/plugins/mashsharer/includes/template-functions.php on line 198
 * No changes made during this time, just started to show when I schedule a post
   and click preview post. Now this error showing home page and many other pages.
 * [https://wordpress.org/plugins/mashsharer/](https://wordpress.org/plugins/mashsharer/)

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

 *  [johnc1979](https://wordpress.org/support/users/johnc1979/)
 * (@johnc1979)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/warning-array_values-expects-parameter-1-to-be-array/#post-5336334)
 * I have exactly the same error showing on my site also.
 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/warning-array_values-expects-parameter-1-to-be-array/#post-5336379)
 * Hello,
 * i released another version. Would you be so kind and install this new version
   for a test?
 * [https://downloads.wordpress.org/plugin/mashsharer.2.1.0.zip](https://downloads.wordpress.org/plugin/mashsharer.2.1.0.zip)
 * You can either extract the zip file and overwrite it with existing mashshare 
   version or just uninstall current version and install this new one.
 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/warning-array_values-expects-parameter-1-to-be-array/#post-5336456)
 * Should be solved with latest update
 *  Thread Starter [mannuforall](https://wordpress.org/support/users/mannuforall/)
 * (@mannuforall)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/warning-array_values-expects-parameter-1-to-be-array/#post-5336457)
 * Ya, its fixed now.
    Thanks for quick update.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/mashsharer_33bbee.svg)
 * [MashShare - Social Media Share Buttons, Social Share Icons](https://wordpress.org/plugins/mashsharer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mashsharer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mashsharer/)
 * [Active Topics](https://wordpress.org/support/plugin/mashsharer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mashsharer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mashsharer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [mannuforall](https://wordpress.org/support/users/mannuforall/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/warning-array_values-expects-parameter-1-to-be-array/#post-5336457)
 * Status: resolved