issue test API 3.0.0 line 275 e compile error
Closed this issue · 1 comments
teracube commented
PocketMine-MP/1202
https://jenkins.pmmp.io/job/PocketMine-MP/1202/changes
https://poggit.pmmp.io/r/33693/AntiSpamPro_dev-29.phar
- plugin.yml modified [3.0.0]
PocketMine-MP Crash Dump Tue Jun 19 22:33:50 CEST 2018
Error: Declaration of awzaw\antispampro\ProfanityFilter::__construct(awzaw\antispampro\AntiSpamPro $plugin) must be compatible with pocketmine\plugin\Plugin::__construct(pocketmine\plugin\PluginLoader $loader, pocketmine\Server $server, pocketmine\plugin\PluginDescription $description, string $dataFolder, string $file)
File: AntiSpamPro-master/src/awzaw/antispampro/ProfanityFilter
Line: 275
Type: E_COMPILE_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: AntiSpamPro v1.4.0-7
Code:
[266] $characterExpressions = array();
[267] foreach ($this->characterSubstitutions as $character => $substitutions) {
[268] $characterExpressions[$character] = $this->generateEscapedExpression(
[269] $substitutions, array(), '+?'
[270] ) . self::SEPARATOR_PLACEHOLDER;
[271] }
[272]
[273] return $characterExpressions;
[274] }
[275] }
[276]
[277]
[278]
[279]
[280]
[281]
[282]
[283]
[284]
[285]
Backtrace:
PocketMine-MP version: 3.0.1 [Protocol 261]
Git commit: dbda0442293fde226d4febf784633396b120a9ba
uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64
PHP Version: 7.2.4
Zend version: 3.2.0
OS : Linux, linux
Awzaw commented
Changing the API version is not the same as updating the plugin... please use the latest poggit release.