简体   繁体   English

未初始化的字符串偏移量:Facebook FBML应用程序中的0错误

[英]Uninitialized string offset: 0 error in Facebook FBML Application

I have created app. 我已经创建了应用。 in FBML on facebook plateform in past. 过去在Facebook平台上的FBML中使用。 This app. 这个程序。 is working fine till last week but now it shows error as 直到上周工作正常,但现在显示错误为

Notice: Uninitialized string offset: 0 in /var/www/vhosts/xxx.net/httpdocs/new/client/facebookapi_php5_restlib.php on line 310

and keeps refreshing on it. 并不断刷新。 Why this is happening. 为什么会这样。 Please help. 请帮忙。 Thanks in advance... 提前致谢...

Thats just a notice not an error. 多数民众赞成只是一个通知,而不是一个错误。

Probably php configuration has changed so that it prints out notice level "errors". 可能是php配置已更改,以便它打印出通知级别“错误”。

If thats 3rd party code, then just comment out a line in php.ini that starts with error_reporting (so that it doesn't notify you about notices) or in your php script execute this: 如果那是第三方代码,则只需在php.ini中注释掉以error_reporting开头的行(这样它就不会通知您有关通知)或在您的php脚本中执行以下命令:

// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);

If thats your code then read: What causes: "Notice: Uninitialized string offset" to appear? 如果那是您的代码,请阅读: 是什么原因引起的:出现“注意:未初始化的字符串偏移量”?

You are welcome to read more about error_reporting . 欢迎您阅读有关error_reporting的更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM