Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/237.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php simplexml\u加载\u文件():http://www.google.com/ig/api?weather= 无效的元素名称_Php_Yii Extensions - Fatal编程技术网

Php simplexml\u加载\u文件():http://www.google.com/ig/api?weather= 无效的元素名称

Php simplexml\u加载\u文件():http://www.google.com/ig/api?weather= 无效的元素名称,php,yii-extensions,Php,Yii Extensions,我在Yii框架中构建的网站上遇到此错误。我使用Yii扩展weatherwidget在我的页面上显示天气信息。有人知道是什么导致了这个问题吗。这是我页面上的扩展代码 <?php $location = 63376; $this->widget('application.components.weather.GoogleWeatherAPI', array('location'=>$location)); ?>

我在Yii框架中构建的网站上遇到此错误。我使用Yii扩展weatherwidget在我的页面上显示天气信息。有人知道是什么导致了这个问题吗。这是我页面上的扩展代码

<?php  
 $location = 63376;
  $this->widget('application.components.weather.GoogleWeatherAPI', array('location'=>$location)); ?>