Title: Error message
Last modified: August 22, 2016

---

# Error message

 *  [resesidan](https://wordpress.org/support/users/resesidan/)
 * (@resesidan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-message-348/)
 * Hi,
 * just installet the plugin and I am getting this error message:
 * Warning: Illegal offset type in isset or empty in /home/resesida/public_html/
   wp-includes/pomo/translations.php on line 72
 * I am using Hueman as template
 * What do I do to solve this?
 * Thanks
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Thread Starter [resesidan](https://wordpress.org/support/users/resesidan/)
 * (@resesidan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-message-348/#post-5233357)
 * Forgott to say I am having a Multisite installation. And I tried to deactivate
   all plugins but still getting the error message
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-message-348/#post-5233538)
 * Hi!
 * I am aware of this conflict experienced by some users of the Hueman theme. So
   far, I never succeeded to reproduce it and so could not solve it. Sorry for this.
   Setting WP_DEBUG to false in wp-config.php should hide the warning if it is displayed
   on the screen (but won’t solve the problem if there is one).
 *  [Sam](https://wordpress.org/support/users/wamshatley/)
 * (@wamshatley)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/error-message-348/#post-5233681)
 * Sorry I’m a bit late to the game – the only way I got round this (not upgrade
   safe) is by hacking core.
 * Have a look in translations.php file at that line, and you should see something
   like this:
 *     ```
       /**
       * @param Translation_Entry $entry
       */
       function translate_entry(&$entry) {
       	$key = $entry->key();
       	return isset($this->entries[$key])? $this->entries[$key] : false;
       }
       ```
   
 * Add an if statement to the middle so that it looks like this, and it should be
   fine:
 *     ```
       /**
       * @param Translation_Entry $entry
       */
       function translate_entry(&$entry) {
       	$key = $entry->key();
       	if(!is_array($key))
       	return isset($this->entries[$key])? $this->entries[$key] : false;
       }
       ```
   
 * It looks like at some point there’s an array being passed for translation, and
   it doesn’t like it.
 * Every time WordPress updates, you’ll need to put this line back in though 🙁

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

The topic ‘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/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sam](https://wordpress.org/support/users/wamshatley/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/error-message-348/#post-5233681)
 * Status: not resolved