Okay
  Public Ticket #2041820
Woffice Poll don't work
Open

Comments

  •  5
    Alex started the conversation

    Hi!

    When answering questions in the Woffice Poll, nothing happens and does not show any errors (see before.png and after.png).

    Nothing appears in the Poll results either (see result.png).

    After reading previous appeals about the Woffice Poll in technical support, did all the recommendations:

    1. activated / deactivated plugin  Woffice Poll

    2. delete / create new Poll and Questions

    and all this in a different order, but nothing yielded results, the Poll still does not work.

    Additionally tested disabling all custom PHP-code and all plugins, except Woffice Core, Unyson and BuddyPress, this also did not fix the problem.

    In previous appeals about the Woffice Poll in technical support you are asking to provide administrator access to the site to solve this problem, but it's not very professional.

    Please show me what actions I must do on my own in order for the Woffice Poll to work.

    Thanks!

    Attached files:  after.png
      before.png
      result.png

  •  606
    François replied

    Hi Alex, 

    We indeed need admin access to give you more details, because it's simply working on our side and for our other customers. So, in order to give you a solution, we need to see the issue. 

    You're free to create a specific account that you'd delete in a week or so. We need admin access on almost ALL tickets here, and never ever had any security issue, so far.

    Another solution is for you to use a plugin for this: https://www.wpbeginner.com/showcase/best-wordpress-poll-plugins-compared/

    That might be a better bet, as usually they're more complete that this Woffice extension. 

    Have a nice daysmile.png

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  5
    Alex replied

    Hi!

    Once again performed the following:

    1. Deactivate ALL plugins and ALL custom PHP-code,

    2. Deactivate / activate the Woffice Poll plugin,

    3. Remove old and create a new Poll,

    Only the following components remain active:

    1. Wordpress 5.2.1

    2. Woffice Theme 2.8.3.3 (Child)

    3. Woffice Core Plugin 2.8.3.3 

    4. Unyson Plugin 2.7.22

    5. BuddyPress Plugin 4.3.0

    I do not understand what else can watch there? If your Poll works with this configuration, then why doesn't it work for me?

    If you know the secret place to look and fix something, then let me know about it, I can do it with the same success.

    Thanks!

  •  606
    François replied

    Hi Alex, 

    Thanks for the troubleshooting. Much appreciated. 

    I found the issue, I think, can you try to replace this file: 

    plugins/woffice-core/extensions/woffice-poll/hooks.php

    With the one attached heresmile.pngThat should do the job, keep me posted

    Attached files:  hooks.php

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  5
    Alex replied

    Hi, François!

    Yes, now the Poll is working, thank you very much for the help!

    But I found a typo in your file ( "_answeRR" ),

    instead:

    add_action('wp_ajax_woffice_poll_add_answerr', 'woffice_poll_add_answer');

    must be:

    add_action('wp_ajax_woffice_poll_add_answer', 'woffice_poll_add_answer');

    The Poll began to work only after correcting this error.

    Thanks!

  •  2
    boxfactory replied

    Amazing job! It works!

    Thanks François & Alex.

  •  5
    Alex replied

    Hi, François!

    The Poll has worked, but only under the condition that the answers are indicated in Latin letters. If the answers are in Cyrillic, then the survey is still not working.

    It would be great if we manage to eliminate this shortcoming!

    Thanks!

  •  606
    François replied

    Hi Alex, 

    Good catch, THANKS and sorry for that mistake!.. My bad. 

    Not sure I understand: 

    If the answers are in Cyrillic, then the survey is still not working.

    Do you have a screenshot or something that could help me reproduce it? 

    Could be that we apply escaping functions, it's required by WordPress. But we can see to remove that though. 

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •   Alex replied privately
  •  2
    nikbass replied

    I had the same issue, the new php file fixed it, with the suggested edit from Alex.  I'll only use english, so this should have me fixed.

  •  606
    François replied

    Hi Alex, 

    That'll be in the next update, it's indeed a "sanitization" function creating the issue. 

    Sorry about that issue guys, we're working a 2.8.4 update that'll be released next Friday, that'll contain that fix along with a bunch of new features so we'll leave that ticket open until then.

    Have a nice day

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/