• Resolved sjyounis

    (@sjyounis)


    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?

Viewing 13 replies - 1 through 13 (of 13 total)
  • lazyym

    (@lazyym)

    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?

    Same problem here.

    DariusJ

    (@dariusj)

    Same here. Reverted to 5.6.0 and it works fine.

    • This reply was modified 8 months ago by DariusJ.
    darrenc66

    (@darrenc66)

    How to revert to 5.6.0? I deactivated the plugin already due to critical error.

    henne78

    (@henne78)

    Same here. Unfortunately, I can no longer log in as an admin. The plugin update was installed last night. After that nothing works anymore.

    WiKaBot

    (@wikabot)

    Same story on my site, here the error message (original path replaced by [XXX]):

    ====================================================

    WordPress-Version 6.4.3
    Aktives Theme: MH Magazine Child Theme (Version 1.0.0)
    Aktuelles Plugin: Democracy Poll (Version 6.0.0)
    PHP-Version 8.1.27 Fehler-Details

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 17 der Datei [XXX]/wp-content/plugins/democracy-poll/autoload.php verursacht. Fehlermeldung: Uncaught Error: Failed opening required ‘[XXX]/wp-content/plugins/democracy-poll/classes/Helpers/wfConfig.php’ (include_path=’.:/usr/local/lib/php/’) in [XXX]/wp-content/plugins/democracy-poll/autoload.php:17
    Stack trace: 0 [XXX]/wp-content/plugins/democracy-poll/classes/Helpers/Helpers.php(114): DemocracyPoll{closure}() 1 [XXX]/wp-content/plugins/democracy-poll/classes/Plugin.php(132): DemocracyPoll\Helpers\Helpers::is_page_cache_plugin_on() 2 [XXX]/wp-content/plugins/democracy-poll/classes/Plugin.php(45): DemocracyPoll\Plugin->set_is_cachegear_on() 3 [XXX]/wp-content/plugins/democracy-poll/democracy.php(36): DemocracyPoll\Plugin->init() 4 [XXX]/wp-includes/class-wp-hook.php(324): DemocracyPoll\init() 5 [XXX]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 [XXX]/wp-includes/plugin.php(517): WP_Hook->do_action() 7 [XXX]/wp-settings.php(506): do_action() 8 [XXX]/wp-config.php(87): require_once(‘/usr/www/users/…’) 9 [XXX]/wp-load.php(50): require_once(‘/usr/www/users/…’) 10 [XXX]/wp-admin/admin.php(34): require_once(‘/usr/www/users/…’) 11 [XXX]/wp-admin/update-core.php(10): require_once(‘/usr/www/users/…’) 12 {main}

    thrown

    ====================================================

    Reverted the old version from host-backup of a day before … no datalaoss, the old version is still working … waiting for non-faulty version 6 to try again.

    • This reply was modified 8 months ago by WiKaBot.
    nikonorovsv

    (@nikonorovsv)

    Same here. Only allowed memory fatal error in logs. This causes a memory leak.

    Martin Sauter

    (@martinsauter)

    Same here: Democracy Poll 6.0.0 which was auto-installed on our website some hours ago took the whole website down, making the backend inaccessible as well. Removing the “democracy-poll” folder from the “/wp-content/plugins” directory was the only way to bring the website back online.

    descomputers

    (@descomputers)

    Same here. Looks like there is an issue with the new class autoloader which seems to be picking up classes from other plugins but giving them a path relative to this plugin.

    The wfConfig.php referenced in the message is a class from the Wordfence plugin which doesn’t exist inside /democracy-poll/classes/Helpers

    {
      "installName": "mynewsfeededev",
      "environment": "DEV",
      "type": "error",
      "date": "2024-03-22T14:14:50.000Z",
      "severity": "error",
      "client": "82.68.2.174:0",
      "message": "PHP Fatal error:  Uncaught Error: Failed opening required '/nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/classes/Helpers/wfConfig.php' (include_path='.:/usr/share/pear/php:/usr/share/php') in /nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/autoload.php:17\\nStack trace:\\n#0 /nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/classes/Helpers/Helpers.php(114): DemocracyPoll\\\\{closure}('DemocracyPoll\\\\\\\\H...')\\n#1 /nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/classes/Plugin.php(132): DemocracyPoll\\\\Helpers\\\\Helpers::is_page_cache_plugin_on()\\n#2 /nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/classes/Plugin.php(45): DemocracyPoll\\\\Plugin->set_is_cachegear_on()\\n#3 /nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/democracy.php(36): DemocracyPoll\\\\Plugin->init()\\n#4 /nas/content/live/mynewsfeededev/wp-includes/class-wp-hook.php(324): DemocracyPoll\\\\init('')\\n#5 /nas/content/live/mynewsfeededev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\\n#6 /nas/content/live/mynewsfeededev/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\\n#7 /nas/content/live/mynewsfeededev/wp-settings.php(506): do_action('plugins_loaded')\\n#8 /nas/content/live/mynewsfeededev/wp-config.php(127): require_once('/nas/content/li...')\\n#9 /nas/content/live/mynewsfeededev/wp-load.php(50): require_once('/nas/content/li...')\\n#10 /nas/content/live/mynewsfeededev/wp-admin/admin.php(34): require_once('/nas/content/li...')\\n#11 /nas/content/live/mynewsfeededev/wp-admin/index.php(10): require_once('/nas/content/li...')\\n#12 {main}\\n  thrown in /nas/content/live/mynewsfeededev/wp-content/plugins/democracy-poll/autoload.php on line 17",
      "uuid": "052f3523-8032-4434-9a61-64dfe9336ab2"
    }
    Thread Starter sjyounis

    (@sjyounis)

    Looks like an update version has been released. Anyone tried it yet to verify if it fixes the problem?

    WiKaBot

    (@wikabot)

    I gave the version 6.0.1 a try, the following was the result …

    ===========================================================

    Wenn du Hilfe bei diesem Problem suchst, wirst du m?glicherweise nach einigen der folgenden Informationen gefragt:
    WordPress-Version 6.4.3
    Aktives Theme: MH Magazine Child Theme (Version 1.0.0)
    Aktuelles Plugin: Democracy Poll (Version 6.0.1)
    PHP-Version 8.1.27 Fehler-Details

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 17 der Datei /[…path…]/wp-content/plugins/democracy-poll/autoload.php verursacht. Fehlermeldung: Uncaught Error: Failed opening required ‘/[…path…]/wp-content/plugins/democracy-poll/classes/Helpers/wfConfig.php’ (include_path=’.:/usr/local/lib/php/’) in /[…path…]/wp-content/plugins/democracy-poll/autoload.php:17
    Stack trace: 0 /[…path…]/wp-content/plugins/democracy-poll/classes/Helpers/Helpers.php(114): DemocracyPoll{closure}() 1 /[…path…]/wp-content/plugins/democracy-poll/classes/Plugin.php(132): DemocracyPoll\Helpers\Helpers::is_page_cache_plugin_on() 2 /[…path…]/wp-content/plugins/democracy-poll/classes/Plugin.php(56): DemocracyPoll\Plugin->set_is_cachegear_on() 3 /[…path…]/wp-content/plugins/democracy-poll/democracy.php(36): DemocracyPoll\Plugin->init() 4 /[…path…]/wp-includes/class-wp-hook.php(324): DemocracyPoll\init() 5 /[…path…]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /[…path…]/wp-includes/plugin.php(517): WP_Hook->do_action() 7 /[…path…]/wp-settings.php(506): do_action() 8 /[…path…]/wp-config.php(87): require_once(‘/usr/www/users/…’) 9 /[…path…]/wp-load.php(50): require_once(‘/usr/www/users/…’) 10 /[…path…]/wp-login.php(12): require(‘/usr/www/users/…’) 11 {main}

    thrown

    descomputers

    (@descomputers)

    Looks like there’s another update available (v6.0.2) which specifically mentions this issue in the changelog. Has anyone tried it yet?

    Thread Starter sjyounis

    (@sjyounis)

    Works fine now

    I’ve loaded v6.0.2 now and all good for my sites ??

    I haven’t looked at the code for the update but I’m a little surprised to see the changelog specify the issue was with Wordfence – I would have thought it would be a more general issue

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘“Critical Error” Message Created by Latest Update to Democracy Poll’ is closed to new replies.