• Resolved supportdamienvg99

    (@supportdamienvg99)


    Hey!

    I have made a snippet and made it so it covers all pages on the stated website. Now the problem is; I forgot a semicolon in my PHP code (of course, a beginner error). After reinstalling Woody Ad Snippets, I still encounter the problem, as snippets get cached (or keep their place in the database(?)). How to start over with Woody Ad Snippets completely?

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.
    The solution to the problem is in the plugin FAQ in the repository.

    The snippet code executed with an error and I cannot change it, what should I do?
    Do not despair! Even an experienced person can make mistakes. We created a secure mode for this case. Go into it and your snippets code will not be executed.

    Go to the safe mode by this link: https://your-site-name.dev/wp-admin/?wbcr-php-snippets-safe-mode
    Edit the snippet in which you made a mistake;
    Leave safe mode by clicking the link: https://your-site-name.dev/wp-admin/?wbcr-php-snippets-disable-safe-mode
    Great, now you should not have any issues!

    I got the same problem.
    I’ve just removed the plugin but the snippet remains in the header.
    I wanna remove that snippet and use some new.
    Please help.
    Where do these snippets get stored and how to remove them manually?

    • This reply was modified 4 years, 8 months ago by Ahmad.
    Plugin Support Temyk

    (@webtemyk)

    Hello.
    The solution to the problem is in the plugin FAQ in the repository.

    The snippet code executed with an error and I cannot change it, what should I do?
    Do not despair! Even an experienced person can make mistakes. We created a secure mode for this case. Go into it and your snippets code will not be executed.

    Go to the safe mode by this link: https://your-site-name.dev/wp-admin/?wbcr-php-snippets-safe-mode
    Edit the snippet in which you made a mistake;
    Leave safe mode by clicking the link: https://your-site-name.dev/wp-admin/?wbcr-php-snippets-disable-safe-mode
    Great, now you should not have any issues!

    I’ve enabled the safe mode and still I can’t find any solution to remove the code from my header.
    I’ve already removed the HTML snippet from the plugin.

    Plugin Support Temyk

    (@webtemyk)

    After deleting the snippet or plugin, nothing is output. This means the element that you want to change from another plugin. Can you send me a screenshot of this item or a link to your site where I can view it?

    I’ve not used any other plugin to put these HTML in my header.
    check my site easternherald.com and check the source code.
    Following is the code I’ve put using woody.

    <link rel=’preload’ href=’//fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2′ as=’font’ type=’font/woff2′ crossorigin><link rel=’preload’ href=’//www.easternherald.com/wp-content/cache/omgf-webfonts/montserrat-700-normal-nD_g.woff2′ as=’font’ type=’font/woff2′ crossorigin><link rel=’preload’ href=’//fonts.gstatic.com/s/montserrat/v14/JTUPjIg1_i6t8kCHKm459WxZcgvz_PZw.woff2′ as=’font’ type=’font/woff2′ crossorigin><link rel=’preload’ href=’//www.easternherald.com/wp-content/cache/omgf-webfonts/montserrat-700-italic-_PZw.woff2′ as=’font’ type=’font/woff2′ crossorigin>

    I just wanna remove it.

    Plugin Support Temyk

    (@webtemyk)

    You are using the caching plugin wp-rocket. Clear cache

    Should I remove woody first and then clear cache?

    Plugin Support Temyk

    (@webtemyk)

    Just clear the cache in any order. The snippet must be disabled

    I’ve done it. But the snippet remains in the header.

    Plugin Support Temyk

    (@webtemyk)

    Have you cleared the cache in WP Rocket? So this code is being output somewhere else and the problem isn’t with Woody. Snippets are stored in the wp_posts table

    But this code is called everywhere even on the home page and category pages too. And I’ve checked wp_post table too and didn’t find the code there at all.

    Plugin Support Temyk

    (@webtemyk)

    That’s what I wrote to you about. If the woody plugin is removed, snippets are not output. This is only possible if caching is enabled. Try resetting the WP Rocket cache again.
    If it doesn’t work, this code is output by another plugin or embedded in your theme. Try changing the theme or deactivating all plugins one at a time to find the reason.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fix broken snippet – Remove all files from plugin’ is closed to new replies.