Title: Deprecated function _register_controls
Last modified: November 15, 2022

---

# Deprecated function _register_controls

 *  Resolved [kleiboehmer](https://wordpress.org/support/users/kleiboehmer/)
 * (@kleiboehmer)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-_register_controls/)
 * I have update WordPress 6.1 and Elementor 3.8.1. Now I get an error in the backend.
 * > Deprecated: The _register_controls function has been deprecated since version
   > 3.1.0! Use Elementor\Controls_Stack::register_controls() instead.
 * I found this old function in
 * osm-map-elementor/osm-map.php:
 * 139 protected function _register_controls()
    140 {`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Quoter – Niklas](https://wordpress.org/support/users/youngmedianetwork/)
 * (@youngmedianetwork)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-_register_controls/#post-16215536)
 * I didn’t get any error in the backend.
    I have adjusted it in update 1.1 so that
   everything is ready for Elementor version 4.0
 * As soon as the update is released, the old function is removed.
    Pull request
   Version 1.1: [https://github.com/flopperj/osm-map-elementor/pull/27](https://github.com/flopperj/osm-map-elementor/pull/27)

Viewing 1 replies (of 1 total)

The topic ‘Deprecated function _register_controls’ is closed to new replies.

 * ![](https://ps.w.org/osm-map-elementor/assets/icon-256x256.jpg?rev=2377631)
 * [OSM Map Widget for Elementor](https://wordpress.org/plugins/osm-map-elementor/)
 * [Support Threads](https://wordpress.org/support/plugin/osm-map-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/osm-map-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/osm-map-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/osm-map-elementor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Quoter – Niklas](https://wordpress.org/support/users/youngmedianetwork/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-_register_controls/#post-16215536)
 * Status: resolved