• 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

    (@im_niloy)

    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

    (@reeve)

    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:

    https://php.net/manual/en/migration70.deprecated.php

    Cheers
    Norman

    Plugin Author Niloy – Codeixer

    (@im_niloy)

    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

    (@reeve)

    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.