Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jieba.php line 280 Call to a member function exists() on array #26

Closed
kangkang66 opened this issue Aug 2, 2017 · 4 comments
Closed

Comments

@kangkang66
Copy link

FatalErrorException in Jieba.php line 280:
Call to a member function exists() on array

version:0.25

@fukuball
Copy link
Owner

fukuball commented Aug 2, 2017

do you require these libraries?

require_once "/path/to/your/vendor/multi-array/MultiArray.php";
require_once "/path/to/your/vendor/multi-array/Factory/MultiArrayFactory.php";

@zplzpl
Copy link

zplzpl commented Sep 6, 2017

出现同样的问题,使用YII2框架,使用composer安装。

autoload_files.php 部分内容

'f40cb564d92ad0e78b0bfdf9b86c5768' => $vendorDir . '/fukuball/jieba-php/src/class/Jieba.php', 'a778fafb0619406705f6fd4bb3ec7d5b' => $vendorDir . '/fukuball/jieba-php/src/class/JiebaAnalyse.php', '06c61fd667b7f3d9ee59d805e51017e7' => $vendorDir . '/fukuball/jieba-php/src/class/Finalseg.php', '750aa4fdf8bfc24d7baef293581bec73' => $vendorDir . '/fukuball/jieba-php/src/class/Posseg.php', '6ca3f08a814c4fd9d5830fc6808a9488' => $vendorDir . '/fukuball/jieba-php/src/vendor/multi-array/MultiArray.php', '4d5ee3c1cc66ee941937c247fe6b7d6e' => $vendorDir . '/fukuball/jieba-php/src/vendor/multi-array/Factory/MultiArrayFactory.php',

使用的版本:dev-master

@fukuball
Copy link
Owner

fukuball commented Sep 6, 2017

2017-09-06 6 12 22

2017-09-06 6 14 07

2017-09-06 6 12 42

我實在是無法 reproduce 這個問題,所以目前不知如何修

@jokercoplay
Copy link

Have you done the init operation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants