- You are here:
- Main › Forum › Application Support
Follower Mod with php7
2 posts
• Page 1 of 1
-
- labu
- Posts: 7
- Joined: Thu Nov 27, 2014 9:03 pm
Tue Jan 03, 2017 9:44 am • via Web
Hello,
to make my forum ready for php7 I have an issue with the follower mod.
[phpBB Debug] PHP Warning: in file [ROOT]/follower/includes/follower.php on line 313: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
is there a way to make this:
without the "e" modifier?
Thanks a lot
to make my forum ready for php7 I have an issue with the follower mod.
[phpBB Debug] PHP Warning: in file [ROOT]/follower/includes/follower.php on line 313: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
is there a way to make this:
// Display Mentions
$text = preg_replace('#<!\-\-([0-9]+):(@[^<>\s]+)\-\->#e', "get_followname_string('full', '\\2', \\1)", $text);
// Display HashTags
$text = preg_replace('/<!\-\-#([^<>\s]+)\-\->/e', "get_hashtag_string('\\1')", $text);
without the "e" modifier?
Thanks a lot
- IvanPF
- Administrator
- Posts: 2010
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Thu Jan 05, 2017 8:20 pm • via Web
Hi,
phpBB 3.0 is not compatible with php7 so, You will find many problems, in addition to those of this mod.
To fix the problems with the mod, upload the 3 files included in the attachment of this post to the folder /follower/includes/ in your server, overwriting the ones you have.
phpBB 3.0 is not compatible with php7 so, You will find many problems, in addition to those of this mod.
To fix the problems with the mod, upload the 3 files included in the attachment of this post to the folder /follower/includes/ in your server, overwriting the ones you have.
- Attachments
-
- php7_fix.zip
- (10.56 KB) Downloaded 234 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev