Majcon94 / TS3Bot

Darmowy BOT na serwer TS3
GNU General Public License v3.0
12 stars 6 forks source link

Coś mi wali błędami (php_error.log) #1

Closed VMAJSTER closed 4 years ago

VMAJSTER commented 4 years ago

A dokładniej to: Ma ktoś jakiś pomysł?

[29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: missing ) at offset 1 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: unmatched parentheses at offset 0 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: missing terminating ] for character class at offset 1 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Unknown modifier '~' in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: missing ) at offset 1 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: unmatched parentheses at offset 0 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: missing terminating ] for character class at offset 1 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Unknown modifier '~' in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:00 Europe/Berlin] PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0 in /home/ts3/boty/ts3bot-master/class/functions.class.php on line 54 [29-Dec-2019 21:43:01 Europe/Berlin] PHP Warning: array_diff_key(): Argument #1 is not an array in /home/ts3/boty/ts3bot-master/function/banhistory.php on line 10

VMAJSTER commented 4 years ago

Po wyłączeniu //BanHistory() oraz //SprNick() już niczym nie sypie

Majcon94 commented 4 years ago

Prawdopodobnie coś źle w configu podałeś

VMAJSTER commented 4 years ago

okej, dzięki - przy //SprNick pomyliłem się z '' dodam, że dostałem kolejny warning w php_error przy funkcji banhistory, nie znam się na programowaniu, ale tak zmodyfikowałem linijkę w tej funkcji. Pozdrawiam bo świetną robotę robisz ;p w oryginale: $banList = self::$tsAdmin->getElement('data', self::$tsAdmin->banList()); pod edycji: $banList = self::$tsAdmin->getElement('data', self::$tsAdmin->banList()) ?: [];

Majcon94 commented 4 years ago

v