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

regex incompatibility with PCRE2 on PHP 7.3 #19

Open
GigiSan opened this issue Nov 4, 2019 · 1 comment
Open

regex incompatibility with PCRE2 on PHP 7.3 #19

GigiSan opened this issue Nov 4, 2019 · 1 comment

Comments

@GigiSan
Copy link

GigiSan commented Nov 4, 2019

Hello there,

As described on this support topic , the plugin does not work on PHP 7.3 due to incompatibility with the new regex library PCRE2.

I found a fix that seems to be working, but not being expert on regexes, I do not guarantee it as a permanent solution. Anyway, if that's the solution, feel free to copy and release at your own risk. :)

Regards,
A.G.

@Sorcysama
Copy link

Hi,

For those who still have to make things work with this module, the quick fix provided in the link works :

in wp-content / plugins / bb-messages / Inc / Core / init.php

There are 2 regex paterns that will break with PHP > 7.3 (and PCRE2)

Yo can check / troubleshoot them using regex101.

Replacing \z by * in these paterns will fix the errors.

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