You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visiting this page triggers a Fatal Error in your plugin
PHP Fatal error: Uncaught TypeError: TLA_Media\GTM_Kit\Admin\SetupWizard::enqueue_assets(): Argument #1 ($hook) must be of type string, null given, called in /var/web/site/public_html/wp-includes/class-wp-hook.php on line 324 and defined in /var/web/site/public_html/wp-content/plugins/gtm-kit/src/Admin/SetupWizard.php:121
It looks like the function enqueue_assets in wp-content/plugins/gtm-kit/src/Admin/SetupWizard.php isn’t checking whether the $hook is set or not.
Please can you add a fix which checks if the $hook is set or not
Hi guys,
We’re using The Events Calendar plugin, and one of the URLs called looks like this:
/wp-admin/admin.php?page=tec-tickets-attendees&dialog=move_tickets&check=c2a77bc1c4&ticket_ids=111111&width=800&height=800&event_id=114506&
Visiting this page triggers a Fatal Error in your plugin
PHP Fatal error: Uncaught TypeError: TLA_Media\GTM_Kit\Admin\SetupWizard::enqueue_assets(): Argument #1 ($hook) must be of type string, null given, called in /var/web/site/public_html/wp-includes/class-wp-hook.php on line 324 and defined in /var/web/site/public_html/wp-content/plugins/gtm-kit/src/Admin/SetupWizard.php:121
It looks like the function
enqueue_assets
inwp-content/plugins/gtm-kit/src/Admin/SetupWizard.php
isn’t checking whether the$hook
is set or not.Please can you add a fix which checks if the
$hook
is set or notThe text was updated successfully, but these errors were encountered: