bbcode.php on line 121 - preg_replace()

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
WiltonBarros
Registered User
Posts: 17
Joined: Wed Feb 01, 2017 4:06 pm

bbcode.php on line 121 - preg_replace()

Post by WiltonBarros »

Hello guys,

I have one problem with my PHPBB3, in somes topics this errors appears:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 121: preg_replace() [function.preg-replace0]: Compilation failed: unrecognized character after (?< at offset 60
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 121: preg_replace() [function.preg-replace0]: Compilation failed: unrecognized character after (?< at offset 60
I tried search more about this, but my search don't return any result. I tried use PHPBB3 2.2.0 and PHPBB3 2.2.2, but both versions stills show the errors.

My php version is 5.6.22-1, I have another forum in same hosting but he not show this error.

Someone knows anything about this error?

Sorry my bad english, I don't native speaker.

User avatar
3Di
Former Team Member
Posts: 15432
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: bbcode.php on line 121 - preg_replace()

Post by 3Di »

Check if in those topics there are YouTube video bbcodes and disable them in case, to see.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
JoshyPHP
Code Contributor
Posts: 1114
Joined: Mon Jul 11, 2011 12:28 am

Re: bbcode.php on line 121 - preg_replace()

Post by JoshyPHP »

The post is still in the 3.1 format, the error will disappear after it gets reparsed.
I wrote the thing that does BBCodes in 3.2+.

WiltonBarros
Registered User
Posts: 17
Joined: Wed Feb 01, 2017 4:06 pm

Re: bbcode.php on line 121 - preg_replace()

Post by WiltonBarros »

JoshyPHP wrote:
Fri Jun 08, 2018 4:20 am
The post is still in the 3.1 format, the error will disappear after it gets reparsed.
How I repare this?

User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 3622
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: bbcode.php on line 121 - preg_replace()

Post by thecoalman »

WiltonBarros wrote:
Fri Jun 08, 2018 5:24 am
JoshyPHP wrote:
Fri Jun 08, 2018 4:20 am
The post is still in the 3.1 format, the error will disappear after it gets reparsed.
How I repare this?
It will eventually be done through cron.php, if you want to speed it up you can use the CLI utility.

https://area51.phpbb.com/docs/dev/3.2.x ... arted.html
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

WiltonBarros
Registered User
Posts: 17
Joined: Wed Feb 01, 2017 4:06 pm

Re: bbcode.php on line 121 - preg_replace()

Post by WiltonBarros »

thecoalman wrote:
Fri Jun 08, 2018 3:42 pm
WiltonBarros wrote:
Fri Jun 08, 2018 5:24 am
JoshyPHP wrote:
Fri Jun 08, 2018 4:20 am
The post is still in the 3.1 format, the error will disappear after it gets reparsed.
How I repare this?
It will eventually be done through cron.php, if you want to speed it up you can use the CLI utility.

https://area51.phpbb.com/docs/dev/3.2.x ... arted.html
In cron.php, what I need to do?

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: bbcode.php on line 121 - preg_replace()

Post by AbaddonOrmuz »

WiltonBarros wrote:
Sat Jun 09, 2018 3:01 am
In cron.php, what I need to do?
Nothing, the user activity (viewing or posting in forums/topics) triggers the phpBB's cron (that file).
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

Post Reply

Return to “[3.2.x] Support Forum”