menu
#7034005 Constant expression contains invalid operations

Submitted by PocketMine-MP 4.5.1

General information

Version: 4.5.1
Git commit: d641812c
Plugin involvement: Direct
Report date: 2022-06-23 09:34:56 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux ip135-148-6-172 4.15.0-176-generic #185-Ubuntu SMP Tue Mar 29 17:40:04 UTC 2022 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Constant expression contains invalid operations
File: plugins/CustomShopUI/src/AlexPads/CustomShopUI/Main
Line: #29
Error level: E_COMPILE_ERROR
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
use JackMD\ConfigUpdater\ConfigUpdater;
use AlexPads\CustomShopUI\economy\EconomyManager;
use AlexPads\CustomShopUI\economy\EconomyIntegration;

class Main extends PluginBase
{

public $msg;

public $banco = new Config($this->getDataFolder()."banco.yml", Config::YAML);
// For Config Updates!
private const CONFIG_VERSION = 6;
// For shop Updates!
private const SHOP_VERSION = 5;
// For Message Updates!
private const MESSAGE_VERSION = 5;

public function onEnable(): void
{

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show