Title: Problem with Polylang compatibility
Last modified: August 21, 2016

---

# Problem with Polylang compatibility

 *  [wizzvet](https://wordpress.org/support/users/wizzvet/)
 * (@wizzvet)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-polylang-compatibility/)
 * Hello,
 * I’m using the plugin Yop poll, but when I create a poll and I put it in my sidebar
   as a widget I got this error :
 * > Warning: Missing argument 4 for icl_translate(), called in /var/www/sites/blog.
   > wizzvet.com/htdocs/wp-content/plugins/yop-poll/inc/yop_poll_model.php on line
   > 2966 and defined in /var/www/sites/blog.wizzvet.com/htdocs/wp-content/plugins/
   > polylang/include/wpml-compat.php on line 235
 * Thanks for your time
 * [https://wordpress.org/plugins/yop-poll/](https://wordpress.org/plugins/yop-poll/)

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

 *  Thread Starter [wizzvet](https://wordpress.org/support/users/wizzvet/)
 * (@wizzvet)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-polylang-compatibility/#post-5129876)
 * This error can be avoided by adding “func_num_args(‘icl_translate’)==4”
    in the
   condition “if ( function_exists( ‘icl_translate’ ) )” but I need an author’s 
   opinion
 *  [Bianco-](https://wordpress.org/support/users/bianco-/)
 * (@bianco-)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-polylang-compatibility/#post-5129993)
 * Same problem here, I get these errors:
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1280 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1281 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1282 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1283 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1284 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1285 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1286 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1287 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1288 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1289 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1290 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1291 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 1292 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 382 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 382 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 382 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 382 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 * Warning: Missing argument 4 for icl_translate(), called in ~/wp-content/plugins/
   yop-poll/models/poll_model.php on line 382 and defined in ~/wp-content/plugins/
   polylang/include/wpml-compat.php on line 235
 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-polylang-compatibility/#post-5130046)
 * Hi,
 * To avoid losing any data please don’t disable the plugin. Email us at yop.help{
   at]gmail.com and we will assist you with the downgrade to 4.9.1 version.
 * Regards,
 * YOP Team

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

The topic ‘Problem with Polylang compatibility’ is closed to new replies.

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

 * 3 replies
 * 3 participants
 * Last reply from: [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/problem-with-polylang-compatibility/#post-5130046)
 * Status: not resolved