Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

PHP 7 support needed #91

Open
ManagedMango opened this issue May 30, 2016 · 8 comments
Open

PHP 7 support needed #91

ManagedMango opened this issue May 30, 2016 · 8 comments

Comments

@ManagedMango
Copy link

Is it possible to update your plug-in so it will work in PHP 7

@ghost
Copy link

ghost commented May 31, 2016

Some of them. Just change the api to 2.0.0

@xXMarlonJrXx
Copy link

Thats my problem too

@Bidou0418
Copy link

is this guy dead?

@StupidQuestionsGuy
Copy link

hes really active but he doesnt talk

@Landy005
Copy link

rip

@AndroidHackPro
Copy link

@imjayl Here is my problem, how I update to 2.0.0?

Genisys Crash Dump Mon Jul 11 16:22:28 PDT 2016

Error: Cannot use pocketmine\nbt\tag\String as String because 'String' is a special class name
File: /LiveSigns_v1.2.1.phar/src/aliuly/livesigns/TileUpdTask
Line: 10
Type: E_COMPILE_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN : LiveSigns v1.2.1

Code:
[1] <?php
[2] namespace aliuly\livesigns;
[3]
[4] use pocketmine\scheduler\PluginTask;
[5] use pocketmine\plugin\Plugin;
[6] use pocketmine\tile\Sign;
[7] use pocketmine\network\protocol\TileEntityDataPacket;
[8] use pocketmine\nbt\NBT;
[9] use pocketmine\nbt\tag\Compound;
[10] use pocketmine\nbt\tag\String;
[11]
[12] class TileUpdTask extends PluginTask{
[13] /**
[14] * @param Plugin $owner
[15] */
[16] public function __construct(Plugin $owner){
[17] parent::__construct($owner);
[18] }
[19] public function onRun($currentTicks){
[20] $this->getOwner()->updateVars();

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

Genisys version: 1.2dev #621 [Protocol 81; API 2.0.0]
uname -a: Linux mcpe1.netherbox.com 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux

Server uptime: 2 seconds
Number of loaded worlds: 2
Players online: 0/100

@HimbeersaftLP
Copy link

LiveSigns isn't php7 even updating the API won't work for it...

@SleepSpace9
Copy link
Contributor

There's a pending PullRequest (#102) for LiveSigns which is working for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants