Title: Receiving Declaration Warning
Last modified: November 20, 2019

---

# Receiving Declaration Warning

 *  [xemption](https://wordpress.org/support/users/xemption/)
 * (@xemption)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/receiving-declaration-warning/)
 * Hi there.
 * I’ve been receiving these errors on the top of my website. I’m not sure how these
   were triggered. As far as I know I haven’t made any changes.
 * Is there any way to get these to go away?
 * Also on a side note. I’m not able to make any changes through HTML or Optimize
   Press Live Editor. Just thought I’d try my luck if anyone know the answer to 
   that as well here.
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freceiving-declaration-warning%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [cristianbarbu](https://wordpress.org/support/users/cristianbarbu/)
 * (@cristianbarbu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/receiving-declaration-warning/#post-12153680)
 * Hello,
 * Are you using the latest version of your theme?
 * Please, go to WP Admin -> Updates -> Dashboard -> Check Again and see if you 
   have the latest versions installed.
 *  Thread Starter [xemption](https://wordpress.org/support/users/xemption/)
 * (@xemption)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/receiving-declaration-warning/#post-12157676)
 * Just updated it and still receiving the error message:
    Warning: Declaration 
   of Mesmerize_Logo_Nav_Menu::walk($elements, $max_depth) should be compatible 
   with Walker::walk($elements, $max_depth, …$args) in /home/helloth2/public_html/
   wp-content/themes/highlight-pro/inc/Mesmerize_Logo_Nav_Menu.php on line 0
 *  [cristianbarbu](https://wordpress.org/support/users/cristianbarbu/)
 * (@cristianbarbu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/receiving-declaration-warning/#post-12158292)
 * Hello,
 * Warnings and notices are not affecting the behavior of the site and they should
   not be displayed in the browser on live servers.
 * Please add the following line to your wp-config.php file so the warnings are 
   not displayed on the site.
 * ini_set(“display_errors”, 0);
 * [https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress)

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

The topic ‘Receiving Declaration Warning’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/highlight/1.0.66/screenshot.jpg)
 * Highlight
 * [Support Threads](https://wordpress.org/support/theme/highlight/)
 * [Active Topics](https://wordpress.org/support/theme/highlight/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/highlight/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/highlight/reviews/)

## Tags

 * [logo](https://wordpress.org/support/topic-tag/logo/)
 * [message](https://wordpress.org/support/topic-tag/message/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 3 replies
 * 2 participants
 * Last reply from: [cristianbarbu](https://wordpress.org/support/users/cristianbarbu/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/receiving-declaration-warning/#post-12158292)
 * Status: not resolved