Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
VMAJSTER opened this issue Dec 29, 2019 · 4 comments
Closed

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

VMAJSTER opened this issue Dec 29, 2019 · 4 comments

Comments

@VMAJSTER
Copy link

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
Copy link
Author

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

@Majcon94
Copy link
Owner

Prawdopodobnie coś źle w configu podałeś

@VMAJSTER
Copy link
Author

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
Copy link
Owner

v

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

No branches or pull requests

2 participants