[8] ErrorException in Movie.php line 181

未定義數組下标: 1

  1. }
  2. //雙語字幕解析為中文字幕 cc 2017-5-22
  3. public function getDoubleZh(){
  4. $path = $this->getAttr('double_sub_path');
  5. $data = $this->getSub($path);
  6. $num = count($data)+1;
  7. for ($i= 1 ; $i<$num ; ++$i){
  8. $arr1 = explode ( '|',$data[$i]['srtBody']);
  9. $data[$i]['srtBody'] = $arr1[1];
  10. }
  11. return $data;
  12. }
  13. public function getDoublezm($pathurl,$pathurl1=null){
  14. if (!empty($pathurl1)) {
  15. $path1 = $this->getAttr($pathurl1);
  16. $data1 = $this->getSub($path1);
  17. $path = $this->getAttr($pathurl);
  18. $data = $this->getSub($path);

Call Stack

  1. in Movie.php line 181
  2. at Error::appError(8, 'Undefined offset: 1', '/alidata/www/english...', 181, ['path' => '/movie/20190924/d4c6...', 'data' => [['beginTime' => 0, 'endTime' => 980, 'srtBody' => '...'], ['beginTime' => 980, 'endTime' => 5679, 'srtBody' => ' 我來到這裡寫...'], ['beginTime' => 5879, 'endTime' => 10320, 'srtBody' => ' 例如,史坦頓...'], ...], 'num' => 48, ...]) in Movie.php line 181
  3. at Movie->getDoubleZh() in Play.php line 47
  4. at Play->play('3007', 0)
  5. at ReflectionMethod->invokeArgs(object(Play), ['3007', 0]) in App.php line 224
  6. at App::invokeMethod([object(Play), 'play'], []) in App.php line 392
  7. at App::module(['index', 'play', 'play'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  8. at App::run() in start.php line 18
  9. at require('/alidata/www/english...') in index.php line 21

Exception Datas

Error Context
path /movie/20190924/d4c6603e89202b8a6b77c683c298428c.srt
data { "1": { "beginTime": 0, "endTime": 980, "srtBody": "\r\n\u65e9\u4e0a\u597d,\u4e92\u8054\u7f51\u3002\r\n" }, "2": { "beginTime": 980, "endTime": 5679, "srtBody": "\r\n\u6211\u6765\u5230\u8fd9\u91cc\u5199\u4f5c\uff0c\u7814\u7a76\uff0c\u601d\u8003\u8fd9\u4e2a\u9891\u9053\u548c\u5b83\u7684\u53d1\u5c55\u3002\r\n" }, "3": { "beginTime": 5879, "endTime": 10320, "srtBody": "\r\n\u4f8b\u5982\uff0c\u53f2\u5766\u987f\u5c9b\u7684\u89c6\u9891\uff0c\u4e00\u5f00\u59cb\u662f\u4f5c\u4e3a\u80cc\u666f\u9605\u8bfb\u7684\u4e00\u90e8\u5206\u2026\u2026\r\n" }, "4": { "beginTime": 10320, "endTime": 12019, "srtBody": "\r\n\u81ea\u7531\u5973\u795e\u50cf\u7684\u89c6\u9891\u3002\r\n" }, "5": { "beginTime": 12019, "endTime": 16519, "srtBody": "\r\n\u6700\u521d\u8ba1\u5212\u53ea\u662f\u51e0\u4e2a\u661f\u671f\u540e\u7684\u4e00\u4e2a\u5c0f\u811a\u6ce8\uff0c\u6211\u5f97\u5230\u4e86\u4e00\u70b9\u2026\r\n" }, "6": { "beginTime": 16519, "endTime": 19000, "srtBody": "\r\n\u75f4\u8ff7\u4e8e\u514b\u91cc\u65af\u6258\u5f17\u00b7\u6bd4\u52d2\u666e\u7684\u6545\u4e8b\u3002\r\n" }, "7": { "beginTime": 19019, "endTime": 24719, "srtBody": "\r\n\u8fd9\u4e2a\u5c0f\u5c0f\u7684\u811a\u6ce8\u82b1\u4e86\u4e00\u5e74\u65f6\u95f4\u548c\u4e24\u6b21\u8de8\u5927\u897f\u6d0b\u98de\u884c\u624d\u5b8c\u6210\u3002\r\n" }, "8": { "beginTime": 24719, "endTime": 25559, "srtBody": "\r\n\u8fd9\u662f\u4e00\u4e2a\u5f88\u591a\u3002\r\n" }, "9": { "beginTime": 25559, "endTime": 28219, "srtBody": "\r\n\u4e3a\u4e86\u5f25\u8865\u6210\u672c\uff0c\u6211\u5e94\u8be5\u5728\u5e7f\u544a\u7684\u672b\u5c3e\u653e\u4e2a\u5e7f\u544a\u3002\r\n" }, "10": { "beginTime": 28219, "endTime": 31899, "srtBody": "\r\n\u4f46\u662f\uff0c\u6211\u4e0d\u8ba4\u4e3a\u8fd9\u4f1a\u5bf9\u9879\u76ee\u4ea7\u751f\u521b\u9020\u6027\u7684\u4f5c\u7528\r\n" }, "11": { "beginTime": 31899, "endTime": 33000, "srtBody": "\r\n\u60f3\u60f3\u3002\r\n" }, "12": { "beginTime": 33200, "endTime": 40500, "srtBody": "\r\n\u800c\u4e0d\u662f\u72ec\u81ea\u4e00\u4eba\u3001\u6d51\u8eab\u6e7f\u900f\u3001\u5766\u7387\u5730\u8bf4\u8fd1\u4e4e\u75af\u72c2\u5730\u79bb\u5f00\u683c\u96f7\u7684\u5893\u5730\u2026\r\n" }, "13": { "beginTime": 40500, "endTime": 42820, "srtBody": "\r\n\u4ee5\u201c\u8fd9\u6bb5\u89c6\u9891\u662f\u2026\u2026\u5e26\u7ed9\u4f60\u7684\u201d\u7ed3\u5c3e?\r\n" }, "14": { "beginTime": 42859, "endTime": 43979, "srtBody": "\r\n\u6211\u505a\u4e0d\u5230\u3002\r\n" }, "15": { "beginTime": 43979, "endTime": 46159, "srtBody": "\r\n\u8fd9\u548c\u81ea\u9a7e\u6e38\u7684\u89c6\u9891\u5dee\u4e0d\u591a\u3002\r\n" }, "16": { "beginTime": 46159, "endTime": 48839, "srtBody": "That was a real transformative life event for me\u2026\r\n\u5bf9\u6211\u6765\u8bf4\uff0c\u90a3\u662f\u4e00\u6b21\u771f\u6b63\u6539\u53d8\u4eba\u751f\u7684\u4e8b\u4ef6\u2026\u2026\r\n" }, "17": { "beginTime": 48840, "endTime": 51919, "srtBody": "\u2026 and the project became such a difficult technical nightmare\u2026|\r\n\u8fd9\u4e2a\u9879\u76ee\u53d8\u6210\u4e86\u4e00\u573a\u6280\u672f\u4e0a\u7684\u5669\u68a6\u3002\r\n" }, "18": { "beginTime": 52119, "endTime": 56479, "srtBody": "\u2026 over three summers to finish that by the time it was done, it was just too personal.|\r\n\u5728\u4e09\u4e2a\u590f\u5929\u7684\u65f6\u95f4\u91cc\uff0c\u5f53\u5b83\u5b8c\u6210\u7684\u65f6\u5019\uff0c\u5b83\u53ea\u662f\u592a\u79c1\u4eba\u4e86\u3002\r\n" }, "19": { "beginTime": 56479, "endTime": 59519, "srtBody": "So, coming here and thinking about the videos I've been working on\u2026|\r\n\u6240\u4ee5\uff0c\u6765\u5230\u8fd9\u91cc\uff0c\u60f3\u7740\u6211\u4e00\u76f4\u5728\u505a\u7684\u89c6\u9891\u2026\u2026\r\n" }, "20": { "beginTime": 59520, "endTime": 64219, "srtBody": "\u2026 and looking at my plans for future videos, I see a lot of projects like those.|\r\n\u4ee5\u53ca\u6211\u5bf9\u672a\u6765\u89c6\u9891\u7684\u8ba1\u5212\u65f6\uff0c\u6211\u770b\u5230\u4e86\u5f88\u591a\u8fd9\u6837\u7684\u9879\u76ee\u3002\r\n" }, "21": { "beginTime": 64219, "endTime": 67579, "srtBody": "Projects that don't make financial sense without a sponsor,\u2026|\r\n\u6ca1\u6709\u8d5e\u52a9\u5546\u7684\u9879\u76ee\u5728\u8d22\u52a1\u4e0a\u6beb\u65e0\u610f\u4e49\uff0c\u2026\u2026\r\n" }, "22": { "beginTime": 67579, "endTime": 70459, "srtBody": "\u2026 and that don't make creative sense with one.|\r\n\u800c\u6709\u8d5e\u52a9\u5546\u7684\u9879\u76ee\u5728\u521b\u610f\u4e0a\u6beb\u65e0\u610f\u4e49\u3002\r\n" }, "23": { "beginTime": 71700, "endTime": 76120, "srtBody": "So...I'm here to ask if I can double-down on you.|\r\n\u6240\u4ee5\u2026\u6211\u662f\u6765\u95ee\u4f60\u80fd\u4e0d\u80fd\u7ed9\u4f60\u53cc\u500d\u7684\u4ef7\u94b1\u3002\r\n" }, "24": { "beginTime": 76140, "endTime": 80700, "srtBody": "You, the viewer who watches and really likes the kind of thing I make.|\r\n\u4f60\uff0c\u4e00\u4e2a\u771f\u6b63\u559c\u6b22\u6211\u4f5c\u54c1\u7684\u89c2\u4f17\u3002\r\n" }, "25": { "beginTime": 80700, "endTime": 84760, "srtBody": "If that's you, consider supporting the channel directly on Patreon.|\r\n\u5982\u679c\u662f\u4f60\uff0c\u8003\u8651\u76f4\u63a5\u5728Patreon\u4e0a\u652f\u6301\u8fd9\u4e2a\u9891\u9053\u3002\r\n" }, "26": { "beginTime": 84760, "endTime": 86060, "srtBody": "Unless you're in school, of course.|\r\n\u5f53\u7136\uff0c\u9664\u975e\u4f60\u5728\u5b66\u6821\u3002\r\n" }, "27": { "beginTime": 86060, "endTime": 87840, "srtBody": "Students are forbidden from donating.|\r\n\u7981\u6b62\u5b66\u751f\u6350\u6b3e\u3002\r\n" }, "28": { "beginTime": 87840, "endTime": 91319, "srtBody": "Your job is to work on you and make yourself an independent person in the world,\u2026|\r\n\u4f60\u7684\u5de5\u4f5c\u5c31\u662f\u8ba9\u81ea\u5df1\u5728\u8fd9\u4e2a\u4e16\u754c\u4e0a\u6210\u4e3a\u4e00\u4e2a\u72ec\u7acb\u7684\u4eba\u3002\r\n" }, "29": { "beginTime": 91519, "endTime": 95119, "srtBody": "\u2026 which is a hard enough task that should require all of your attention and resources.|\r\n\u8fd9\u662f\u4e00\u9879\u8db3\u591f\u8270\u5de8\u7684\u4efb\u52a1\uff0c\u9700\u8981\u4f60\u6240\u6709\u7684\u6ce8\u610f\u529b\u548c\u8d44\u6e90\u3002\r\n" }, "30": { "beginTime": 95120, "endTime": 97000, "srtBody": "Focus on that. I'll catch you later.|\r\n\u628a\u6ce8\u610f\u529b\u653e\u5728\u8fd9\u4e00\u70b9\u4e0a\u3002\u5f85\u4f1a\u513f\u89c1\u3002\r\n" }, "31": { "beginTime": 97000, "endTime": 99420, "srtBody": "For everyone else, there's no pressure or obligation here.|\r\n\u5bf9\u5176\u4ed6\u4eba\u6765\u8bf4\uff0c\u8fd9\u91cc\u6ca1\u6709\u538b\u529b\u6216\u4e49\u52a1\u3002\r\n" }, "32": { "beginTime": 99640, "endTime": 104120, "srtBody": "I only want patrons to support my work who are happy and able to do so.|\r\n\u6211\u53ea\u5e0c\u671b\u987e\u5ba2\u652f\u6301\u6211\u7684\u5de5\u4f5c\u8c01\u662f\u5feb\u4e50\u7684\uff0c\u80fd\u591f\u8fd9\u6837\u505a\r\n" }, "33": { "beginTime": 104180, "endTime": 105659, "srtBody": "If you can't, we're good!|\r\n\u5982\u679c\u4f60\u505a\u4e0d\u5230\uff0c\u6211\u4eec\u5f88\u597d!\r\n" }, "34": { "beginTime": 105859, "endTime": 107099, "srtBody": "Just watching is support.|\r\n\u53ea\u662f\u89c2\u770b\u5c31\u662f\u652f\u6301\u3002\r\n" }, "35": { "beginTime": 107099, "endTime": 110939, "srtBody": "Anyway, I think you can see now why sometimes things take a while.|\r\n\u4e0d\u7ba1\u600e\u4e48\u8bf4\uff0c\u6211\u60f3\u4f60\u73b0\u5728\u53ef\u4ee5\u660e\u767d\u4e3a\u4ec0\u4e48\u6709\u65f6\u4e8b\u60c5\u9700\u8981\u4e00\u6bb5\u65f6\u95f4\u3002\r\n" }, "36": { "beginTime": 110939, "endTime": 114539, "srtBody": "We all like to joke about how long it is between Grey uploads.|\r\n\u6211\u4eec\u90fd\u559c\u6b22\u5f00\u73a9\u7b11\u8bf4Grey\u4e0a\u4f20\u7684\u95f4\u9694\u65f6\u95f4\u6709\u591a\u957f\u3002\r\n" }, "37": { "beginTime": 114540, "endTime": 115859, "srtBody": "I see you in the comments.|\r\n\u6211\u5728\u8bc4\u8bba\u4e2d\u770b\u5230\u4f60\u4e86\u3002\r\n" }, "38": { "beginTime": 115859, "endTime": 117219, "srtBody": "I like to make those jokes!|\r\n\u6211\u559c\u6b22\u8bb2\u90a3\u4e9b\u7b11\u8bdd!\r\n" }, "39": { "beginTime": 117219, "endTime": 120239, "srtBody": "I wouldn't want to live on an internet without recurring memes.|\r\n\u6211\u4e0d\u60f3\u751f\u6d3b\u5728\u4e00\u4e2a\u6ca1\u6709\u53cd\u590d\u51fa\u73b0\u7684\u6a21\u56e0\u7684\u4e92\u8054\u7f51\u4e0a\u3002\r\n" }, "40": { "beginTime": 120299, "endTime": 126879, "srtBody": "But, it's important for me for *you* to know that this channel is the creative core of my life.|\r\n\u4f46\u662f\uff0c\u5bf9\u6211\u6765\u8bf4\uff0c\u5bf9\u4f60\u6765\u8bf4\uff0c\u77e5\u9053\u8fd9\u4e2a\u9891\u9053\u662f\u6211\u751f\u6d3b\u4e2d\u521b\u9020\u6027\u7684\u6838\u5fc3\u662f\u5f88\u91cd\u8981\u7684\u3002\r\n" }, "41": { "beginTime": 126879, "endTime": 128519, "srtBody": "It's my full-time work.|\r\n\u8fd9\u662f\u6211\u7684\u5168\u804c\u5de5\u4f5c\u3002\r\n" }, "42": { "beginTime": 128520, "endTime": 130760, "srtBody": "(... sometimes to the point of real madness)|\r\n(\u2026\u6709\u65f6\u751a\u81f3\u5230\u4e86\u75af\u72c2\u7684\u5730\u6b65\r\n" }, "43": { "beginTime": 130780, "endTime": 132740, "srtBody": "Anyway, thank you for watching.|\r\n\u65e0\u8bba\u5982\u4f55\uff0c\u8c22\u8c22\u4f60\u7684\u6536\u770b\u3002\r\n" }, "44": { "beginTime": 132740, "endTime": 134560, "srtBody": "Consider giving on Patreon.|\r\n\u8003\u8651\u653e\u5f03Patreon\u3002\r\n" }, "45": { "beginTime": 134560, "endTime": 137659, "srtBody": "And now, I've got some scripts I'm gonna go work on.|\r\n\u73b0\u5728\uff0c\u6211\u6709\u4e00\u4e9b\u5267\u672c\u8981\u5199\u3002\r\n" }, "46": { "beginTime": 137659, "endTime": 139280, "srtBody": "I'll see you later, internet.|\r\n\u56de\u5934\u89c1\uff0c\u4e92\u8054\u7f51\u3002\r\n" }, "47": { "beginTime": 139419, "endTime": 144419, "srtBody": "Have a great day.|\r\n\u795d\u4f60\u4eca\u5929\u6109\u5feb\u3002\r\n\r\n\r\n" } }
num 48
i 16
arr1 [ "That was a real transformative life event for me\u2026\r\n\u5bf9\u6211\u6765\u8bf4\uff0c\u90a3\u662f\u4e00\u6b21\u771f\u6b63\u6539\u53d8\u4eba\u751f\u7684\u4e8b\u4ef6\u2026\u2026\r\n" ]

Environment Variables

GET Data
id 3007
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_SCRIPT_URL /index/play/play.html
REDIRECT_SCRIPT_URI http://caifu40537.cn/index/play/play.html
REDIRECT_STATUS 200
SCRIPT_URL /index/play/play.html
SCRIPT_URI http://caifu40537.cn/index/play/play.html
HTTP_HOST caifu40537.cn
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_REFERER http://caifu40537.cn/index/play/play.html?id=3007
HTTP_CLIENT_IP 66.187.103.186
HTTP_X_FORWARDED_FOR 66.162.130.229
PATH /sbin:/usr/sbin:/bin:/usr/bin
LD_LIBRARY_PATH /alidata/server/httpd/lib
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.10 (Unix) OpenSSL/1.0.1f PHP/5.5.7
SERVER_NAME caifu40537.cn
SERVER_ADDR 172.17.12.129
SERVER_PORT 80
REMOTE_ADDR 156.238.56.202
DOCUMENT_ROOT /alidata/www/english/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /alidata/www/english/public
SERVER_ADMIN you@example.com
SCRIPT_FILENAME /alidata/www/english/public/index.php
REMOTE_PORT 58621
REDIRECT_QUERY_STRING id=3007
REDIRECT_URL /index/play/play.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING id=3007
REQUEST_URI /index/play/play.html?id=3007
SCRIPT_NAME /index.php
PATH_INFO /index/play/play.html
PATH_TRANSLATED redirect:/index.php/index/play/play.html/play/play.html
PHP_SELF /index.php/index/play/play.html
REQUEST_TIME_FLOAT 1571881894.319
REQUEST_TIME 1571881894
Environment Variablesempty
ThinkPHP Constants
APP_PATH /alidata/www/english/public/../application/
EXTEND_PATH /alidata/www/english/public/../extend/
THINK_VERSION 5.0.5
THINK_START_TIME 1571881894.3205
THINK_START_MEM 261440
EXT .php
DS /
THINK_PATH /alidata/www/english/thinkphp/
LIB_PATH /alidata/www/english/thinkphp/library/
CORE_PATH /alidata/www/english/thinkphp/library/think/
TRAIT_PATH /alidata/www/english/thinkphp/library/traits/
ROOT_PATH /alidata/www/english/
VENDOR_PATH /alidata/www/english/vendor/
RUNTIME_PATH /alidata/www/english/runtime/
LOG_PATH /alidata/www/english/runtime/log/
CACHE_PATH /alidata/www/english/runtime/cache/
TEMP_PATH /alidata/www/english/runtime/temp/
CONF_PATH /alidata/www/english/public/../application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false