Title: array_intersect_key(): Argument #1 is not an array, model.php:400
Last modified: August 30, 2016

---

# array_intersect_key(): Argument #1 is not an array, model.php:400

 *  [fauxtoes](https://wordpress.org/support/users/fauxtoes/)
 * (@fauxtoes)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/)
 * I’m getting a PHP warning persistently – on the front-end on a single post page,
   in the admin posts list and edit screens.
 * This is part of a multisite install, the plugin is network-activated. Other networks
   with nearly identical configurations aren’t having this problem.
 * I’m on the latest version of WP and Polylang.
 * The warning isn’t breaking things (that I can tell), but I’d like to resolve.
 * the warning is:
    array_intersect_key(): Argument #1 is not an array
 * location:
    /home/brock/public_html/wp-content/plugins/polylang/include/model.
   php:400
 * call stack (edit view):
    csp_php_error_handler() array_intersect_key() PLL_Model-
   >get_translations() PLL_Model->get_translation() PLL_Admin_Filters_Post->post_language()
   do_meta_boxes()
 * call stack (admin list view):
    csp_php_error_handler() array_intersect_key() 
   PLL_Model->get_translations() PLL_Model->get_translation() PLL_Model->get_post()
   PLL_Admin_Filters_Columns->post_column() do_action(‘manage_post_posts_custom_column’)
   WP_Posts_List_Table->column_default() WP_List_Table->single_row_columns() WP_Posts_List_Table-
   >single_row() WP_Posts_List_Table->_display_rows() WP_Posts_List_Table->display_rows()
   WP_List_Table->display_rows_or_placeholder() WP_List_Table->display()
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582357)
 * Hi
    Please update your plugins.
 *  Thread Starter [fauxtoes](https://wordpress.org/support/users/fauxtoes/)
 * (@fauxtoes)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582384)
 * my plugins are already up to date- any other suggestions?
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582388)
 * Hi!
 * Does this error appears only for a few posts or all your posts?
 *  Thread Starter [fauxtoes](https://wordpress.org/support/users/fauxtoes/)
 * (@fauxtoes)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582389)
 * all posts- but only for ‘post’ post type, not pages or other custom post types.
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582456)
 * are you able to translate posts?
 *  [mafsdisseny](https://wordpress.org/support/users/capiedge/)
 * (@capiedge)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582542)
 * Hi, did you resolve the problem?
    I have exactly the same problem, after importing
   a xml file with some pages from another installation. Well not exactly, because
   in my warning says line 402, and in yours line 400…
 * `Warning: array_intersect_key(): Argument #1 is not an array in /.../wp-content/
   plugins/polylang/include/model.php on line 402`
 * Please any help will be appreciated.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582543)
 * **[@capiedge](https://wordpress.org/support/users/capiedge/)**: If you require
   assistance then, as per the [Forum Welcome](https://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.

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

The topic ‘array_intersect_key(): Argument #1 is not an array, model.php:400’ is
closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/array_intersect_key-argument-1-is-not-an-array-modelphp400/#post-6582543)
 * Status: not resolved