Title: HTML Error
Last modified: June 10, 2025

---

# HTML Error

 *  Resolved [Fari](https://wordpress.org/support/users/farisdevomer/)
 * (@farisdevomer)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/html-error-20/)
 * Hello there,
 * I recently installed this plugin on my site (and love it). We noticed recently
   that one user specifically kept running into an issue when editting the inline
   of an image missing Alt Text. The error that would pop up is: **{“html”:”Error:
   session expired. Refresh this page and try again.”** We had the user sign in 
   and out, delete cookies, attempt a different browser and yet is was the same 
   error popping up! Thankfully we have others on the team who can tackle it, but
   this user is set as an Administrator too- if that helps any. Please let me know
   if there’s something I should be looking for that I am not seeing!
 * Thanks so much for everything you do! This tool is amazing!
 * Best,
 * Faris
    -  This topic was modified 11 months, 3 weeks ago by [Fari](https://wordpress.org/support/users/farisdevomer/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Steven Ayers](https://wordpress.org/support/users/stevenayers63/)
 * (@stevenayers63)
 * [8 months, 4 weeks ago](https://wordpress.org/support/topic/html-error-20/#post-18622917)
 * [@farisdevomer](https://wordpress.org/support/users/farisdevomer/),
 * I apologize, as I never saw the email notification about this support request.
   Thank you for using FixAltText by the way. If it is still relevant, here is my
   response:
 * It is odd that the user is experiencing a session expired error. This error means
   that it failed the nonce check for doing an inline edit. Here’s the scenarios
   where this would fail:
    - (not likely) – Browser has cached the Fix Alt Text admin page, thus an old
      nonce is in the HTML of the page. I don’t think this is the case as the browser
      should not be caching the admin pages.
    - (not likely) -The Fix Alt Text admin page has been open for a while (more 
      than 12 hrs) and the once has expired, so when the nonce in the HTML is used
      to perform an AJAX request the nonce is invalid. I don’t think this is the
      case as you said you have the user logout and log back in and still was having
      the issue.
    - (not likely) – You are performing an AJAX request from a page that shouldn’t
      be. This is what an attacker would do…so this is not in the scope of this 
      scenario.
    - (Maybe) – I’ll have to look and see if I am doing some AJAX requests on the
      main menu items (not sure if I am or not on this plugin). This could be interfering
      with the nonce validation.
    - (Possible) – The only other thing I can think of is some sort of odd page 
      caching or object caching on the server. Have you tried clearing your website
      cache? If this fixes it, then you need to exclude the /wp-admin/* from being
      cached by your caching plugin or hosting.
    - (Likely) – It sounds like other users could inline edit successfully, correct?
      If so, then the issue is either specifically related to that user (doubtful),
      or something the user is doing is exposing the issue in the system (likely).
 * **Replicating the issue on my end:**
 * Just for clarity, can you provide me the relative link where the problem occurs?
   The link should start with /wp-admin/… I don’t need the full URL just this portion
   of it. I want to attempt to replicate the issue on my end. Maybe also provide
   some step-by-step instructions on what actions you are taking to get to the page
   to replicate the issue. I know where the issue occurs but the steps in how you
   get there may provide a clue as to what is causing the issue.
 * -Steven
 *  Thread Starter [Fari](https://wordpress.org/support/users/farisdevomer/)
 * (@farisdevomer)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/html-error-20/#post-18626236)
 * Hi Steven,
 * Thanks for getting back to me, I completely understand the delay! It’s happened
   to me too many times to count, haha! I love the product and it has been completely
   wonderful to use.
 * To better help out, the path was as follows:/wp-admin/tools.php?page=fix-alt-
   text&tab=references
 * This issue did happen forever ago, so we did whatever we could to troubleshoot
   it, but now it is no longer an issue, It may have been a longer user session,
   but after advising them to clear cache, cookies, and swap browsers and not seeing
   a fix, I was confident it had to have been the user account or something? They
   went through the same issue connected to home WiFi and work ethernet connection.
 * It was just very unique and weird, but it hasn’t happened again. It happened 
   to me once as well and disappeared when I tried again the next week. I apologize
   if this information isn’t helpful, but if you’d like to close this out, that’s
   understandable!
 *  Plugin Author [Steven Ayers](https://wordpress.org/support/users/stevenayers63/)
 * (@stevenayers63)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/html-error-20/#post-18627009)
 * [@farisdevomer](https://wordpress.org/support/users/farisdevomer/),
 * I am glad this plugin has been useful for you.
 * It’s practically impossible for me to troubleshoot the issue unless I can replicate
   it on my end somehow. It doesn’t make any sense that this issue would be specific
   to a user.
 * At least it is on my radar, in case I discover something while working on it 
   I will at least have some context to go on. If/when you experience the issue 
   again, please create another ticket and with instructions on how to replicate
   it, and I’ll implemet a fix.
 * If you have any other issues, please let me know.
 * -Steven

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML Error’ is closed to new replies.

 * ![](https://ps.w.org/fix-alt-text/assets/icon.svg?rev=2674473)
 * [Fix Alt Text](https://wordpress.org/plugins/fix-alt-text/)
 * [Support Threads](https://wordpress.org/support/plugin/fix-alt-text/)
 * [Active Topics](https://wordpress.org/support/plugin/fix-alt-text/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fix-alt-text/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fix-alt-text/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Steven Ayers](https://wordpress.org/support/users/stevenayers63/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/html-error-20/#post-18627009)
 * Status: resolved