-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
type: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Description
When trying to move attendees in The Events Calendar, we get a fatal error as follows:
/nas/content/live/rmsvdev/wp-content/plugins/wp-graphql/src/Admin/Settings/Settings.php.
Error message: Uncaught TypeError: Argument 1 passed to
WPGraphQL\Admin\Settings\Settings::initialize_settings_page_scripts()
must be of the type string, null given, called in
/nas/content/live/rmsvdev/wp-includes/class-wp-hook.php on line 324
and defined in /nas/content/live/rmsvdev/wp-content/plugins/wp-graphql/src/Admin/Settings/Settings.php:274
Steps to reproduce
- Enable The Events Calendar, The Events Calendar Pro, Event Tickets and Event Tickets Plus.
- Make a class with a ticket.
- Sign up for the class.
- Go to Attendees for that class.
- Select an Attendee and use the Bulk action of "Move".
Additional context
In speaking with Jason, this can be fixed by changing the Settings.php file mentioned above to use ?string $hook_suffix instead of string $hook_suffix. A similar change is needed in WPGraphQL for ACF.
WPGraphQL Version
1.21.0
WordPress Version
6.4.3
PHP Version
7.4.30
Additional environment details
WordPress
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL.
- Yes
- My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
Metadata
Metadata
Assignees
Labels
type: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Type
Projects
Status
✅ Done