• When running any wp-cli command while this plugin is active, get a fatal error:

    [15-Jul-2020 22:14:00 UTC] PHP Fatal error:  Uncaught Error: Class 'Swiftype\SiteSearch\Wordpress\Search\Theme' not found in /app/public_html/custom-content/plugins/swiftype-search/swiftype-theme-functions.php:3
    Stack trace:
    #0 /app/public_html/custom-content/plugins/swiftype-search/swiftype.php(16): require_once()
    #1 /app/public_html/wp/wp-settings.php(371): include_once('/app/public_htm...')
    #2 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): require('/app/public_htm...')
    #3 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1158): WP_CLI\Runner->load_wordpress()
    #4 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(74): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
    #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #7 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...')
    #8 /usr/local/bin/ in /app/public_html/custom-content/plugins/swiftype-search/swiftype-theme-functions.php on line 3

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

  • The topic ‘Fatal error when running in wp-cli’ is closed to new replies.