We use the plugin GTM for WordPress for tracking script management. During the checkout process, when a user reaches the confirmation page, they receive the following error message:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘gtm_conversion_tracking’ not found or invalid function name in /home/customer/www/charisl.sg-host.com/public_html/wp-includes/class-wp-hook.php on line 288
I use this plugin on several other sites with no issues. I’m guessing it’s a conflict between the 2 plugins but not sure where to begin with it.
But then there is no gtm_conversion_tracking function to call.
I downloaded GTM and looked over the code to see if anything stood out and the callback functions in that plugin use a gtm4wp_ prefix rather than just gtm_.
I also checked for gtm4wp_conversion_tracking and again, no such function.
Have you checked for any custom code running on the above site?
The support post ‘Error on thank-you page with GTM for WordPress installed’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.