WPIntell

Source evidence

Fatal error triggered in WordPress Admin

GTM Kit – Google Tag Manager & GA4 integration · support · 2025-01-23T10:32:00+00:00

mixedsentiment
highseverity
0.95relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Scott Bowler resolved
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 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 public function enqueue_assets( ?string $hook ): void { if ( empty($hook) || strpos( $hook, self::SLUG ) === false ) { return; } Can you please confirm that https://wordpress.org/plugins/the-events-calendar/ is the plugin you are refering to? Thanks for the speedy reply! That’s correct, but the problem also impacts other plugins such as the “Duplicate Post” plugin. When you attempt to duplicate the post, a fatal error gets thrown. Please go to ‘GTM Kit > Help > Support > Share system data with the GTM Kit support team’ and enter the support ticket: FS856-F2213 The fix is now merged and will be included in a release next week: https://github.com/tlamedia/gtm-kit/pull/614 Wow, awesome, thank you! Version 2.3.0 including the fix was just released

Comments

6 shown
Torben Lundsgaard 2025-01-23T11:10:00+00:00

Can you please confirm that https://wordpress.org/plugins/the-events-calendar/ is the plugin you are refering to?

Scott Bowler 2025-01-23T11:37:00+00:00

Thanks for the speedy reply! That’s correct, but the problem also impacts other plugins such as the “Duplicate Post” plugin. When you attempt to duplicate the post, a fatal error gets thrown.

Torben Lundsgaard 2025-01-23T12:03:00+00:00

Please go to ‘GTM Kit > Help > Support > Share system data with the GTM Kit support team’ and enter the support ticket: FS856-F2213

Torben Lundsgaard 2025-01-23T12:46:00+00:00

The fix is now merged and will be included in a release next week: https://github.com/tlamedia/gtm-kit/pull/614

Scott Bowler 2025-01-23T12:47:00+00:00

Wow, awesome, thank you!

Torben Lundsgaard 2025-01-28T07:39:00+00:00

Version 2.3.0 including the fix was just released