• Resolved billyengler

    (@billyengler)


    Hey,

    Love the plugin, even paid for the pro! I’m getting this error suddenly, though.

    Uncaught ReferenceError: advads_toggle is not defined
    at HTMLButtonElement.onclick (admin.php?page=advanced-ads-placements:1667)
    onclick @ admin.php?page=advanced-ads-placements:1667

    Any idea what’s up?

    Also is it OK to contact you here if upgraded or should I send an email/support ticket?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi billyengler,

    thanks for reaching out.

    For the basic version of Advanced Ads you can either contact us here or through email support. You can reach me on both channels. Support for premium products is only done through email support.

    The error you are describing might be caused by an ad blocker or a script error from another plugin or theme. Can you click on the error message in the browser console and send me the code of the line where this happens in?

    Thanks,
    Thomas

    Thread Starter billyengler

    (@billyengler)

    Sure thing. That line shows:

    jQuery('.advads-bg-color-field').wpColorPicker();

    I should also note that it’s doing the same thing on three different sites, on three different themes, but all using the same plugins. The last time I made changes to my placements (I don’t recall when, a couple of months ago at least) it worked fine. Besides running core and plugin updates, nothing has changed on my sites for nearly a year.

    There’s also an error, that I believe is related, showing this line:

    <input type="hidden" id="advads_placement" name="advads_placement" value="4207e5d36a" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/admin.php?page=advanced-ads-placements" /><button type="button" title="Create a new placement" class="button-secondary" onclick="advads_toggle('.advads-placements-new-form')">

    • This reply was modified 6 years, 3 months ago by billyengler.
    • This reply was modified 6 years, 3 months ago by billyengler.
    Thread Starter billyengler

    (@billyengler)

    OK nvm I’ve figured it out. It’s not anything anyone would have to worry about. I thought nothing had changed but saw a snippet in functions that a partner added but didn’t tell me about. It’s causing the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught ReferenceError: advads_toggle is not defined’ is closed to new replies.