menu
#7034976 Type of mrholler\fshop\libs\xenialdan\customui\elements\Button::$text must not be defined (as in class mrholler\fshop\libs\xenialdan\customui\elements\UIElement)

Submitted by PocketMine-MP 4.5.1

General information

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

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux 2e9370c0-9924-4bd6-9db1-8af2a7897be3 5.4.0-1085-azure #90~18.04.1-Ubuntu SMP Fri Jun 10 18:32:22 UTC 2022 x86_64

Error information

Warning: the FShop plugin was directly involved in this crash. Please contact the plugin author.
Message: Type of mrholler\fshop\libs\xenialdan\customui\elements\Button::$text must not be defined (as in class mrholler\fshop\libs\xenialdan\customui\elements\UIElement)
File: plugins/FShop_dev-17.phar/src/mrholler/fshop/libs/xenialdan/customui/elements/Button
Line: #10
Error level: E_COMPILE_ERROR
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace mrholler\fshop\libs\xenialdan\customui\elements;

use Exception;
use InvalidArgumentException;
use pocketmine\player\Player;
use mrholler\fshop\libs\xenialdan\customui\ButtonImage;

class Button extends UIElement
{
public const IMAGE_TYPE_PATH = 'path';
public const IMAGE_TYPE_URL = 'url';

/** @var string May contains 'path' or 'url' */
protected ButtonImage $image;

public function __construct(protected string $text = ""){}

/**

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show