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

Plugin does not work anymore #44

Open
Skytillan opened this issue Apr 7, 2023 · 1 comment
Open

Plugin does not work anymore #44

Skytillan opened this issue Apr 7, 2023 · 1 comment

Comments

@Skytillan
Copy link

Hi, it worked all the time without any problems, now nothing happens after I changed the Server - but the URL, etc. did not change. I tried to reinstall it, to deinstall it and enable it from scratch.

I tried these solutions:
1.) change webhook link from discord.com to discordapp.com
2.) changed it to if (preg_match('/^\s*https?://(ptb.)?discord.com/api/webhooks//i', $webhookurl) == 0) {

(of course, I tried both solutions separate)

Any other ideas?

@maciejnierzwicki
Copy link

maciejnierzwicki commented Aug 11, 2023

Hi, you need to enable mb_strlen() function in PHP. This plugin throws errors caused by call to "unexisting" function, this can be seen in apache (or any other web server) error logs.
You can fix this by entering following command in your server terminal:
sudo apt install php-mbstring

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