PDA

View Full Version : optimize code for php 7


aminp30
08-15-2018, 06:31 AM
Hi

I have install this mod (https://vborg.vbsupport.ru/showthread.php?t=155909)

but it's not optimized for php 7. does anybody can help me?
I know the issue but I can't solve it. the issue is about using "preg_replace_callback" function.
in second argument we need to use a callable function, not a string that will be evaluated as a function.

this is an similar issue on stackoverflow (https://stackoverflow.com/questions/44980924/warning-preg-replace-callback-requires-argument-2)

the mod has been attached.

Jorandh
08-16-2018, 05:50 PM
Hi mate,

We offer custom vB4/5 work. Please see my account for our modifications. If you want us to have a look and get a fix for you please email us at quack@duckways.com

Best,
Joran - Owner Duckways