• Resolved Naveen Dsouza

    (@naveendsouza)


    When trying to edit functions.php file, it returns an error “Scrape nonce check failed. Please try again.”, When I deactivated LiteSpeed Cache plugin I am able to edit the file without any problem, re-activating = problem again.
    I am using LiteSpeed Cache version 3.0.9

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    May I know how did you edit it ? via FTP/file manager ? or use WP-admin theme editor?

    And if possible , share what you edit ?

    Best regards,

    Thread Starter Naveen Dsouza

    (@naveendsouza)

    Hi,

    I edited via the WP-admin theme editor.

    I tried to remove the following code from child themes functions.php. As I don’t need that code since your plugin removes emoji.

    remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
    remove_action( 'wp_print_styles', 'print_emoji_styles' );

    I also tried to add and remove other codes from functions.php. Also, I tried with the default theme and with my other blog but got the same error.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I was trying to reproduce the issue.

    Could you please confirm if you have all other plugins disabled , and only enable LSCWP , the issue happens ?

    Best regards,

    Thread Starter Naveen Dsouza

    (@naveendsouza)

    Now I can edit functions.php without disabling LSCWP. I don’t know what went wrong on that day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error when editing functions.php’ is closed to new replies.