Fatal error: Uncaught Error: Call to undefined function wp_json_encode() in /home/cedrickm/public_html/mstewart/wp-content/plugins/google-analytics-for-wordpress/includes/frontend/events/class-analytics-events.php:81
Stack trace:
#0 /home/cedrickm/public_html/mstewart/wp-includes/plugin.php(505): MonsterInsights_Analytics_Events->output_javascript('')
#1 /home/cedrickm/public_html/mstewart/wp-includes/script-loader.php(922): do_action('wp_enqueue_scri...')
#2 /home/cedrickm/public_html/mstewart/wp-includes/plugin.php(505): wp_enqueue_scripts('')
#3 /home/cedrickm/public_html/mstewart/wp-includes/general-template.php(2065): do_action('wp_head')
#4 /home/cedrickm/public_html/mstewart/wp-content/plugins/commentpress-core/themes/commentpress-theme/header.php(44): wp_head()
#5 /home/cedrickm/public_html/mstewart/wp-includes/template.php(501): require_once('/home/cedrickm/...')
#6 /home/cedrickm/public_html/mstewart/wp-includes/template.php(477): load_template('/home/cedrickm/...', true)
#7 /home/cedrickm/public_html/mstewart/w in /home/cedrickm/public_html/mstewart/wp-content/plugins/google-analytics-for-wordpress/includes/frontend/events/class-analytics-events.php on line 81