Title: error message after update
Last modified: August 30, 2016

---

# error message after update

 *  Resolved [MarcusFuto](https://wordpress.org/support/users/marcusfuto/)
 * (@marcusfuto)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-message-after-update-4/)
 * Hello,
 * I got an error message after updating to the latest version of ninja form:
 * Notice: Undefined variable: view_post_link_html in /hermes/bosoraweb069/b287/
   dom.dbdreamscom/public_html/wp-content/plugins/ninja-forms/classes/subs-cpt.php
   on line 646 Notice: Undefined variable: view_post_link_html in /hermes/bosoraweb069/
   b287/dom.dbdreamscom/public_html/wp-content/plugins/ninja-forms/classes/subs-
   cpt.php on line 652
 * How can I fix this?
 * Thank you!
 * [https://wordpress.org/plugins/ninja-forms/](https://wordpress.org/plugins/ninja-forms/)

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

 *  [tschortsch](https://wordpress.org/support/users/tschortsch/)
 * (@tschortsch)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-message-after-update-4/#post-6830317)
 * Same for me. Notice shows up since update of Ninja Forms to version 2.9.29. It
   looks like somebody is already working on that [https://github.com/wpninjas/ninja-forms/pull/957](https://github.com/wpninjas/ninja-forms/pull/957).
 *  Thread Starter [MarcusFuto](https://wordpress.org/support/users/marcusfuto/)
 * (@marcusfuto)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-message-after-update-4/#post-6830322)
 * Alright,
 * thanks!
 *  [Andi Lee Davis](https://wordpress.org/support/users/andi-lee-davis/)
 * (@andi-lee-davis)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-message-after-update-4/#post-6830347)
 * In the file: /wp-content/plugins/ninja-forms/classes/subs-cpt.php
 * Add the undefined variable **$view_post_link_html** to the global variable scope
   on line 638, so that it looks like this.
 *     ```
       global $post, $post_ID, $view_post_link_html;
       ```
   
 * This is the fix, that variable outputs something like this
 *     ```
       var_dump($view_post_link_html);
   
       string(92) "
       <a href="http://mydomain.com/?post_type=product&p=67">View post</a> "
       ```
   
 * Save the file and re-upload.
 * Thanks
 * Andi

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

The topic ‘error message after update’ is closed to new replies.

 * ![](https://ps.w.org/ninja-forms/assets/icon-256x256.png?rev=1649747)
 * [Ninja Forms - The Contact Form Builder That Grows With You](https://wordpress.org/plugins/ninja-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-forms/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Andi Lee Davis](https://wordpress.org/support/users/andi-lee-davis/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/error-message-after-update-4/#post-6830347)
 * Status: resolved