• Resolved bjrnet21

    (@bjrnet21)


    I’ve been using Corner-ad since August of 2016. Worked fine until now. I assume it has something to do with a plugin conflict. But I have attempted to resolve it all day today with no luck. Any suggestions. I use the following plugins: Autoptimize, Jetpack and several others. I have attempted to deactivate, remove and re-install the Corner-ad plugin with no luck. I do get the following errors in Firefox: SyntaxError: invalid property id wp:21:471
    TypeError: jQuery(…).tooltip is not a function wp:21:1
    ReferenceError: Backbone is not defined notes-common-v2.js:32:32
    ReferenceError: _ is not defined

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bjrnet21

    (@bjrnet21)

    Update: This is for the free version only.

    this could be a JS problems due to Autoptimize JS optimization @bjrnet21. you can confirm by going to your site with ?ao_noptimize=1 appended to the URL (which disables AO for that request)? if this fixes the problem you’ll have to go through the troubleshooting steps in AO’s FAQ.

    frank (ao dev)

    Thread Starter bjrnet21

    (@bjrnet21)

    I tried appending ?ao_noptimize=1 to the end of http://www.BlackjackReview.com/wp but Corner-ad still does not show. I also cleared the cache everywhere. Thanks for the ?ao_noptimize=1 tip though.

    My corner ad settings are:
    Ad name: Basic Strategy Chart
    Shortcode: [corner-ad id=4]
    The Ad has been selected: Only available in the commercial version of plugin

    It is a little strange that the comment regarding the commercial version shows above. I only have one left corner ad since this is the free version I am using. My ad images are all valid. Like I said – it used to work before. I verified the shortcode is on the page.

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The issue is simple and it is not caused by our plugin, there is a plugin in your WordPress that convert some texts in the webpage in links to other pages, but this plugin is not able to identify if the text is part of a code in javascript, and injects the tags into the javascript code too, breaking it. Please, look the code below. I’m including two blocks of code, the original one, inserted by Corner Ad, and the code after be modified by the other plugin that causes the error:

    Original code:

    printCornerAd(
    {alignTo:'tl', 
    mirror:true, 
    colorIn:'#FFFFFF', 
    thumbPath:'http://www.blackjackreview.com/wp/wp-content/uploads/2016/07/image100x100-1.jpg',
    imgPath:'http://www.blackjackreview.com/wp/wp-content/uploads/2016/07/image500x500.jpg',
    adUrl:'http://www.blackjackreview.com/wp/encyclopedia/basic-strategy/', 
    openIn:1, 
    closeIn:1, 
    target:'_self'
    }); 
    });

    Broke code:

    printCornerAd(
    {alignTo:'tl', 
    mirror:true, 
    colorIn:'#FFFFFF', 
    thumbPath:'http://www.blackjackreview.com/wp/wp-content/uploads/2016/07/image100x100-1.jpg',
    imgPath:'http://www.blackjackreview.com/wp/wp-content/uploads/2016/07/image500x500.jpg',
    adUrl:'http://www.blackjackreview.com/wp/<a href="http://www.blackjackreview.com/wp/encyclopedia/">encyclopedia</a>/basic-strategy/', 
    openIn:1, 
    closeIn:1, 
    <a href="http://www.blackjackreview.com/wp/encyclopedia/t/#TARGET">target</a>:'_self'
    }); 
    });

    Pay attention, to the properties “target” and “adUrl”, both were modified by the other plugin.

    Best regards.

    Thread Starter bjrnet21

    (@bjrnet21)

    Ahhhhh… Thank you very much. I am using SEO Ultimate’s plugin and in there is a Deeplink Juggernaut module, which allows automatically linking for keywords and phrases. I was attempting to put a link on every instance of the word TARGET.

    I didn’t realize it went this deep into the code. I’ll have to be more careful.

    Thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Corner-ad stopped working’ is closed to new replies.