Title: Please fix outdated methods/functions
Last modified: May 29, 2017

---

# Please fix outdated methods/functions

 *  [Norman Höhne](https://wordpress.org/support/users/reeve/)
 * (@reeve)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/please-fix-outdated-methodsfunctions/)
 * Dear developer,
 * thank you for your nice free plugin. Sadly I found the following issues with 
   your plugin on PHP7:
 * **File:** woo-product-gallery-slider/vafpress-framework/includes/wpalchemy/MetaBox.
   php
    **Line:** 453 **Issue:** Please rename “function WPAlchemy_MetaBox($arr)”
   to “function __construct($arr)” since methods with the same name as their class
   will not be constructors in a future version of PHP.

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

 *  Plugin Author [Niloy – Codeixer](https://wordpress.org/support/users/im_niloy/)
 * (@im_niloy)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/please-fix-outdated-methodsfunctions/#post-9176100)
 * Hello,
    which page do you find this error? I am also running my wp site on PHP
   7 but I don’t see any error message like this
 *  Thread Starter [Norman Höhne](https://wordpress.org/support/users/reeve/)
 * (@reeve)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/please-fix-outdated-methodsfunctions/#post-9176586)
 * Hey Niloy,
 * sadly the page is still in development stage and not accessible. But the page
   is not very relevant anyways since the issue is officially declared as deprecated:
 * [http://php.net/manual/en/migration70.deprecated.php](http://php.net/manual/en/migration70.deprecated.php)
 * Cheers
    Norman
 *  Plugin Author [Niloy – Codeixer](https://wordpress.org/support/users/im_niloy/)
 * (@im_niloy)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/please-fix-outdated-methodsfunctions/#post-9177789)
 * I mean to say which page you see this notice, ex: dashboard, plugin.php or any
   frontend page.
    and the error file location is into the framework directory that
   I use for developing the options. unfortunately, the framework is close there
   future updates for this framework(vafpress) permanetly.
 *  Thread Starter [Norman Höhne](https://wordpress.org/support/users/reeve/)
 * (@reeve)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/please-fix-outdated-methodsfunctions/#post-9205187)
 * Ah got you,
 * the deprecation error is visible on every page on frontend as well as everz page
   on backend.
 * That sad to hear. Maybe you just modify the MetaBox.php manually as I suggested.
   For me this works like a charm and it is according to the PHP7 guidelines.
 * Cheers
    Norman

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

The topic ‘Please fix outdated methods/functions’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-gallery-slider/assets/icon-256x256.gif?rev=3065029)
 * [Product Gallery Slider, Additional Variation Images for WooCommerce](https://wordpress.org/plugins/woo-product-gallery-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-gallery-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-gallery-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-gallery-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-gallery-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-gallery-slider/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Norman Höhne](https://wordpress.org/support/users/reeve/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/please-fix-outdated-methodsfunctions/#post-9205187)
 * Status: not resolved