Title: php 8 causes error
Last modified: July 26, 2022

---

# php 8 causes error

 *  Resolved [Trident Marketing Anglia Ltd](https://wordpress.org/support/users/tridentmarketing/)
 * (@tridentmarketing)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-causes-error/)
 * Hey,
    I’m running your plugin alongside Elementor and I’ve just upgraded php 
   to 8. I now get this error:
 * `PHP Deprecated: Function _register_controls is <strong>deprecated</strong> since
   version 3.1.0! Use Elementor\Controls_Stack::register_controls() instead. in /
   var/www/vhosts/mysite.com/httpdocs/wp-includes/functions.php on line 5379`
 * Is there any fix?

Viewing 1 replies (of 1 total)

 *  Plugin Support [elviiso](https://wordpress.org/support/users/elviiso/)
 * (@elviiso)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-causes-error/#post-15863126)
 * Hi [@tridentmarketing](https://wordpress.org/support/users/tridentmarketing/)
 * First, I’d like to let you know that FooGallery has been taken through extensive
   tests and I can confirm to you that it is compatible with the latest stable version
   of PHP, version 8.1.8, and also with the latest stable version of WordPress, 
   version 6.0.1.
 * Looking at the error message you’ve shared, this is not being caused by FooGallery.
   From my investigations, it’s coming from one of the Elementor Extensions you 
   have enabled, or even Elementor itself. Kindly ensure that you update the Elementor
   extensions and plugin (and even WordPress) to the latest versions.
 * If the issue still persists after that, I’d advise you to open a support ticket
   with Elementor who would be in a much better position to assist with this.
 * With all of that said, this warning message should not affect any of your site’s
   functionality or display any messages to the frontend of your site as long as
   you have debugging disabled.
 * Thanks.
 * Kind regards,
    Elvis.

Viewing 1 replies (of 1 total)

The topic ‘php 8 causes error’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [elviiso](https://wordpress.org/support/users/elviiso/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/php-8-causes-error/#post-15863126)
 * Status: resolved