Comments (1)
Same Problem
Error: Cannot use object of type stdClass as array
File: plugins/PocketVote-PocketMine.phar/src/ProjectInfinity/PocketVote/task/TopVoterTask
Line: 57
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: PocketVote v3.0.1
Code:
[48]
[49] public function onCompletion(Server $server): void {
[50] if(!$this->hasResult()) {
[51] $server->getLogger()->error('[PocketVote] TopVoterTask - Failed to retrieve top voters. Try again later.');
[52] return;
[53] }
[54]
[55] $result = $this->getResult();
[56]
[57] if(!$result['success'] && isset($result['error'])) {
[58] $server->getLogger()->error('[PocketVote] TopVoterTask - An error occurred while contacting the PocketVote servers, please try again later.');
[59] $server->getLogger()->error('[PocketVote] curl error occurred during TopVoterTask: '.$result['error']);
[60] return;
[61] }
[62]
[63] if(!$result['success']) {
[64] $server->getLogger()->error('[PocketVote] TopVoterTask - An error occurred while contacting the PocketVote servers, please try again later.');
[65] return;
[66] }
[67]
Backtrace:
#0 src/pocketmine/scheduler/AsyncPool(304): ProjectInfinity\PocketVote\task\TopVoterTask->onCompletion(object pocketmine\Server)
#1 src/pocketmine/Server(2384): pocketmine\scheduler\AsyncPool->collectTasks()
#2 src/pocketmine/Server(2143): pocketmine\Server->tick()
#3 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#4 src/pocketmine/Server(1584): pocketmine\Server->start()
#5 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[20] /root/PocketMine-MP/, string[28] /root/PocketMine-MP/plugins/)
#6 src/pocketmine/PocketMine(296): pocketmine\server()
#7 (11): require(string[75] phar:///root/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 3.12.0 [Protocol 390]
Git commit: 77d45bf11674a1360f58e32a14a3b09f423d860c
uname -a: Linux localhost 5.3.0-40-generic #32-Ubuntu SMP Fri Jan 31 20:24:34 UTC 2020 x86_64
PHP Version: 7.3.14
Zend version: 3.3.14
OS : Linux, linux
from pocketvote.
Related Issues (20)
- Gulist crashing server HOT 2
- Password Help
- Votes not working HOT 1
- After doing /guadd and i add the link it dosn't work HOT 2
- Support for BestServers.com HOT 3
- Detail API Document HOT 1
- failed to add link. API response: a token error occurred HOT 2
- Add API for overall votes HOT 4
- Crashes the server when someone votes
- Server Crash TopVoterTask HOT 1
- minecraftpocket
- Not directly related to GitHub, but Iām not heard anywhere else so HOT 2
- It wont connect HOT 2
- I cant login
- How do I make a pocketvote plugin? HOT 1
- Crash TopVoterTask:Line 57
- Vote for CraftSplash
- [Server thread/ERROR]: [PocketVote] VoteCheckTask: error setting certificate verify locations: CAfile: /server/plugin_data/PocketVote/cacert.pem CApath: none
- Account Deletion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pocketvote.