Title: Function _register_controls (Elementor conflict?)
Last modified: September 15, 2022

---

# Function _register_controls (Elementor conflict?)

 *  Resolved [alan9000](https://wordpress.org/support/users/alan9000/)
 * (@alan9000)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/function-_register_controls-2/)
 * I’m using 10Web Photo Gallery 1.7.4 (free version). When I visit my site where
   Photo Gallery is installed and view any of my galleries, I see the following 
   error message:
    ————– **Deprecated: Function _register_controls is deprecated
   since version 3.1.0! Use Elementor\Controls_Stack::register_controls() instead.
   in /home/adeptica/public_html/aapix.art/wp-includes/functions.php on line 5379**—————
   On googling this, it seems the usual advice is to disable each of one’s WP plugins,
   in turn, to find out which one is causing the error. So I disabled each of my
   plugins in turn (apart from Elementor and Photo Gallery, which are needed for
   my galleries to work). In all cases, the error continues to appear when I view
   a gallery. So am I right in concluding that it is Photo Gallery that is triggering
   the error message, due to the depreciated function? If so, when will Photo Gallery’s
   coding be suitably revised? Thank you.
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This topic was modified 3 years, 8 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunction-_register_controls-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/function-_register_controls-2/#post-16021939)
 * Hello, dear [@alan9000](https://wordpress.org/support/users/alan9000/),
 * Thanks a lot for reporting the issue, we have registered it and put it on our
   roadmap for the updates to come,
 * Have a great day and once again accept our gratitude for helping us improve the
   plugin,
 *  Thread Starter [alan9000](https://wordpress.org/support/users/alan9000/)
 * (@alan9000)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/function-_register_controls-2/#post-16443375)
 * Hello again,
   It is now 4 months since I posted about this problem. It still hasn’t
   disappeared, despite the newer versions of Photo Gallery. In fact it’s actually
   worse now, because I now see two instances of similar error messages at the top
   of my site’s main page, [http://www.aapix.art](http://www.aapix.art) and it is
   fouling up the layout of my page. I think the Elementor developers site explains
   the issue at:[https://developers.elementor.com/docs/deprecations/deprecated-function/](https://developers.elementor.com/docs/deprecations/deprecated-function/)
 * Thank you for looking into this. Hoping your team will update the Photo Gallery
   coding accordingly, as soon as possible, for me and others experiencing this 
   issue.
   NB: In desperation, I have altered my WordPress wp-config.php file to 
   disable these error messages, but I’m told it’s not a desirable or ideal fix.
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).
    -  This reply was modified 3 years, 3 months ago by [alan9000](https://wordpress.org/support/users/alan9000/).

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

The topic ‘Function _register_controls (Elementor conflict?)’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

 * [10web](https://wordpress.org/support/topic-tag/10web/)
 * [gallery](https://wordpress.org/support/topic-tag/gallery/)

 * 2 replies
 * 2 participants
 * Last reply from: [alan9000](https://wordpress.org/support/users/alan9000/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/function-_register_controls-2/#post-16443375)
 * Status: resolved