• 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)
  • 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 5 months, 3 weeks ago by Imagetuxmerlin.

    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 5 months, 1 week ago by Imagexate.

    Sorry, is $fallback…

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

You must be logged in to reply to this topic.