Hello Amit,
Thank you for your revert. I was trying to get in touch with the person who added the customized code to the header file of the site, however he is on vacation and out of coverage area. Hence, I would require your quick help in resolving this, if possible. Please find the required details below:
Below is the Error displayed (after changing DEBUG mode to ‘true’ in wp.config file – I have changed it back to ‘false’:
Notice: Undefined index: premium-templates in /home/sindhudarshan/public_html/wp-content/plugins/premium-addons-for-elementor/admin/settings/modules-setting.php on line 714
Fatal error: Uncaught Google_Auth_Exception: Error refreshing the OAuth2 token, message: ‘{ “error”: “invalid_grant”, “error_description”: “Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values and use a clock with skew to account for clock differences between systems.” }’ in /home/sindhudarshan/public_html/src/Google/Auth/OAuth2.php:363 Stack trace: #0 /home/sindhudarshan/public_html/src/Google/Auth/OAuth2.php(312): Google_Auth_OAuth2->refreshTokenRequest(Array) #1 /home/sindhudarshan/public_html/galib.php(941): Google_Auth_OAuth2->refreshTokenWithAssertion(Object(Google_Auth_AssertionCredentials)) #2 /home/sindhudarshan/public_html/wp-content/themes/oceanwp-child/header.php(91): getService() #3 /home/sindhudarshan/public_html/wp-includes/template.php(722): require_once(‘/home/sindhudar…’) #4 /home/sindhudarshan/public_html/wp-includes/template.php(671): load_template(‘/home/sindhudar…’, true) #5 /home/sindhudarshan/public_html/wp-includes/general in /home/sindhudarshan/public_html/src/Google/Auth/OAuth2.php on line 363
Below is the code that’s been added to the header (as far as I’m aware, this is the full code since I’m unable to get in touch with the person who added the code):
<div style=”animation-duration:4s;” class=”elementor-element elementor-element-fc12fb5 elementor-widget elementor-widget-text-editor infinite animated zoomIn” data-id=”fc12fb5″ data-element_type=”widget” data-settings=”{"_animation":"zoomIn"}” data-widget_type=”text-editor.default”>
<div class=”elementor-widget-container”>
<div class=”elementor-text-editor elementor-clearfix” >
<center style=”color: white; font-size: 13.1px;” line-height: 90%;>
<b style= “border-style: dotted; border-color: yellow; border-width: 3px; padding-left: 3px; margin: 3px;”> Viewers
<!– Fetching Analytics from 2015-05-22 to 2020-05-22 !–>
<?php
for ($i = 0; $i <= count($arr1) – 1; $i++) {
echo $arr1[$i];
}
?>
</b>
<b style= “border-style: dotted; border-color: yellow; margin-left: 3px; border-width: 3px; padding-left: 3px; margin: 3px;”> Cities
<?php
for ($i = 0; $i <= count($arr3) – 1; $i++) {
echo $arr3[$i];
}
?>
</b>
<b style= “border-style: dotted; border-color: yellow; margin-left: 3px; border-width: 3px; padding-left: 3px “> Countries
<?php
for ($i = 0; $i <= count($arr2) – 1; $i++) {
echo $arr2[$i];
}
?>
</b>
<br>
Live by Google – Data based on Total Page Visits
</center>
</div>
</div>
</div>
Please look into this and suggest accordingly, as the client is awaiting the resolution. Thanks in advance.