• I’m posting this on behalf of a client who hosts a website with me. This plugin seems to cause a fatal error when clicking on the “Log in” button (SSO login to WP dashboard) in WP Toolkit in cPanel.

    A brief Google search led me to understand that it might be because WP Toolkit doesn’t load themes during this process.

    I have implemented a temporary workaround for now by adding function_exists('bricks_is_builder_main') to the plugin code. But any advice or an update would be appreciated.

    Exact error (domain replaced):

    Error getting administrator credentials: Fatal error: Uncaught Error: Call to undefined function bricks_is_builder_main() in /home/example/public_html/example.com/wp-content/plugins/brickslabs-bricks-navigator/inc/show-admin-bar-in-editor.php:10

    Stack trace:

    #0 /home/example/public_html/example.com/wp-includes/class-wp-hook.php(324): WP_CLI\Runner->{closure}('')

    #1 /home/example/public_html/example.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #2 /home/example/public_html/example.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #3 /home/example/public_html/example.com/wp-settings.php(704): do_action('init')

    #4 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1395): require('/home/example/...')

    #5 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1314): WP_CLI\Runner->load_wordpress()

    #6 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()

    #7 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))

    #8 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()

    #9 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('/usr/local/cpan...')

    #10 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wpt-wp-cli.php(31): require_once('/usr/local/cpan...')

    #11 Command line code(1): require('/usr/local/cpan...')

    #12 {main}

    thrown in /home/example/public_html/example.com/wp-content/plugins/brickslabs-bricks-navigator/inc/show-admin-bar-in-editor.php on line 10

    Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.

    [error]FailedToExecuteWpCliCommand: exit status 1[/error]

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.