Title: PHP Notice
Last modified: August 20, 2016

---

# PHP Notice

 *  [sparkweb](https://wordpress.org/support/users/sparkweb/)
 * (@sparkweb)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/php-notice-1/)
 * Getting this: Notice: Undefined variable: output in /var/www/wp-content/plugins/
   custom-field-template/custom-field-template.php on line 481 on my custom post
   type.
 * I fixed it by adding `$output = "";` at line 431 so $output would always be initialized.
   Could this be added to the next version of the plugin?

The topic ‘PHP Notice’ is closed to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sparkweb](https://wordpress.org/support/users/sparkweb/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/php-notice-1/)
 * Status: not resolved