Title: Rest Api (notice)
Last modified: March 11, 2025

---

# Rest Api (notice)

 *  Resolved [almendron](https://wordpress.org/support/users/almendron/)
 * (@almendron)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/rest-api-notice/)
 * WordPress: 6.7.1
   Jetpack: 14.4PHP: 8.2.4
 * **Notice**: Function register_rest_route was called **incorrectly**. REST API
   routes must be registered on the `rest_api_init` action. Instead route ‘`site/
   update-historically-active-modules`‘ with namespace ‘`my-jetpack/v1`‘ was not
   registered on this action.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frest-api-notice%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [fujifika (a11n)](https://wordpress.org/support/users/fujifika/)
 * (@fujifika)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/rest-api-notice/#post-18356199)
 * Hi there @almendron – thanks for flagging this!
 * We’re aware of this notice, and while it can be safely disregarded as it doesn’t
   impact your site’s functionality, we understand that it may be distracting. The
   good news is that this will be fully resolved in the next version update.
 * In the meantime, if you’d like to hide these notices, you can add the following
   line to your `wp-config.php` file:
 *     ```wp-block-code
       define('WP_DEBUG_DISPLAY', false);
       ```
   
 * For more info on how to add the line of code above and what it does, you can 
   check out this guide:
    - [WordPress Debugging Guide](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/#example-wp-config-php-for-debugging)
 * We appreciate your patience while we roll out the fix—thank you! 🙂

Viewing 1 replies (of 1 total)

The topic ‘Rest Api (notice)’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fujifika (a11n)](https://wordpress.org/support/users/fujifika/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/rest-api-notice/#post-18356199)
 * Status: resolved