-
Hello, we noticed this morning that one of the sites we manage was giving a ‘There has been a critical error on your website’ error. I got in touch with WP engine who hosts the site and they said they never experienced any downtime so it wasn’t an issue related to them. Our developer took a deeper look and found and issue within RankMath itself while we were using your analytics code insert. We disabled and added the functionality within Elementor Code Snippers so we should be good from a functionality/uptime perspective but we wanted to reach out to see if you guys can fix this error. See below for the error that we received. Thanks!
[Thu Apr 15 13:19:12.188092 2021] [php7:error] [pid 19955] [client 76.72.167.154:58234] PHP Fatal error: Uncaught Error: Call to undefined function RankMath\\Analytics\\wp_print_script_tag() in /nas/content/live/melevatedental/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-gtag.php:156\nStack trace:\n#0 /nas/content/live/melevatedental/wp-includes/class-wp-hook.php(287): RankMath\\Analytics\\GTag->add_gtag_js(”)\n#1 /nas/content/live/melevatedental/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\n#2 /nas/content/live/melevatedental/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#3 /nas/content/live/melevatedental/wp-includes/general-template.php(3007): do_action(‘wp_head’)\n#4 /nas/content/live/melevatedental/wp-content/themes/estound-custom-theme/header.php(12): wp_head()\n#5 /nas/content/live/melevatedental/wp-includes/template.php(730): require_once(‘/nas/content/li…’)\n#6 /nas/content/live/melevatedental/wp-includes/template.php(676): load_template(‘/nas/content/li…’, true, Array)\n#7 /nas/content/live/melevatedental/wp-includes/general-template.php(48): locate_ in /nas/content/live/melevatedental/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-gtag.php on line 156
The ticket ‘Analytics Code Insert error – Elevate-dental.com’ is closed to new replies.