Title: array_values() expects parameter 1 to be array
Last modified: August 29, 2019

---

# array_values() expects parameter 1 to be array

 *  Resolved [GlobalCultura.com](https://wordpress.org/support/users/globalcultura/)
 * (@globalcultura)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/array_values-expects-parameter-1-to-be-array/)
 * Hi,
 * We have a lot of warnings in our error.log:
 * PHP Warning: array_values() expects parameter 1 to be array, null given in google-
   language-translator/google-language-translator.php on line 265
    PHP Warning: 
   implode(): Invalid arguments passed in google-language-translator/google-language-
   translator.php on line 265

Viewing 1 replies (of 1 total)

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/array_values-expects-parameter-1-to-be-array/#post-11884862)
 * Hi,
 * The code can generate such errors only if you have not selected any language.
 * May be you have made some changes inside your database which corrupted the settings.
   Try to re-install the plugin and check if you still have such warnings.
 * Thanks! 🙂

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [edo888](https://wordpress.org/support/users/edo888/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/array_values-expects-parameter-1-to-be-array/#post-11884862)
 * Status: resolved