test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jmheath72 Friend
    #152061

    I got the extension subscription for the google maps plugin, have everything set up correct (as far as I know) but am getting this when I use it on an article.

    Warning: Wrong parameter count for preg_replace() in /home/content/c/o/m/compcafe/html/arlington/plugins/system/plg_jamap.php on line 85

    I have searched, and there was a posting about it, but a moderator or employee just logged into the guys site and fixed it. I am more than happy to have someone do it, but was wondering if anyone knows what this is happening, of if I can do anything to fix it. I would appreciate any help.

    I assume that its just an issue with the template and the plugin do to the solution from the other posting, but if it is not and I can do it I would be forever in someones debt….well maybe not forever but at least a day or two.

    J

    Thanh Nguyen Viet Friend
    #348165

    Hi mate,

    Please open the following file:

    plugins/system/plg_jamap.php
    Go to line 85, replace the below code

    $text = preg_replace ( $this->_plgCodeModifier, $this->_plgCodeMakeHolder, $text, - 1, $count );
    with

    $text = preg_replace ( $this->_plgCodeModifier, $this->_plgCodeMakeHolder, $text );

    Best regards,
    ThanhNV

    jmheath72 Friend
    #348172

    Great, thanks, and I appreciate it. The error is gone, and the map shell is showing, but no map, so I will check and re-config the map plugin then go from there.

    Thanks for you help, I will keep this open for a minute or two until I can figure out what is going on this the configuration plugin and then mark it as solved.

    J

    Saguaros Moderator
    #348447

    Dear jmheath!

    Did you resolve this issue?

    jmheath72 Friend
    #348450

    Sorry, I have been out of the area for a while, son was sick, but yes it did, thank you soooo much. I really appreciate your help, and the forums are fantastic guys keep up the GREAT work.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  jmheath72 14 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum