Title: Deprecated constructors
Last modified: September 8, 2016

---

# Deprecated constructors

 *  [Gregory Karpinsky (@tivnet)](https://wordpress.org/support/users/tivnet/)
 * (@tivnet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-constructors/)
 *     ```
       ( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DC_Widget_Vendor_Info has a deprecated constructor in dc-woocommerce-multi-vendor\classes\widgets\class-wcmp-widget-vendor-info.php on line 14
       ```
   
 * `function DC_Widget_Vendor_Info() {`
 * replace with
 * `public function __construct() {`

Viewing 1 replies (of 1 total)

 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-constructors/#post-8166487)
 * Thanks Gregory for pointing this. We will resolve it in our next update.
 * Regards,
    Rimpa

Viewing 1 replies (of 1 total)

The topic ‘Deprecated constructors’ is closed to new replies.

 * ![](https://ps.w.org/dc-woocommerce-multi-vendor/assets/icon-256x256.gif?rev=
   3314608)
 * [MultiVendorX - WooCommerce Multivendor Marketplace AI Powered Solutions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/)
 * [Active Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [DualCube](https://wordpress.org/support/users/dualcube/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-constructors/#post-8166487)
 * Status: not a support question