Title: Undefined Variable Error
Last modified: August 2, 2025

---

# Undefined Variable Error

 *  [twocrumbsup](https://wordpress.org/support/users/twocrumbsup/)
 * (@twocrumbsup)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/undefined-variable-error-23/)
 * Whenever I try to publish or update a post on my site, I get the following errors
   repeated.
 * **Warning**: Undefined variable $fallabacke in **/home1/twocrumb/public_html/
   wp-content/plugins/whp-hide-posts/inc/admin/class-post-hide-metabox.php** on 
   line **353**
   **Warning**: Cannot modify header information – headers already 
   sent by (output started at /home1/twocrumb/public_html/wp-content/plugins/whp-
   hide-posts/inc/admin/class-post-hide-metabox.php:353) in **/home1/twocrumb/public_html/
   wp-admin/post.php** on line **231**
 * My site is now behaving very oddly, and certain text is missing from my posts.
   Hoping for some help!

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

 *  [tuxmerlin](https://wordpress.org/support/users/tuxmerlin/)
 * (@tuxmerlin)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/undefined-variable-error-23/#post-18646945)
 * Hi,
 * The plugin has an innocent error…
 * Access via FTP or the Cpanel PHP editor and correct this line:
   (file: public_html/
   wp-content/plugins/whp-hide-posts/inc/admin/class-post-hide-metabox.php)
 * “_$exist = whp\_plugin()->get\_whp\_meta( $post\_id, $key, $fallabacke);_“
 * Replace that line with this:
 * _“$exist = whp\_plugin()->get\_whp\_meta( $post\_id, $key, $fallaback );”_
 * The problem is the extra “e” in the $fallaback variable.
    -  This reply was modified 8 months, 1 week ago by [tuxmerlin](https://wordpress.org/support/users/tuxmerlin/).
 *  [xate](https://wordpress.org/support/users/xate/)
 * (@xate)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/undefined-variable-error-23/#post-18663966)
 * This will still not work because `$fallaback` (btw why fallAback and not fallback?)
   is not defined in the `save_meta_data` function and will still throw a PHP error.
    -  This reply was modified 7 months, 3 weeks ago by [xate](https://wordpress.org/support/users/xate/).
 *  [tuxmerlin](https://wordpress.org/support/users/tuxmerlin/)
 * (@tuxmerlin)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/undefined-variable-error-23/#post-18682798)
 * Sorry, is $fallback…

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

The topic ‘Undefined Variable Error’ is closed to new replies.

 * ![](https://ps.w.org/whp-hide-posts/assets/icon-256x256.png?rev=2674332)
 * [Hide Posts](https://wordpress.org/plugins/whp-hide-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/whp-hide-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/whp-hide-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/whp-hide-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/whp-hide-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/whp-hide-posts/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [tuxmerlin](https://wordpress.org/support/users/tuxmerlin/)
 * Last activity: [7 months, 1 week ago](https://wordpress.org/support/topic/undefined-variable-error-23/#post-18682798)
 * Status: not resolved