Closed TheMasterDuper closed 6 years ago
Make sure you set your identity correctly.
On Thu, May 24, 2018, 23:09 Chaotic notifications@github.com wrote:
[16:08:19] [Server thread/CRITICAL]: Could not execute task ProjectInfinity\PocketVote\task\SchedulerTask: Undefined property: ProjectInfinity\PocketVote\PocketVote::$identity
[16:08:19] [Server thread/CRITICAL]: ErrorException: "Undefined property: ProjectInfinity\PocketVote\PocketVote::$identity" (EXCEPTION) in "PocketVote-PocketMine.phar/src/ProjectInfinity/PocketVote/task/SchedulerTask" at line 20
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProjectInfinity/PocketVote/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkPzna8dsq0itP_5a1jKprieU7gdv8oks5t1yFugaJpZM4UNADL .
I did
Iv got the test in the config but not the players
The error is unrelated to players though. Have you restarted your server after applying the identity and secret to your config?
On Thu, May 24, 2018, 23:13 Chaotic notifications@github.com wrote:
Iv got the test in the config but not the players
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ProjectInfinity/PocketVote/issues/22#issuecomment-391864551, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkPzni4tWvic6fmH3D2scpXLE6QNelAks5t1yKEgaJpZM4UNADL .
Yes
I'v did everything.
What version of PocketMine and PocketVote are you using? This should ONLY happen when you have not correctly set your identity.
1.4.0 Pocketmine PocketVote 2.1.2
I marked out code but it is correct.
Try encapsulating the identity in single quotes. 'like this'
[16:35:20] [Server thread/CRITICAL]: Could not execute task ProjectInfinity\PocketVote\task\SchedulerTask: Undefined property: ProjectInfinity\PocketVote\PocketVote::$identity [16:35:20] [Server thread/CRITICAL]: ErrorException: "Undefined property: ProjectInfinity\PocketVote\PocketVote::$identity" (EXCEPTION) in "PocketVote-PocketMine.phar/src/ProjectInfinity/PocketVote/task/SchedulerTask" at line 20
Still the same thing
Join the discord and send me the configuration in it's entirety in a private message.
That's the only thing I can do for you.
[16:08:19] [Server thread/CRITICAL]: Could not execute task ProjectInfinity\PocketVote\task\SchedulerTask: Undefined property: ProjectInfinity\PocketVote\PocketVote::$identity
[16:08:19] [Server thread/CRITICAL]: ErrorException: "Undefined property: ProjectInfinity\PocketVote\PocketVote::$identity" (EXCEPTION) in "PocketVote-PocketMine.phar/src/ProjectInfinity/PocketVote/task/SchedulerTask" at line 20