Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Leafs" Joomla template

Topic-icon error message, but it doesn't seem to affect much:

More
5 years 9 months ago - 5 years 9 months ago #9088 by curtisbollington
curtisbollington created the topic: error message, but it doesn't seem to affect much:
I'm getting the following error message displayed at the top of the site I've just started working on ( www.platosys.co.uk/platopress/ ):

Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /websites/123reg/LinuxPackage21/pl/at/os/platosys.co.uk/public_html/platopress/templates/hot_leafs/js/browser.php on line 56

I can still work on the site, and so far it doesn't seem to have affected anything, but it's constantly displayed. Any ideas what it might mean and how I can get rid of it?

Thanks,
Curtis
Last Edit: 5 years 9 months ago by curtisbollington. Reason: added link to problem site and additional info

Please Log in to join the conversation.

More
5 years 9 months ago #9102 by ivan.milic
ivan.milic replied the topic: Re: error message, but it doesn't seem to affect much:
H,
open templates/hot_leafs/js/browser.php

on line 55, you will see this:
')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';

change it like this:

'\\)[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';

Please Log in to join the conversation.

More
5 years 8 months ago #10392 by curtisbollington
curtisbollington replied the topic: Re: error message, but it doesn't seem to affect much:
I've tried that, but it throws up another warning message:
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /websites/123reg/LinuxPackage21/pl/at/os/platosys.co.uk/public_html/platopress/templates/hot_leafs/js/browser.php on line 56

Should the solution you provided for line 55 start with \\ or //
Thanks,
Curtis

Please Log in to join the conversation.

More
5 years 7 months ago #10405 by ivan.milic
ivan.milic replied the topic: Re: error message, but it doesn't seem to affect much:
no, try one \ :
'\)[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';

Please Log in to join the conversation.

Time to create page: 0.120 seconds

Links, Partners and Social Media