Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Feb 2020, 11:53
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
IMG to URL convert

Hello,


I'm using this code in class_bbcode.php line 1866




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


I think something is old in this code,because this is generate error.log like that


PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /includes/class_bbcode.php on line 1866



But this code is working without any problem. Only generate this error.log


My php version is 5.6.x and vB 4.2.x


Regards
__________________

Reply With Quote
  #2  
Old 11 Feb 2020, 12:49
iA1 iA1 is offline
 
Join Date: Jul 2018
It is php error. Just remove e from preg_replace.

Updated code will be like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #3  
Old 11 Feb 2020, 13:41
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
It is not OK This error occured in qoute and not work



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Originally Posted by iA1 View Post
It is php error. Just remove e from preg_replace.

Updated code will be like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
__________________

Reply With Quote
  #4  
Old 11 Feb 2020, 14:45
shka shka is offline
 
Join Date: Mar 2016
I think


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 11 Feb 2020, 19:16
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Thanks so much This code is perfectly working and didn't create any error.log


Many thanks again






Originally Posted by shka View Post
I think


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
__________________

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert [IMG] to [URL] in quoted text Hellcat vBulletin 3.5 Add-ons 83 15 Mar 2011 02:08



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:34.

Layout Options | Width: Wide Color: