Title: Deprecated warning in php7
Last modified: July 24, 2017

---

# Deprecated warning in php7

 *  Resolved [pkostadinov](https://wordpress.org/support/users/pkostadinov/)
 * (@pkostadinov)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/deprecated-warning-in-php7/)
 * <b>Deprecated</b>: Methods with the same name as their class will not be constructors
   in a future version of PHP; Amazing_Shortcodes_VC has a deprecated constructor
   in <b>…\wp-content\plugins\vc-shortcodes\vc-shortcodes.php</b> on line <b>77</
   b>
 * And many others. Fixing this would take few minutes of search all files for any
   classes within the code, and replacing the constructors with __construct. Let
   me know if you need any further help on that.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [themebon](https://wordpress.org/support/users/themebon/)
 * (@themebon)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/deprecated-warning-in-php7/#post-9350476)
 * Hello, thanks for letting me know. Just fixed it and updated the plugin. Please
   let me know if anything need in future.
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘Deprecated warning in php7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/vc-shortcodes_f9f9f9.svg)
 * [Essential WPBakery Page Builder (formerly Visual Composer) Addons](https://wordpress.org/plugins/vc-shortcodes/)
 * [Support Threads](https://wordpress.org/support/plugin/vc-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/vc-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vc-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vc-shortcodes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [themebon](https://wordpress.org/support/users/themebon/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/deprecated-warning-in-php7/#post-9350476)
 * Status: resolved