Title: [Plugin: Polylang] array_key_exists() [function.array-key-exists]
Last modified: August 20, 2016

---

# [Plugin: Polylang] array_key_exists() [function.array-key-exists]

 *  [sof](https://wordpress.org/support/users/sofdesigneyahoofr/)
 * (@sofdesigneyahoofr)
 * [14 years ago](https://wordpress.org/support/topic/plugin-polylang-array_key_exists-functionarray-key-exists/)
 * Hello
    i installed the plugin and it’s wonderful, i love it, so thank you very
   much so i have a problem on my wp site, actually i know it’s confusing with another
   plugin called prospress (its for auctions). in the wp backend, on the polylang
   plugin settings tab i have those two messages on the top:
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in /home/allgraph/public_html/wp-content/plugins/
   prospress/pp-posts/pp-post-sort.php on line 109
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in /home/allgraph/public_html/wp-content/plugins/
   prospress/pp-bids/bids-filter.php on line 78
 * and the problem is when i enter my home page (i tried the 2 Front page displays
   options in the reading settings of wp “posts index or other custom static page”)
   i get an auction index page (the default auctions index page for the prospress)
   that have for title: » English
    and as text: en_US and it shaws auctions normally
 * i set the site with two languages: English & French, and its the same with french
   »
   Français fr_FR
 * note: if i have no translated (auction index page) for example a french one, 
   so i have only a english version. when switching to the french homepage i get
   a 404 error message:
    Sorry, the page you were looking for could not be found..
 * (it’s like my home page is referring to index page of prospress)
 * but all the other pages works fine, all the whole site is fine exept the home
   page and when clicking on language switchers
 * i used a /%postname% permalinks
 * thank you for helping me, i love this plugin and prospress too
 * [http://wordpress.org/extend/plugins/polylang/](http://wordpress.org/extend/plugins/polylang/)

The topic ‘[Plugin: Polylang] array_key_exists() [function.array-key-exists]’ 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/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [auctions](https://wordpress.org/support/topic-tag/auctions/)
 * [exists](https://wordpress.org/support/topic-tag/exists/)
 * [index](https://wordpress.org/support/topic-tag/index/)
 * [key](https://wordpress.org/support/topic-tag/key/)
 * [language](https://wordpress.org/support/topic-tag/language/)
 * [other plugin](https://wordpress.org/support/topic-tag/other-plugin/)

 * 0 replies
 * 1 participant
 * Last reply from: [sof](https://wordpress.org/support/users/sofdesigneyahoofr/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-polylang-array_key_exists-functionarray-key-exists/)
 * Status: not resolved