• Resolved daco66

    (@daco66)


    updated plugin from 1.7.3 to 2.0.5, and when in want to rollback any plugin, my site crash and i need to upload a backup, (same on 2 of my sites) here is the error log : (note the double slash here ?: include_once(/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php):

    #4 /home/clients/[censored]/prod/[censored]/wp-config.php(107): require_once('/home/clients/v...')
    #5 /home/clients/[censored]/prod/[censored]/wp-load.php(50): require_once('/home/clients/v...')
    #6 /home/clients/[censored]/prod/[censored]/wp-admin/admin.php(34): require_once('/home/clients/v...')
    #7 /home/clients/[censored]/prod/[censored]/wp-admin in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 191
    [24-Jan-2024 08:04:56 UTC] PHP Warning: include_once(/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php): failed to open stream: No such file or directory in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [24-Jan-2024 08:04:56 UTC] PHP Warning: include_once(): Failed opening '/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php' for inclusion (include_path='.:/usr/share/php') in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [24-Jan-2024 08:04:56 UTC] PHP Fatal error: Uncaught Error: Class 'WP_Rollback_Multisite_Compatibility' not found in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php:191
    Stack trace:
    #0 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(112): WP_Rollback->hooks()
    #1 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(715): WP_Rollback::instance()
    #2 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(719): WP_Rollback()
    #3 /home/clients/[censored]/prod/[censored]/wp-settings.php(473): include_once('/home/clients/v...')
    #4 /home/clients/[censored]/prod/[censored]/wp-config.php(107): require_once('/home/clients/v...')
    #5 /home/clients/[censored]/prod/[censored]/wp-load.php(50): require_once('/home/clients/v...')
    #6 /home/clients/[censored]/prod/[censored]/wp-admin/admin-ajax.php(22): require_once('/home/clients/v...')
    #7 {main}
    thrown in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 191
    [24-Jan-2024 08:05:16 UTC] PHP Warning: include_once(/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php): failed to open stream: No such file or directory in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [24-Jan-2024 08:05:16 UTC] PHP Warning: include_once(): Failed opening '/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php' for inclusion (include_path='.:/usr/share/php') in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [24-Jan-2024 08:05:16 UTC] PHP Fatal error: Uncaught Error: Class 'WP_Rollback_Multisite_Compatibility' not found in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php:191
    Stack trace:
    #0 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(112): WP_Rollback->hooks()
    #1 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(715): WP_Rollback::instance()
    #2 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(719): WP_Rollback()
    #3 /home/clients/[censored]/prod/[censored]/wp-settings.php(473): include_once('/home/clients/v...')
    #4 /home/clients/[censored]/prod/[censored]/wp-config.php(107): require_once('/home/clients/v...')
    #5 /home/clients/[censored]/prod/[censored]/wp-load.php(50): require_once('/home/clients/v...')
    #6 /home/clients/[censored]/prod/[censored]/wp-admin/admin-ajax.php(22): require_once('/home/clients/v...')
    #7 {main}
    thrown in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 191
    [24-Jan-2024 08:05:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_userdata() in /home/clients/[censored]/prod/[censored]/wp-includes/user.php:673
    Stack trace:
    #0 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(952): get_user_option()
    #1 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(939): Yoast_Notification_Center->get_stored_notifications()
    #2 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(925): Yoast_Notification_Center->has_stored_notifications()
    #3 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(633): Yoast_Notification_Center->remove_storage()
    #4 /home/clients/[censored]/prod/[censored]/wp-includes/class-wp-hook.php(324): Yoast_Notification_Center->update_storage()
    #5 /home/clients/[censored]/prod/[censored]/wp-includes in /home/clients/[censored]/prod/[censored]/wp-includes/user.php on line 673
    [24-Jan-2024 08:05:18 UTC] PHP Warning: include_once(/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php): failed to open stream: No such file or directory in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [24-Jan-2024 08:05:18 UTC] PHP Warning: include_once(): Failed opening '/home/clients/muwps/wps-rollback//src/class-rollback-multisite-compatibility.php' for inclusion (include_path='.:/usr/share/php') in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [24-Jan-2024 08:05:18 UTC] PHP Fatal error: Uncaught Error: Class 'WP_Rollback_Multisite_Compatibility' not found in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php:191
    Stack trace:
    #0 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(112): WP_Rollback->hooks()
    #1 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(715): WP_Rollback::instance()
    #2 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(719): WP_Rollback()
    #3 /home/clients/[censored]/prod/[censored]/wp-settings.php(473): include_once('/home/clients/v...')
    #4 /home/clients/[censored]/prod/[censored]/wp-config.php(107): require_once('/home/clients/v...')
    #5 /home/clients/[censored]/prod/[censored]/wp-load.php(50): require_once('/home/clients/v...')
    #6 /home/clients/[censored]/prod/[censored]/wp-admin/admin.php(34): require_once('/home/clients/v...')
    #7 /home/clients/[censored]/prod/[censored]/wp-admin in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 191
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Devin Walker

    (@dlocc)

    That double-slash is most likely the culprit! Thanks for reporting, and I’m sorry to hear about the issue; I’ll get a fix out shortly.

    Thread Starter daco66

    (@daco66)

    no problem, backed up to 1.7.3 waiting for fix ?

    Plugin Author Devin Walker

    (@dlocc)

    Hey @daco66 – I just released version 2.0.6 which should solve the paths include problem. Thanks for reporting!

    Thread Starter daco66

    (@daco66)

    Hey ! Thanks for the release, but sorry for the bad news, but i got an other error with 2.0.6 :

    [29-Jan-2024 09:01:10 UTC] PHP Warning: include_once(/home/clients/muwps/wps-rollback/src/class-rollback-multisite-compatibility.php): failed to open stream: No such file or directory in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [29-Jan-2024 09:01:10 UTC] PHP Warning: include_once(): Failed opening '/home/clients/muwps/wps-rollback/src/class-rollback-multisite-compatibility.php' for inclusion (include_path='.:/usr/share/php') in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [29-Jan-2024 09:01:10 UTC] PHP Fatal error: Uncaught Error: Class 'WP_Rollback_Multisite_Compatibility' not found in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php:191
    Stack trace:
    #0 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(112): WP_Rollback->hooks()
    #1 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(715): WP_Rollback::instance()
    #2 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(719): WP_Rollback()
    #3 /home/clients/[censored]/prod/[censored]/wp-settings.php(473): include_once('/home/clients/v...')
    #4 /home/clients/[censored]/prod/[censored]/wp-config.php(107): require_once('/home/clients/v...')
    #5 /home/clients/[censored]/prod/[censored]/wp-load.php(50): require_once('/home/clients/v...')
    #6 /home/clients/[censored]/prod/[censored]/wp-admin/admin.php(34): require_once('/home/clients/v...')
    #7 /home/clients/[censored]/prod/[censored]/wp-admin in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 191
    [29-Jan-2024 09:01:46 UTC] PHP Warning: include_once(/home/clients/muwps/wps-rollback/src/class-rollback-multisite-compatibility.php): failed to open stream: No such file or directory in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [29-Jan-2024 09:01:46 UTC] PHP Warning: include_once(): Failed opening '/home/clients/muwps/wps-rollback/src/class-rollback-multisite-compatibility.php' for inclusion (include_path='.:/usr/share/php') in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 110
    [29-Jan-2024 09:01:46 UTC] PHP Fatal error: Uncaught Error: Class 'WP_Rollback_Multisite_Compatibility' not found in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php:191
    Stack trace:
    #0 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(112): WP_Rollback->hooks()
    #1 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(715): WP_Rollback::instance()
    #2 /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php(719): WP_Rollback()
    #3 /home/clients/[censored]/prod/[censored]/wp-settings.php(473): include_once('/home/clients/v...')
    #4 /home/clients/[censored]/prod/[censored]/wp-config.php(107): require_once('/home/clients/v...')
    #5 /home/clients/[censored]/prod/[censored]/wp-load.php(50): require_once('/home/clients/v...')
    #6 /home/clients/[censored]/prod/[censored]/wp-admin/admin.php(34): require_once('/home/clients/v...')
    #7 /home/clients/[censored]/prod/[censored]/wp-admin in /home/clients/[censored]/prod/[censored]/wp-content/plugins/wp-rollback/wp-rollback.php on line 191

    Maybe a problem with my hosting ?

    Plugin Author Devin Walker

    (@dlocc)

    Hey @daco66, I looked, and that file src/class-rollback-multisite-compatibility.php is being properly included in the plugin release. I’m unsure why your site is having an issue locating it and throwing that fatal error.

    I’m guessing it has something to do with the hosting set up. Is there anything special going on here? For instance, is WP Rollback being installed as a Must Use plugin in the environment in a special directory? I’m seeing if there’s anything that will help me reproduce this issue.

    Thread Starter daco66

    (@daco66)

    My hosting provider is WPServer :

    Server Info: nginx/1.14.2
    PHP Version: 7.4.30
    PHP Post Max Size: 200 o
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0, OpenSSL/1.1.1n
    
    MySQL Version: 5.5.5
    Max Upload Size: 200 Mo

    Tried some work around, and find what cause the error :
    replaced all “WP_ROLLBACK_PLUGIN_DIR” with “plugin_dir_path( FILE )” and now it works like a charm ?(not those of “setup_constants()”)

    • This reply was modified 9 months, 3 weeks ago by daco66.
    • This reply was modified 9 months, 3 weeks ago by daco66.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sites crashed V2.0.5’ is closed to new replies.