CristianDragan Posted October 17, 2016 Share Posted October 17, 2016 I'm not hoping to much that I can solve this thing, but maybe someone here who knows php well can help me.Screenshot: http://extrazoom.com/image-70122.html?heuln50x50File: https://mega.nz/#!uYgWmRTL!5ZyabPKnYWjeG2sL_PXyfFaAKaJiv4zceQGrky7fmPk And yes, I replaced "preg_replace" with "preg_replace_callback" and I ended up here:Screenshot:: http://extrazoom.com/image-70124.html?heuln50x50 Thank you and sorry for my bad english, if it's bad . Quote Link to comment https://forums.phpfreaks.com/topic/302351-fatal-error-php-warning-in-file-tmpec544dc7_templatepluginprefilterlangclassphp-30-preg_replace_callback/ Share on other sites More sharing options...
Jacques1 Posted October 17, 2016 Share Posted October 17, 2016 Read the documentation of preg_replace_callback() in the PHP manual. It explains exactly how the function works and shows several examples. What you need is a callback function which receives the matches array as an argument and returns the replacement string: function ($matches) { return ...; // the replacement for the matching substring } Quote Link to comment https://forums.phpfreaks.com/topic/302351-fatal-error-php-warning-in-file-tmpec544dc7_templatepluginprefilterlangclassphp-30-preg_replace_callback/#findComment-1538369 Share on other sites More sharing options...
CristianDragan Posted October 17, 2016 Author Share Posted October 17, 2016 Thanks, but... Please, you would do that for me? I don't have a clue about how to do that. I just wanted to install o forum (Woltlab) by watching a tutorial and at some point I ended up with that. I know that I'm asking a little bit to much, but if you want to help me, I'd be grateful. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/302351-fatal-error-php-warning-in-file-tmpec544dc7_templatepluginprefilterlangclassphp-30-preg_replace_callback/#findComment-1538371 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.