在 PyroCMS 中集成 Google Analytics 时出错

发布于 2024-10-25 12:12:15 字数 557 浏览 11 评论 0原文

在我在管理面板设置菜单的集成选项中填写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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梨涡少年 2024-11-01 12:12:15

Google 分析使用 CURL。在共享托管中,CURL可能被禁用,因此很可能会出现此类问题。

Google analytics uses CURL. In a shared hosting CURL might be disabled, So such problems are likely to occur.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文