Title: Undefined variable
Last modified: May 31, 2023

---

# Undefined variable

 *  [actiondrives](https://wordpress.org/support/users/actiondrives/)
 * (@actiondrives)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/)
 * I have made no changes to this website. All of a sudden, I see this.
 * Please help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-92%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/#post-16784247)
 * -The error messages on your site seem to be related to a plugin. Is this plugin
   installed and activated? [https://wordpress.org/plugins/background-per-page/](https://wordpress.org/plugins/background-per-page/)
   If yes, I see this message on the plugin’s page: “This plugin **hasn’t been tested
   with the latest 3 major releases of WordPress**. It may no longer be maintained
   or supported and may have compatibility issues when used with more recent versions
   of WordPress.”
 * -The error messages are likely displayed if you have **define( ‘WP_DEBUG’, true);**
   in your site’s wp-config.php file – use this guide – [https://developer.wordpress.org/apis/wp-config-php/#wp-debug](https://developer.wordpress.org/apis/wp-config-php/#wp-debug)
 * -the wp-config.php file is normally accessible in your web hosting (bluehost?)
   account’s file manager area.
    -  This reply was modified 3 years ago by [lisa](https://wordpress.org/support/users/contentiskey/).
    -  This reply was modified 3 years ago by [lisa](https://wordpress.org/support/users/contentiskey/).
 *  Thread Starter [actiondrives](https://wordpress.org/support/users/actiondrives/)
 * (@actiondrives)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/#post-16784315)
 * My php file already had this;
 * define(‘WP_DEBUG’, false);
 * So I changed that to
 * `ini_set``(``'display_errors'``,``'Off'``);`
 * `ini_set``(``'error_reporting'``, E_ALL );`
 * `define(``'WP_DEBUG'``, false);`
 * `define('WP_DEBUG_DISPLAY', false);`
 * Like it said, and that did nothing.
 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/#post-16784606)
 * Try this: install health check plugin which can be used in troubleshooting mode
   to deactivate all plugins and theme – might help narrow down the source of the
   issue [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
 * (are you actively using “Background per Page” plugin? the plugin may not be supported
   and has not been updated recently. might need to be removed/replaced.)
 *  Thread Starter [actiondrives](https://wordpress.org/support/users/actiondrives/)
 * (@actiondrives)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/#post-16784609)
 * It probably is that background plug-in but I am afraid that I will lose my background
   image, or it won’t show properly if i deactivate the plug-in. I’ll try it tomorrow
 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/#post-16786315)
 * Before making any changes that will likely impact display of your site, be sure
   you have a complete backup of files and database Guide: [https://wordpress.org/documentation/article/wordpress-backups/](https://wordpress.org/documentation/article/wordpress-backups/)

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

The topic ‘Undefined variable’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [lisa](https://wordpress.org/support/users/contentiskey/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/undefined-variable-92/#post-16786315)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
