Title: Error notice:
Last modified: November 20, 2019

---

# Error notice:

 *  Resolved [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-notice-21/)
 * This error notice appears in the WordPress admin area after the WP 5.3 update.
   Deactivating the plugin removes the notice.
 * Notice: add_submenu_page was called incorrectly. The seventh parameter passed
   to add_submenu_page() should be an integer representing menu position. Please
   see Debugging in WordPress for more information. (This message was added in version
   5.3.0.) in /home/hpsadmin1/staging.hpsubfloors.com/wp/wp-includes/functions.php
   on line 4903
 * You’re passing 8 parameters to this function instead of 7 in https-redirection.
   php.

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

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-notice-21/#post-12156888)
 * Hi, I don’t think the error message is related to our plugin. What PHP version
   is running in your server?
 * To find out if your site is healthy, run a health check. Go to **Tools -> Site
   Health** in your admin dashboard.
 * Thank you
    -  This reply was modified 6 years, 6 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  Thread Starter [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-notice-21/#post-12159303)
 * This has nothing to do with PHP version. It is your plugin. add_submenu_page()
   is a WordPress function. You are passing 8 parameters to the function when there
   should only be seven. If you look at line 222 in https-redirection.php, this 
   is the code:
 * add_submenu_page(‘options-general.php’, ‘HTTPS Redirection’, ‘HTTPS Redirection’,‘
   manage_options’, ‘https-redirection’, ‘httpsrdrctn_settings_page’, plugins_url(“
   images/px.png”, __FILE__), 1001);
 * If you remove plugins_url(“images/px.png”, __FILE__), so you have this it works
   correctly:
 * add_submenu_page(‘options-general.php’, ‘HTTPS Redirection’, ‘HTTPS Redirection’,‘
   manage_options’, ‘https-redirection’, ‘httpsrdrctn_settings_page’, 1001);
 * I’m a developer for over 30-years. I’ve shown you the issue and solution. You
   can either accept the fact that your plugin is calling the function incorrectly
   or not. Here’s the WordPress docs, the function only receives 7 parameters, not
   8. [https://developer.wordpress.org/reference/functions/add_submenu_page/](https://developer.wordpress.org/reference/functions/add_submenu_page/)
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-notice-21/#post-12159644)
 * Thank you for the detail information regarding our code. I have submitted a message
   to the developers to investigate further your findings.
 * Once again thank you so much for sharing your findings with us.
 * Kind regards
 *  Plugin Author [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-notice-21/#post-12162136)
 * Thank you. I have applied an update for this. Please upgrade the plugin to v1.9.1
   and this should be resolved.

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

The topic ‘Error notice:’ is closed to new replies.

 * ![](https://ps.w.org/https-redirection/assets/icon-128x128.png?rev=1779143)
 * [Easy HTTPS Redirection (SSL)](https://wordpress.org/plugins/https-redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/https-redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/https-redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/https-redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/https-redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/https-redirection/reviews/)

## Tags

 * [error notice](https://wordpress.org/support/topic-tag/error-notice/)

 * 4 replies
 * 3 participants
 * Last reply from: [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-notice-21/#post-12162136)
 * Status: resolved