Title: Help with error message
Last modified: August 22, 2016

---

# Help with error message

 *  Resolved [lienime](https://wordpress.org/support/users/lienime/)
 * (@lienime)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/help-with-error-message-5/)
 * Hi! Just installed it and I get this all over my home page:
 * Warning: Illegal offset type in isset or empty in /home/lienime/public_html/argentinaenjapon.
   org/wp-includes/pomo/translations.php on line 72
 * What should I do to fix it?
 * Thanks!!
 * [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)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492300)
 * Hi
    Could you try with Polylang + your theme and no other plugins activated.
 * If it doesn’t work => Try with Polylang + Twenty Twelve and no other plugins 
   activated.
 *  Thread Starter [lienime](https://wordpress.org/support/users/lienime/)
 * (@lienime)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492392)
 * Hi!
 * I have:
    Wordpress version 4.0 Polylang version 1.6 Theme Hueman version 2.1.9
 * Polylang+Hueman+no other plugins: no difference
    Polylang+Twenty Twelve+no other
   plugins: doesnt seem to have a problem, I tried twenty fourteen too and no problem
   either.
 * So you can see: [http://www.argentinaenjapon.org](http://www.argentinaenjapon.org)
 * Thanks!
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492410)
 * Hi!
 * That’s a known issue with the Hueman theme. It attempts to translate an option
   which is not translatable (this is not a string) and thus breaks WP.
 * I am not sure if the bug is in the theme or the library option-tree used by the
   theme (I did not went so far in the debug).
 * Just uncheck “Open in new window” for all your social links and the error message
   should disappear.
 *  Thread Starter [lienime](https://wordpress.org/support/users/lienime/)
 * (@lienime)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492421)
 * WOW, cant believe it, solved! Its so weird!!
 * Thank you SO VERY MUCH!
 *  [barxa](https://wordpress.org/support/users/barxa/)
 * (@barxa)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492609)
 * Thanx a lot you guys it worked!
 *  [SuzuKube](https://wordpress.org/support/users/suzukube/)
 * (@suzukube)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492629)
 * Wow ! You are a genius ! It work as soon as i removed the “Ouvrir dans une nouvelle
   fenetre” option 🙂 !
 *  [Astaen](https://wordpress.org/support/users/astaen/)
 * (@astaen)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492630)
 * If anyone is still having this issue, here’s how I fixed it.
 * It’s a bit dirty but it works (sorry for my clumsy english)
 * The issue comes from OptionTree, which returns an array for every option that
   was registered through a checkbox. So the “Open in a new tab” option breaks everything.
   
   Thing is, OptionTree saves this option as an array containing either “_blank”
   or nothing, and when Polylang tries to translate an array … well … it doesn’t.
 * So go into your theme folder, then open **functions/theme-options.php** and replace
   this bit :
 *     ```
       array(
       					'id'		=> 'social-target',
       					'label'		=> 'Link Options',
       					'desc'		=> '',
       					'std'		=> '',
       					'type'		=> 'checkbox',
       					'choices'	=> array(
       						array(
       							'value' => '_blank',
       							'label' => 'Open in new window'
       						)
       					)
       )
       ```
   
 * **… with this :**
 *     ```
       array(
       					'id'		=> 'social-target',
       					'label'		=> 'Link Options',
       					'desc'		=> 'Type "_blank" to open in a new window, leave empty for default behavior.',
       					'std'		=> '_blank',
       					'type'		=> 'text',
       					'choices'	=> array()
       )
       ```
   
 * What this does is it replaces the checkbox for the “Link Options” section (in
   theme options) with a text input.
    All you have to do now is type “_blank” manually
   for every social link that you want opened in a new tab, like this [http://i.imgur.com/XnABqiE.png](http://i.imgur.com/XnABqiE.png)
 * Then save again.
 * Hopefully this helps.

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

The topic ‘Help with error message’ 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
 * 6 participants
 * Last reply from: [Astaen](https://wordpress.org/support/users/astaen/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/help-with-error-message-5/#post-5492630)
 * Status: resolved