Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Trigger WCA Install command produces fatal error #40

Open
ilyasfoo opened this issue Apr 27, 2022 · 0 comments
Open

Running Trigger WCA Install command produces fatal error #40

ilyasfoo opened this issue Apr 27, 2022 · 0 comments
Labels
type: bug The issue is a confirmed bug.

Comments

@ilyasfoo
Copy link

Describe the bug

When running Trigger WCA Install on WC 6.5, it produces fatal error:

[27-Apr-2022 07:24:23 UTC] PHP Fatal error:  Uncaught Error: Class 'Automattic\WooCommerce\Admin\Install' not found in /var/www/html/wp-content/plugins/woocommerce-admin-test-helper/api/tools/trigger-wca-install.php:8
Stack trace:
#0 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1141): tools_trigger_wca_install(Object(WP_REST_Request))
#1 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wc-admin-test-...', Array, NULL)
#2 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
#3 /var/www/html/wp-includes/rest-api.php(386): WP_REST_Server->serve_request('/wc-admin-test-...')
#4 /var/www/html/wp-includes/class-wp-hook.php(307): rest_api_loaded(Object(WP))
#5 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/class-wp.php(396): do_action_ref_array('parse_request', Array)
 in /var/www/html/wp-content/plugins/woocommerce-admin-test-helper/api/tools/trigger-wca-install.php on line 8

image

To Reproduce

  1. Use WC6.5 or later
  2. Run Trigger WCA Install
  3. Observe fatal error
@ilyasfoo ilyasfoo added the type: bug The issue is a confirmed bug. label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

1 participant