Site logo

[Resolved] “Scrape nonce check failed. Please try again.”

Home Forums Support [Resolved] “Scrape nonce check failed. Please try again.”

Home Forums Support “Scrape nonce check failed. Please try again.”

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1726649
    perlfan

    Hi there,

    when I try to edit the functions.php of my GP child theme I get an error: “Scrape nonce check failed. Please try again.”. In other posts I’ve seen that caching plugins can be the cause, however I don’t have any and I have the newest GP and WP installed.

    The problem (probably) occurred after migrating the page to another hosting provider. The site runs smoothly except this error.

    Thanks for help, Frank

    #1726795
    Leo
    Staff
    Customer Support

    Hi there,

    I don’t believe this is a GP issue.

    Have you tried disabling all plugins to test?

    Maybe try removing the functions in your child theme one by one and see if any of them is causing the issue?

    #1727072
    perlfan

    Hi Leo,

    I have deactivated all plugins and cleared the cache, but the error remains. I have also tried to save the functions.php leaving only…

    "<?php
    /**
     * GeneratePress child theme functions and definitions.
     *
     * Add your custom PHP in this file.
     * Only edit this file if you have direct access to it on your server (to fix errors if they happen).
     */

    … but the error remains. So it hasn’t to do with the content of the functions.php. Then I tried to save the functions.php from other themes (not activated) and it worked. When I try to save the functions.php from the Generatepress main theme (not child theme), same error … So for me, the error seems to be GP related …

    Thanks for help, Frank

    #1727091
    Elvin
    Staff
    Customer Support

    Hi there,

    Check your syntaxes for any issues.

    I’m not sure if this is an error when you placed the code on your reply but you have a stray " on your code before the <?php.

    There’s probably more throughout the file.

    So it hasn’t to do with the content of the functions.php. Then I tried to save the functions.php from other themes (not activated) and it worked.

    That’s misdiagnosing things.

    functions.php with syntax issues don’t affect the site if it’s not activated. It only affects the site if it’s activated so it’s still potentially an issue.

    That’s why it’s not affecting the site when it’s on a functions.php on a deactivated theme but then breaks the site when you place it on an active child theme’s functions.php. 🙂

    #1727138
    perlfan

    Hi, the quotation mark is not part of the code! 🙂 I also noticed that the error occurs with every activated theme, so it’s not a GP problem. Now I added my new code as a snippet, hopefully the error will disappear with future WP updates…
    Frank

    #1727166
    Elvin
    Staff
    Customer Support

    Have you sorted it out? Let us know if you need further help. 🙂

    #1727174
    perlfan

    No, it’s not solved – that’s why I hope that future WP updates will eliminate the problem. As a turnaround I’ll edit the functions.php via FTP. And I don’t think that the error causes other conflicts on the site. Thanks for helping me, even though the problem is not even caused by your theme. Frank

    #1730284
    Elvin
    Staff
    Customer Support

    No problem. Glad to be of any help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.