• Resolved nanyewebdev

    (@nanyewebdev)


    Hi Ryan Petersen,

    I have seen other treads taking about the issue of loading the banner twice.

    I am having the same issue on our website, too. I am sure it’s the cache problem probably, because I didn’t try this plugin on another webserver without problem.

    I tried clearing the site cache, diabling the WP fast cache plugin, installing different versions of simple banner. No luck…..

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author rpetersen29

    (@rpetersen29)

    Hi @nanyewebdev,
    You have a plugin which is attempting to optimize javascript somewhat unsuccessfully, wpfc-minified. You can see in your console that it’s happening to a few other elements on your page:

    [DOM] Found 2 elements with non-unique id #s: (More info: https://goo.gl/9p2vKq) <input type=​"text" class=​"form-control" name=​"s" id=​"s" placeholder=​"Search...">​ <input type=​"text" class=​"form-control" name=​"s" id=​"s" placeholder=​"Search...">​
    
    (index):1 [DOM] Found 2 elements with non-unique id #searchform: (More info: https://goo.gl/9p2vKq) <form class=​"form-row align-items-center" method=​"get" id=​"searchform" action=​"https:​/​/​www.westerntech.edu/​">​…​</form>​ <form class=​"form-row align-items-center" method=​"get" id=​"searchform" action=​"https:​/​/​www.westerntech.edu/​">​…​</form>​
    
    (index):1 [DOM] Found 2 elements with non-unique id #searchsubmit: (More info: https://goo.gl/9p2vKq) <input type=​"submit" class=​"btn btn-primary" name=​"submit" id=​"searchsubmit" value=​"Search">​ <input type=​"submit" class=​"btn btn-primary" name=​"submit" id=​"searchsubmit" value=​"Search">​
    

    I would remove simple banner from that optimization plugin and everything should work properly.

    Thread Starter nanyewebdev

    (@nanyewebdev)

    Thank you so much for the quick reply! That makes total sense. I have disabled that WPFC but it didn’t help. I checked its setting page, but don’t see where to remove simple banner from this plugin.

    On the setting page: the mifify js option is checked off by default. THere is a option: Combine Js. Should I check off that one.

    Thanks for your help!

    Plugin Author rpetersen29

    (@rpetersen29)

    Yes try unselecting combine js, and then also make sure your browser cache is also cleared, as well as the WPFC cache.

    Thread Starter nanyewebdev

    (@nanyewebdev)

    I did just try unselecting combine js and cleared my browser cache. Still showing 2 banners….. Really frustrating….

    Plugin Author rpetersen29

    (@rpetersen29)

    Okay so your website is loading every script, not just simple banner, twice. I would check every plugin you have and see if there’s anything relatived to head scripts and see if you can disable that feature. Could be the Yoast SEO plugin but i can’t be sure because those scripts are also duplicated.

    Thread Starter nanyewebdev

    (@nanyewebdev)

    Thanks for the recommendation. It was sorely caused by Yoast SEO plugin. After I deactivated SEO, now it’s showing the banner properly….

    Plugin Author rpetersen29

    (@rpetersen29)

    Glad you were able to find the culprit. I unfortunately don’t have much experience with Yoast, but I would recommend posting in their support forums and telling them that the plugin caused every script and link in your <head> element to appear twice.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Load banner twick’ is closed to new replies.