ProjectInfinity / PocketVote

Documentation and support for PocketVote.io
9 stars 5 forks source link

Error #22

Closed TheMasterDuper closed 6 years ago

TheMasterDuper commented 6 years ago

[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

ProjectInfinity commented 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 .

TheMasterDuper commented 6 years ago

I did

TheMasterDuper commented 6 years ago

Iv got the test in the config but not the players

ProjectInfinity commented 6 years ago

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 .

TheMasterDuper commented 6 years ago

Yes

TheMasterDuper commented 6 years ago

I'v did everything.

ProjectInfinity commented 6 years ago

What version of PocketMine and PocketVote are you using? This should ONLY happen when you have not correctly set your identity.

TheMasterDuper commented 6 years ago

1.4.0 Pocketmine PocketVote 2.1.2

TheMasterDuper commented 6 years ago

capture I marked out code but it is correct.

ProjectInfinity commented 6 years ago

Try encapsulating the identity in single quotes. 'like this'

TheMasterDuper commented 6 years ago

[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

TheMasterDuper commented 6 years ago

Still the same thing

ProjectInfinity commented 6 years ago

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.

https://discord.gg/B4WHSSq