Fatal error: Uncaught Google_Service_Exception: Error calling GET https://www.googleapis.com/analytics/v3/management/accounts/19125831/webproperties: (400) Universal Analytics is deprecated. Please migrate to GA4. in /var/www/html/google-api-php-client/src/Google/Http/REST.php:110
Stack trace:
#0 /var/www/html/google-api-php-client/src/Google/Http/REST.php(62): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client))
#1 /var/www/html/google-api-php-client/src/Google/Task/Runner.php(174): Google_Http_REST::doExecute(Object(Google_Client), Object(Google_Http_Request))
#2 /var/www/html/google-api-php-client/src/Google/Http/REST.php(46): Google_Task_Runner->run()
#3 /var/www/html/google-api-php-client/src/Google/Client.php(590): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#4 /var/www/html/google-api-php-client/src/Google/Service/Resource.php(237): Google_Client->execute(Object(Google_Http_Request))
#5 /var/www/html/google-api-php-client/src/Google/Service/Analytics.php(3583): Google_Service_Resource->call('list', Array, 'Google_Service_...')
#6 /var/www/html/includes/ga.inc(47): Google_Service_Analytics_ManagementWebproperties_Resource->listManagementWebproperties('19125831')
#7 /var/www/html/includes/ga.inc(95): getFirstprofileId(Object(Google_Service_Analytics))
#8 /var/www/html/includes/common.inc(1770) : eval()'d code(4): require_once('/var/www/html/i...')
#9 /var/www/html/includes/common.inc(1770): eval()
#10 /var/www/html/modules/php/php.module(81): drupal_eval('<?php\n drupal_...')
#11 /var/www/html/includes/module.inc(476): php_filter('process', '0', '3', '<?php\n drupal_...', '3:ec15f6dd75b2d...')
#12 /var/www/html/modules/filter/filter.module(455): module_invoke('php', 'filter', 'process', '0', '3', '<?php\n drupal_...', '3:ec15f6dd75b2d...')
#13 /var/www/html/modules/node/node.module(1054): check_markup('<?php\n drupal_...', '3', false)
#14 /var/www/html/modules/node/node.module(1098): node_prepare(Object(stdClass), false)
#15 /var/www/html/modules/node/node.module(1019): node_build_content(Object(stdClass), false, true)
#16 /var/www/html/modules/node/node.module(1114): node_view(Object(stdClass), false, true)
#17 /var/www/html/modules/node/node.module(1810): node_show(Object(stdClass), NULL)
#18 /var/www/html/includes/menu.inc(350): node_page_view(Object(stdClass))
#19 /var/www/html/index.php(23): menu_execute_active_handler()
#20 {main}
thrown in /var/www/html/google-api-php-client/src/Google/Http/REST.php on line 110