Closed Southparkfan closed 9 years ago
Please see https://github.com/super3/IRC-Bot/issues/65 Aka update your PHP version. Thanks for the PR though.
Since I'm doing major changes anyway, I'll take this into account as well.
/me was a bit too fast with making a pull request :-).
I use Debian Wheezy with PHP 5.4, so updating PHP is not really possible (unless you use the testing/jessie/sid distributions, whatever you need to do).
That's fine. :) I run Arch Linux myself which has the latest PHP available, 5.6.something, and so does my server, so I didn't notice these errors while testing locally and on my server.
If you find more of those errors throughout your use of the bot, report them please; I have the habit of just dumping everything in empty(), including functions (which causes this error).
Fixed with #5.
I cloned a fresh clone of this repository, changed config.php, renamed it to config.local.php. Seems fine, until you run "php phpbot404.php", because I got this: PHP Fatal error: Can't use method return value in write context in ./Classes/Command/Help.php on line 62
This patch should fix it.