Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Error when activating WDS plugins #1061

Description

@phanuelmutuma

Describe the bug
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "WDS_Headless_Core\activation_callback" not found or invalid function name in C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php:307 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #1 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(476): WP_Hook->do_action(Array) #2 C:\xampp\htdocs\wordpress\wp-admin\plugins.php(194): do_action('activate_wds-he...') #3 {main} thrown in C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php on line 307

To Reproduce
Steps to reproduce the behavior:

  1. Install plugins via composer
  2. Try to activate either of the WDS plugins

Expected behavior
The plugins should activate normally without error

Desktop (please complete the following information):

  • OS: Windows 21H2
  • Browser Microsoft edge with Chromium
  • Version 90

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions