Support » Plugin: WP-Polls » [Plugin: WP-Polls] Fatal error: Cannot redeclare polls_textdomain()

  • Resolved bestik

    (@bestik)


    When using get_poll() in templates you often come to Fatal error: Cannot redeclare polls_textdomain()

    It is due to the way how the plugin is written (calling wp_load.php etc).

    Working solution for this error is to create if(!function_exists(“…”)) check for every function where … is function name.

    Since it is slightly boring job to add all those checks I hope the author will fix this in some next version to avoid this common problem…

    http://wordpress.org/extend/plugins/wp-polls/

  • The topic ‘[Plugin: WP-Polls] Fatal error: Cannot redeclare polls_textdomain()’ is closed to new replies.