• Resolved agbuere

    (@agbuere)


    There was an auto-update for wp-darkmode on my site and now I can’t log in anymore “Critical error” The culprit is dark mode:

    PHP Fatal error: Uncaught Error: Failed opening required ‘/var/www/agbr/wp-content/plugins/wp-dark-mode-ultimate/wp-dark-mode-pro/plugin.php’ (include_path=’.:/usr/share/php’) in /var/www/agbr/wp-content/plugins/wp-dark-mode-ultimate/plugin.php:46

    This is a catastrophe. I can’t even disable the plugin because wp-cli crashes and I can’t execute the command to disable wp-darkmode.

    Please help! Kind regards, Michael

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter agbuere

    (@agbuere)

    The error is in this line in plugin.php:

    require_once WP_DARK_MODE_ULTIMATE_PATH . ‘/wp-dark-mode-pro/plugin.php’;

    (quite at the end of the plugin, about eof then up 4 lines)

    This needs to read:

    require_once WP_DARK_MODE_ULTIMATE_PATH . ‘/plugin.php’;

    Then the crashing stops. This is a grave error you need to address it fast.

    Kind regards, Michael

    Thread Starter agbuere

    (@agbuere)

    To clarify: there is no directory wp-dark-mode-pro and the required file lies in the current directory, not in that (non-existing) sub-directory.

    Thread Starter agbuere

    (@agbuere)

    That error is in version 3.0.1. By applying the above correction I could again log into my site. Then wp-darkmode wanted another update to 3.0.2, I applied the update, site is working again. But for people not technically versed or without access to their installation files this approach is not possible. Does auto-update correct the destroyed site? idk because one can’t even log in no admin-stuff is working why should auto update work? Kind regards

    Plugin Support toukirwpdev

    (@toukirwpdev)

    We are pleased to inform you that we have resolved the issue that you reported. We have released a new version of the plugin that addresses the issue. We recommend updating plugins to the latest version. Sorry for the inconvenience.

    We greatly appreciate your taking the time to bring this matter to our attention.

    Thread Starter agbuere

    (@agbuere)

    Will the wordpress auto-update for plugins work for an already crashed site, i.e. with version 3.0.1? Kind regards

    Plugin Support toukirwpdev

    (@toukirwpdev)

    Install the latest version(V3.0.2) of the plugin will resolve the issue.

    Thread Starter agbuere

    (@agbuere)

    Yes, updating the plugin will resolve the issue. But as long as 3.0.1 is active no login is possible and therefore no update of the plugin. If automatic updates are enabled, that will fix the problem, yes, but will automatic updates still work for plugins if no login is possible? Does the problem also destroy the ability of wordpress to update the plugins, or does it only block login?

    Plugin Support toukirwpdev

    (@toukirwpdev)


    You are requesting commercial plugin support on the forum. As per the WordPress forum guidelines, commercial products are not supported in this forum. We need to abide by these rules but we are happy to assist our users to resolve their issues and concerns as soon as possible.

    If you need help with the WP Dark Mode premium version, you can contact us through our support.

    Have a good day!

    • This reply was modified 3 years, 1 month ago by toukirwpdev.
    • This reply was modified 3 years, 1 month ago by toukirwpdev.
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Auto Update destroyed Site’ is closed to new replies.