在 PyroCMS 中集成 Google Analytics 时出错
在我在管理面板的设置菜单的集成选项中填写Google Analytics设置之前,没有出现任何错误。 当我在填写Google Analytics设置后提交表单并转到仪表板时,出现以下错误,并且图表未显示在仪表板。
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: http_response_header
Filename: libraries/Analytics.php
Line Number: 424
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: http_response_header
Filename: libraries/Analytics.php
Line Number: 427
请帮我解决这个问题。
There was no error before i filled up the Google Analytics Setting in the Integration option of Setting menu in Admin Panel.
When I submitted the form after filling up the Google Analytics Setting and went to Dashboard, the following error occurred and the graph is not displaying in the Dashboard.
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: http_response_header
Filename: libraries/Analytics.php
Line Number: 424
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: http_response_header
Filename: libraries/Analytics.php
Line Number: 427
Please help me with this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Google 分析使用 CURL。在共享托管中,CURL可能被禁用,因此很可能会出现此类问题。
Google analytics uses CURL. In a shared hosting CURL might be disabled, So such problems are likely to occur.