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

Problem with ending delimiter? #4

Open
LiamDawe opened this issue Nov 22, 2013 · 2 comments
Open

Problem with ending delimiter? #4

LiamDawe opened this issue Nov 22, 2013 · 2 comments

Comments

@LiamDawe
Copy link

It seems upon testing this out I get this error:

Warning: preg_match_all(): No ending delimiter ')' found in /var/www/includes/bbcode/classes/Node/Container/Document.php on line 1009

@oliverde8
Copy link

Hi, I have been having the same problem. are we doing something wrong or is there really an error?

Find out that the real problem is this : #6

You just need to add 1 smiley and there shouldn't be an error then

@lucidsinc
Copy link

Here is a quick fix until the official developers release a fix. Goto Line 1006 and before the preg_match_all function. add an @ sign. so the complete function should look like

@preg_match_all($pattern,
$child->get_text(),
$matches,
PREG_PATTERN_ORDER | PREG_OFFSET_CAPTURE);

Thank you.

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

3 participants