Fatal Error on Product pages
-
Hi,
the plugins sounds great, but unfortunately, after installation the plugin shows a 500 Fatal Error on product pages with Neve theme 3.8.16 and latest WooCommerce:
[31-Jan-2025 14:04:13 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_sku() on string in /[...]/wp-content/plugins/tracktastic/includes/class-matomo.php:12
Stack trace:
#0 /[...]/wp-includes/class-wp-hook.php(324): tracktastic_add_matomo_ecommerce_tracking_to_product_pages()
#1 /[...]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /[...]/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /[...]/wp-includes/general-template.php(3064): do_action()
#4 /[...]/wp-content/themes/neve/header.php(46): wp_head()
#5 /[...]/wp-includes/template.php(810): require_once('/usr/www/users/...')
#6 /[...]/wp-includes/template.php(745): load_template()
#7 /[...]/wp-includes/general-template.php(48): locate_template()
#8 /[...]/wp-content/plugins/woocommerce/templates/single-product.php(22): get_header()
#9 /[...]/wp-includes/template-loader.php(106): include('/usr/www/users/...')
#10 /[...]/wp-blog-header.php(19): require_once('/usr/www/users/...')
#11 /[...]/index.php(17): require('/usr/www/users/...')
#12 {main}
thrown in /[...]/wp-content/plugins/tracktastic/includes/class-matomo.php on line 12It would be great if you could fix this error.
Regards,
Martin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.