I've got scripts running on crons that all of a sudden stopped working
today. I get this error messages.
PHP Warning: SoapClient::__construct() expects parameter 2 to be
array, string given in /home1/RD/google_api/
new_google_api_report_daily.php on line 76
PHP Stack trace:
PHP 1. {main}() /home1/RD/google_api/new_google_api_report_daily.php:
0
PHP 2. SoapClient->__construct() /home1/RD/google_api/
new_google_api_report_daily.php:76
PHP Fatal error: SoapClient::__construct(): Invalid parameters in /
home1/RD/google_api/new_google_api_report_daily.php on line 76
PHP Stack trace:
PHP 1. {main}() /home1/RD/google_api/new_google_api_report_daily.php:
0
PHP 2. SoapClient->__construct() /home1/RD/google_api/
new_google_api_report_daily.php:76
[this is line 75] $namespace = '
https://adwords.google.com/api/adwords/
v12';
[this is line 76] $report_service = new soapclient($namespace . '/
ReportService?wsdl', 'wsdl');
[this is line 77] $report_service->setHeaders($headers);