Since a few days, shortcode function to show last poll:
do_shortcode(‘[democracy id=”last”]’),
is not working and shows “Poll not found” message.
]]>I would like an optional secondary text to be used for Poll question. I’d like to Display “Agree” instead of a long question where i am just gauging agreements to an article or statement. The Question would be used for the Archive page but i’d like an optonal text to overide the Question. Also, it could be a Shortcode Parameter which wold be GREAT!
[democracy id=”1″ QText=”Agree or Disagree”]
Hello,
I noticed that a warning was recorded in the log.
PHP8.2
WordPress6.6.2
PHP Warning: Undefined array key 2 in /path/wordpress/wp-content/plugins/democracy-poll/classes/DemPoll.php on line 437
]]>
Hello,
I have been working with the?Easy Form Builder plugin?and encountered some challenges with page caching. To address these issues, we use the following function to handle other page caching plugins with Easy Form Builder:
public function cache_cleaner_Efb($page_id,$plugins){
$page_id = intval($page_id);
$cache_plugins = json_decode($plugins);
foreach($cache_plugins as $plugin){
switch($plugin->slug){
case 'litespeed-cache':
if (defined('LSCWP_V') || defined('LSCWP_BASENAME' )) do_action( 'litespeed_purge_post', $page_id );
break;
case 'wp-rocket':
if (function_exists('rocket_clean_post')) $r = rocket_clean_post($page_id);
break;
.
.
.
}
}
}
However, we’re seeking a more integrated solution. Specifically, we’re looking for a structure or method similar to what other plugins use to manage caching effectively.
Thank you in advance for your help and insights!
Best regards
]]>@tkama please investigate
This plugin has been marked with a security vulnerability, details here:
]]>This plugin has been marked with a security vulnerability, details here:
]]>Hi,
I would like to know how i can hide the number of votes from te results of the poll but keep the percentage. Is there something i can change in the css?
Thanks for the plugin, works fantastic!
]]>Hi, I keep getting the warning that there is an issue with this plugin: Broken Access Control vulnerability.
Can the maker confirm that I can safely use the plugin? I would be very sorry to have to delete it,
]]>I want non-registered users on my site to be directed to a specific (https://accradailypost.com/register)when they click on >> Only registered users can vote.?Login?to vote.<< not the default WordPress login page. How do I do this? Please help me.
]]>Hello,
How to have/generate a unique poll per post ?
My (custom) post are dynamically created.
Thus I’d need to have a unique poll in each of them.
Regards,
LawK
When I update from 5.6.0 to 6.0.1 my site breaks. Have rolled back to 5.6.0 and all working again.
]]>WordPress vers?o 6.4.3
Tema atual: Sahifa (vers?o 5.8.2)
Plugin atual: Democracy Poll (vers?o 6.0.1)
PHP vers?o 8.1.27
Detalhes do erro
================
Um erro do tipo E_ERROR foi causado na linha 17 do arquivo /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/autoload.php. Mensagem de erro: Uncaught Error: Failed opening required ‘/home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Helpers/wfConfig.php‘ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/autoload.php:17
Stack trace:
#0 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Helpers/Helpers.php(114): DemocracyPoll\{closure}()
#1 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Plugin.php(132): DemocracyPoll\Helpers\Helpers::is_page_cache_plugin_on()
#2 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Plugin.php(56): DemocracyPoll\Plugin->set_is_cachegear_on()
#3 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/democracy.php(36): DemocracyPoll\Plugin->init()
#4 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/class-wp-hook.php(324): DemocracyPoll\init()
#5 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-settings.php(506): do_action()
#8 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-config.php(109): require_once(‘/home/u31030496…’)
#9 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-load.php(50): require_once(‘/home/u31030496…’)
#10 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-admin/admin.php(34): require_once(‘/home/u31030496…’)
#11 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-admin/plugins.php(10): require_once(‘/home/u31030496…’)
#12 {main}
? thrown
Allows to create democratic polls. Visitors can vote for more than one answer & add their own answers.
Vers?o 6.0.1 | Por Kama | Ver detalhes
Este plugin n?o foi carregado corretamente e está em pausa durante o modo de restaura??o.
Um erro do tipo E_ERROR
foi causado na linha 17
do arquivo /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/autoload.php
. Mensagem de erro: Uncaught Error: Failed opening required '/home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Helpers/wfConfig.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/autoload.php:17 Stack trace: #0 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Helpers/Helpers.php(114): DemocracyPoll\{closure}() #1 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Plugin.php(132): DemocracyPoll\Helpers\Helpers::is_page_cache_plugin_on() #2 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Plugin.php(56): DemocracyPoll\Plugin->set_is_cachegear_on() #3 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/democracy.php(36): DemocracyPoll\Plugin->init() #4 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/class-wp-hook.php(324): DemocracyPoll\init() #5 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-settings.php(506): do_action() #8 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-config.php(109): require_once('/home/u31030496...') #9 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-load.php(50): require_once('/home/u31030496...') #10 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-login.php(12): require('/home/u31030496...') #11 {main} thrown
WordPress vers?o 6.4.3
Tema atual: Sahifa (vers?o 5.8.2)
Plugin atual: Democracy Poll (vers?o 6.0.0)
PHP vers?o 8.1.27
Detalhes do erro
================
Um erro do tipo E_ERROR foi causado na linha 17 do arquivo /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/autoload.php. Mensagem de erro: Uncaught Error: Failed opening required ‘/home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Helpers/wfConfig.php‘ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/autoload.php:17
Stack trace:
#0 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Helpers/Helpers.php(114): DemocracyPoll\{closure}()
#1 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Plugin.php(132): DemocracyPoll\Helpers\Helpers::is_page_cache_plugin_on()
#2 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/classes/Plugin.php(45): DemocracyPoll\Plugin->set_is_cachegear_on()
#3 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-content/plugins/democracy-poll/democracy.php(36): DemocracyPoll\Plugin->init()
#4 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/class-wp-hook.php(324): DemocracyPoll\init()
#5 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-settings.php(506): do_action()
#8 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-config.php(109): require_once(‘/home/u31030496…’)
#9 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-load.php(50): require_once(‘/home/u31030496…’)
#10 /home/u310304965/domains/diretonoticias.com.br/public_html/wp-admin/admin.php(34): require_once(‘/home/u31030496…’)
#11 {main}
? thrown
Dear @tkama,
I like your plugin a lot.
But after your latest update, my page had the famous white screen!
After deactivating Democracy Poll (by renaming the folder), I was able to get into my site.
When activating Democracy Poll while signed into my page (by renaming the folder back to the original), everything works fine, incl. Democracy Poll.
But once signing off, the white screen re-appears until I deactivate Democracy Poll (by renaming the folder).
Degrading back to version 5.6.0 solves the problem.
Your fast help is asked for!
Thanks a lot in advance
Kind regards
Michael
]]>Your update crashed my site. Years of great data vanished. Is there an easy way to get that poll data back? I’ve reinstalled the old copy from backup, still no data. Sad.
]]>Version 6.0.0 broke my site. I received the dreaded “Critical Error” message. Had to go through and turn off plugins to figure out which one was the culprit, and unfortunately Democracy Poll was the one. Deactivating it has fixed the error. Anyone else have the some problem?
]]>Really a shame there is no more dev support, because this is such a wonderful plugin.
This plugin does not work well when using some of the popular cache plugins like WP Fastest Cache for example. With cache plugin, the vote is recorded and it shows user the results after voting. But the next browser session user visits the site, it shows the vote button again to the same user IP, etc. If user tries to vote, it triggers an error “blocked already voted”.
The plugin is supposed to remember the user IP/cookie so that this does not happen, but something goes wrong when using cache plugin. One workaround is to set the polls re-vote option enabled, but that’s not ideal. We want returning users to see the results for any polls they’ve already voted on without having to vote again or clicking the “results” link.
Any ideas for a fix would be very much appreciated! ??
]]>This is a great plugin and with some basic features added (admin moderation, etc) could be so much better.
However, looks like the plugin dev has not much interest as the plugin hasn’t been updated for a long time and is seldomly update, and the dev does not interact on the support forum.
????
]]>Hi,
Thank you for providing such a wonderful plugin.
In my environment, after changing the server’s PHP version from 8.0.30 to PHP 8.1.22, the following errors occurred:
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /xxxxxxxxxx/wp-content/plugins/democracy-poll/class-Democracy_Poll.php on line 621
We have confirmed that this error occurs when a new vote is submitted on a public page.
]]>I want to show all open polls in one page. But this shortcode is just doing a show. [democracy id=”current”] What is the system to show all open polls on one page? Thanks in advance.
]]>Tried the settings option to force it work with cache plugins, but it makes no difference I can see. Anyone have suggestions how to make this plugin work with cache plugins like WP Fastest Cache, etc? So that the votes get updated real-time AJAX while the rest of the site is still available in cache?
]]>Too bad, this plugin has such great potential it seems the developer has given up, probably due to inability to monetize it. I’d be interested in teaming up with skilled developers who are also enthusiastic about the potential of this plugin. You can PM me @wordmax and let’s see what we can build together.
Some ideas/features to improve:
Hi @tkama,
unfortunately, in several environments with different themes and different plugin configurations, I always and constantly get the message “Updating failed. The response is not a valid JSON response.” when saving a page with the Democracy shortcode.
Even with this message appearing, saving worked properly and there is no visible failure anywhere.
What can I do to avoid this message?
Kind regards
Michael
]]>I wanted to know before using your plugin. Is it possible to select multiple answers?
It is very important for us. We do questions about athletes.
]]>As far as I see a problem is with the 5.6.0 version if I revert to older 5.5.2 “Text Changes” fields show up. And if I make text changes and save them and then update to the latest 5.6.0 version the fields are gone again… And if I revert back to 5.5.2 after that, I need to change all text again as all my previous changes are gone. Happen already with 2 not related WP websites.
I have an older initial installation from at least 2 years ago running on some other WordPress and it does not have this issue! Must be something wrong with the latest releases.
]]>Can i create a voting, with multiple categories where visitors will give 1 vote to each category? and confirm only 1 time ? Can i change the results off the voting during the voting period as i like ?
Thank you
]]>Hello
Can you make it possible for us to change the background color in ?Block.css? mode?
thank you
Dear @tkama,
Just recently, I encountered a phenomenon, which did never happen before (and I use your plugin a lot).
When a user removes his vote to prepare a re-vote, all other logs of a poll are deleted as well!
May be, it could be an incompatibility with the latest WP update?
I did mot change anything. It just appeared.
Kind regards
Michael
]]>@tkama Please see screencast linked above
A lot of people would love the plugin updated a bit see the support tickets please
]]>