• Resolved Imagealexti

    (@alexti)


    Error appears after update.


    2025-12-08T08:17:18+00:00
    Critical Uncaught Error: Class “WpRollback\Free\PluginSetup\Language” not found in /www/apache/domains//htdocs/wp-content/plugins/wp-rollback/src/PluginSetup/PluginSetup.php:125

    Additional context
    {
    "error": {
    "type": 1,
    "file": "/www/apache/domains///htdocs/wp-content/plugins/wp-rollback/src/PluginSetup/PluginSetup.php",
    "line": 125
    },
    "remote-logging": true,
    "backtrace": [
    "",
    "#0 /www/apache/domains///htdocs/wp-content/plugins/wp-rollback/src/PluginSetup/PluginSetup.php(99): WpRollback\Free\PluginSetup\PluginSetup->setupLanguage()",
    "#1 /www/apache/domains///htdocs/wp-includes/class-wp-hook.php(324): WpRollback\Free\PluginSetup\PluginSetup->init('')",
    "#2 /www/apache/domains///htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)",
    "#3 /www/apache/domains///htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
    "#4 /www/apache/domains///htdocs/wp-settings.php(578): do_action('plugins_loaded')",
    "#5 /www/apache/domains///htdocs/wp-config.php(111): require_once('/www/apache/dom…')",
    "#6 /www/apache/domains///htdocs/wp-load.php(50): require_once('/www/apache/dom…')",
    "#7 /www/apache/domains///htdocs/wp-cron.php(46): require_once('/www/apache/dom…')",
    "#8 {main}",
    "thrown"
    ]
    }
Viewing 1 replies (of 1 total)
  • Plugin Author ImageDevin Walker

    (@dlocc)

    Hi @alexti,

    Thanks for reporting this, and apologies for the super late reply. We’ve investigated the issue thoroughly and confirmed that the Language class and its autoloader entry are correctly included in the plugin distribution. The source file, namespace, PSR-4 autoloading configuration, Composer classmap, and final zip package are all correct. This error is most likely caused by one of the following:

    1. An incomplete plugin update — If the update process was interrupted (e.g., due to a timeout or server issue), some files may not have been fully extracted. This would leave the autoloader referencing files that don’t exist on disk.
    2. PHP OPcache serving stale data — After an update, your server’s opcode cache may still be serving the old autoloader classmap that doesn’t include the new class.

    To resolve this, please try the following:

    1. Deactivate and delete the WP Rollback plugin.
    2. If your hosting provides an option to purge PHP OPcache (often in cPanel or your hosting dashboard), do that as well.
    3. Reinstall WP Rollback fresh from the WordPress.org plugin directory.

    This should give you a clean installation with all files properly in place. If the error persists after a fresh install, please let us know and we’ll dig deeper.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.