Title: Bug | Wrong Line No. | Code Snippet Error Message
Last modified: March 29, 2024

---

# Bug | Wrong Line No. | Code Snippet Error Message

 *  [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-wrong-line-no-code-snippet-validation-message/)
 * Good Day,
 * Upon testing your plugin, we noticed the line number referenced in your plugin’s
   error message field does not match the actual line number affected.
 * **Details: **[https://prnt.sc/ToWvsiE3I8IV](https://prnt.sc/ToWvsiE3I8IV)
 * When using lengthy and/or complex code snippets, the above can make it difficult
   to identify the affected code snippet line(s).
 * Can you kindly look into this and provide a fix?
 * Thank you!

Viewing 1 replies (of 1 total)

 *  Thread Starter [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-wrong-line-no-code-snippet-validation-message/#post-17540285)
 * **Clarification:**
 * The above may not happen with all code snippets, but it does happen. The error
   messages do not appear to be consistent.
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Bug | Wrong Line No. | Code Snippet Error Message’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [generosus](https://wordpress.org/support/users/generosus/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/bug-wrong-line-no-code-snippet-validation-message/#post-17540285)
 * Status: not a support question