View Full Version : PHP Warning: preg_replace_callback(): Requires argument 2, 'vbet_createURLForAddressNoReplaceHref', includes/vbenterprisetranslator_functions.php on line 222
PHP Warning: preg_replace_callback(): Requires argument 2, 'vbet_createURLForAddressNoReplaceHref', to be a valid callback in ..../includes/vbenterprisetranslator_functions.php on line 222
second error:
when you translate to any language the users online vanish:
https://gyazo.com/fc645acdda225e65bc648469b29b1f96
I think that are the only two bugs that remain to be fixed for a working product on a live user board.
i'm using your new release.
Thanks, we forgot to add one thing. This will be corrected in nect release.
For quick fix please:
Open file includes\vventerprisetranslator_functions.php
Find:
function vbet_createURLForAddressNoReplace($language, $address) {
Paste BEFORE it:
function vbet_createURLForAddressNoReplaceHref($what) {
return 'href="'.vbet_createURLForAddressNoReplace($_REQUEST['language'], $what[1]).'"';
}
Please let us know does it fix your issue.
No answer - we assume, that the issue is gone.
Hey sorry, I was on a trip for 10 days.
I've applied your edit and it didn't change anything.
still have same error: PHP Warning: preg_replace_callback(): Requires argument 2, 'vbet_createURLForAddressNoReplaceHref', to be a valid callback in ..../includes/vbenterprisetranslator_functions.php on line 222
also username online is still hidden when translate.
We are moving our server right now, so first we must finish it, then we will handle the issue. We will contact you soon.
Meantime you can try to install newest release - there is the very same change, but maybe you set something wrong.
To make it easier for you we will solve the issue on your side. Please PM me access details to your FTP and Admin CP (for security reasons we recommend to send us temporary passwords or accounts).
To make it easier for you we will solve the issue on your side. Please PM me access details to your FTP and Admin CP (for security reasons we recommend to send us temporary passwords or accounts).
I've done that now sir! Thank you!
It are two bugs.
As I see you didn't fallow exactly our quick fix instructions and paste the code nit BEFORE but AFTER code in point 3. That is why it didn't work for you. I fixed it for you, by sending by FTP file from last release. Not it is working as I see.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.