Forums

[resolved] [Plugin: WP-Polls] Not working in 2.8, nothing happens. (27 posts)

  1. mikolatz
    Member
    Posted 2 years ago #

    I just upgraded to the latest version of wordpress then the updated version of wp-poll, and whenever I vote on the poll, nothing happens.

    I deactivated the plugin and activated it again, voted, still nothing happened.

    I removed the wp-poll files from the server then uploaded a newly downloaded version of wp-poll (latest version), then activated it, and I voted, nothing happens.

    No error message/s of some sort, I just click Vote or Submit, just nothing happens (sorry if I kept on repeating "nothing happens" hehe).

    OT: I'm not pleased with 2.8 right now huhu

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

  2. Lester Chan
    Member
    Posted 2 years ago #

    Ensure that your theme footer has <?php wp_footer(); ?>

  3. mikolatz
    Member
    Posted 2 years ago #

    THANKS! noticed that wordpress 2.8 is now using <?php wp_footer(); ?> unlike 2.7's <?php get_footer(); ?>, forgot about that. thanks again hehe ;p

  4. MountainStream
    Member
    Posted 2 years ago #

    I installed the update today, and after installation an error message came up stating an error caused the plugin to be deactivated. But in the plugin section is shows it was still active, but the polls were missing from the site. I'm using Atahualpa as my theme.

  5. Lester Chan
    Member
    Posted 2 years ago #

    Deactivate and activate the plugin again.

  6. MountainStream
    Member
    Posted 2 years ago #

    I deactivated and activated the plugin again. The error message on my website says the following. "Sorry, there are no polls available at the moment.

    * Polls Archive

    The archive link goes to a 404 error message.

  7. Lester Chan
    Member
    Posted 2 years ago #

    The archive link goes to a 404 error message. <-- Read the readme.html under Usage Tab.

    Check your database to see if wp_pollsa, wp_pollsq and wp_pollsip tables are created.

  8. hazeleyes7
    Member
    Posted 2 years ago #

    I did the above but keep getting the following error when anyone tries to answer the poll:

    "Invalid Poll ID. Poll ID #1"

    I have added the footer tag
    I have deactivated and activated over
    I have deleted and recreated the widget
    I have added new polls
    I have used the default poll

    No matter what poll, users get the same error (the ID changes though depending on the poll number).

    Help?

    http://dogblog.8pawsup.com

  9. MountainStream
    Member
    Posted 2 years ago #

    @gamerZ yes the databases that you mentioned are in present when looking in PHPAdmin. The surveys were present and working well in WordPress 2.8 all until I installed the update to WP Polls through the plugin update.

  10. Lester Chan
    Member
    Posted 2 years ago #

    @MountainStream How are you adding the poll by widget or by php code? if you are using widget, try choosing a specific poll in the poll widhet options

    @hazeleyes7 I am able to vote in FF

  11. MountainStream
    Member
    Posted 2 years ago #

    I have added the polls using the widget function. Still the same problems.

  12. Lester Chan
    Member
    Posted 2 years ago #

    How about do a uninstall via WP-Admin -> Polls -> Uninstall Polls

  13. MountainStream
    Member
    Posted 2 years ago #

    GamerZ...that solved the problem.

  14. tmuka
    Member
    Posted 2 years ago #

    I experienced this same issue. It seemed to coincide with the wp 2.8 upgrade, but probably related to upgrading the plugin, not wordpress. It seems I had an old wp-polls-widget.php file hanging around so there were functions colliding that now exist in the main wp-polls.php file. deleting the old wp-polls-widget.php file fixed the problem. Hope this helps somebody else!

  15. BUNZ1
    Member
    Posted 2 years ago #

    It's not working for me. Fresh installation of 2.8.

    My theme didn't have the footer code stated above so I added it in, didn't work.

  16. aeroman
    Member
    Posted 2 years ago #

    Similar problems here.
    Vote button doesn't work.
    When php get_footer is replaced by php wp_footer it works. The plugin works absolutely flawlessly.

    But new problems start right there;
    Footer not visible anymore
    Statcounter code stops collecting traffic data.

    Any workaround? This plugin isn't bug free.

  17. raysolomon
    Member
    Posted 2 years ago #

    In wp-polls 2.20, it is strange that the javascript code gets included using the wp_footer() function. Should it naturally be in the HEAD tags instead?
    What is the reason for this?

  18. jacobras
    Member
    Posted 2 years ago #

    In wp-polls 2.20, it is strange that the javascript code gets included using the wp_footer() function. Should it naturally be in the HEAD tags instead?
    What is the reason for this?

    Including javascript in footer, allows the browser to completely load the page before loading javascript.

  19. feeprinzessin
    Member
    Posted 2 years ago #

    When php get_footer is replaced by php wp_footer it works. The plugin works absolutely flawlessly.

    But new problems start right there;
    Footer not visible anymore

    I'm having pretty much the same problem. My footer totally breaks once I change over to <?php wp_footer(); ?> But the poll works perfectly

  20. Lester Chan
    Member
    Posted 2 years ago #

    That means your theme is not coded properly. It is essential that your theme contain code that is part of a WP theme structure such as wp_head()and wp_footer()

  21. mbond5
    Member
    Posted 2 years ago #

    I change it to wp_footer and the poll works but like people above now my fotter doesn't show up. I havent had this issue with any other plugins prior to this the footer is more important but I also need a poll there must be an easy way around this.

  22. Lester Chan
    Member
    Posted 2 years ago #

    Because prior to this, WP does not support loading of JS in the footer.

  23. wilda10
    Member
    Posted 2 years ago #

    I am also getting the footer problem, when i change to <?php wp_footer(); ?> the poll works but my footer disappears. Does anyone know where i can change my code anywhere else to get the both of them working?

  24. kzq
    Member
    Posted 2 years ago #

    I can cast my vote in 'post preview' but when I publish my post I cant cast my vote and loading bar keep moving.

    <?phpwp_head(); ?>
    <?php wp_footer(); ?>

    Above are present in my theme already and wp_pollsa, wp_pollsq and wp_pollsip tables are also present in DB

  25. kzq
    Member
    Posted 2 years ago #

    Unknown pseudo-class or pseudo-element 'checkbox'
    http://www.domain.com/poll

    Unknown pseudo-class or pseudo-element 'radio'
    http://www.domain.com/poll

    FireFox showing me above given errors. Wp-Polls are not working in IE and GC

  26. Lester Chan
    Member
    Posted 2 years ago #

    wilda10, kzq: Does it work on the default theme? If it does, please contact your theme author because there might be a problem with your theme.

  27. bananajota
    Member
    Posted 1 year ago #

    Hello GamerZ, i have your great plugin, and works good until WP last version.
    With 2.9.1 works fine (with header and footer codes)
    but with 2.9.2 is not working anymore.

    It's do nothing when you cast a vote.
    I tryed to change themes, put another code, put same again, uninstalled from polls uninstall, and reinstalled, etc. and nothing happened.

    Any Clue?
    my site is http://www.diegocosta.com.ar

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags