• Hello,

    We have this error with the latest version



    2025-02-11T02:00:26+00:00 Critical Uncaught Error: Class "Admin_Settings" not found in /SERVERPATH/wp-content/plugins/a2-optimized-wp/core/class-router.php:328
    Additional context
    {
    "error": {
    "type": 1,
    "file": "/SERVERPATH/wp-content/plugins/a2-optimized-wp/core/class-router.php",
    "line": 328
    },
    "remote-logging": true,
    "backtrace": [
    "",
    "#0 /SERVERPATH/wp-content/plugins/a2-optimized-wp/core/class-router.php(278): A2_Optimized\Core\Router->dispatch()",
    "#1 /SERVERPATH/wp-content/plugins/a2-optimized-wp/core/class-router.php(89): A2_Optimized\Core\Router->register_routes()",
    "#2 /SERVERPATH/wp-includes/class-wp-hook.php(324): A2_Optimized\Core\Router->register_generic_routes()",
    "#3 /SERVERPATH/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
    "#4 /SERVERPATH/wp-includes/plugin.php(517): WP_Hook->do_action()",
    "#5 /SERVERPATH/wp-settings.php(704): do_action()",
    "#6 /SERVERPATH/wp-config.php(109): require_once('/SERVERPATH/…')",
    "#7 /SERVERPATH/wp-load.php(50): require_once('/SERVERPATH/…')",
    "#8 /SERVERPATH/wp-admin/admin-ajax.php(22): require_once('/SERVERPATH/…')",
    "#9 {main}",
    "thrown"
    ]
    }



Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author A2 Hosting

    (@a2hosting)

    Hello,

    Thanks for the report. We have a release pending we can add this to. Can you provide some more details on how you triggered the error? Which pages you’re accessing, if it’s occurring while logged in / logged out. If logged in which role, etc.

    Thank you!

    Thread Starter dev

    (@devksec)

    Hello,

    Not locate the trigger yet nor have further details, but its showing in the woocommerce logs.

    Plugin Author A2 Hosting

    (@a2hosting)

    Hello,

    If possible, could you provide a list of the current active plugins and theme on the site? If you’re a A2/WHG customer, you can open a ticket with support with that information and ask them to alert the A2 dev team and we can take a look directly.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.