• 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wizzvet

    (@wizzvet)

    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

    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

    (@yourownprogrammer)

    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.