badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Deprecation errors

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40775
    minmoko
    Participant

    Hello

    Yes I am a newbie. I have trying to use the Interface free theme, but it does not look like the demo at all.

    I do have deprecation errrors as shown below. I am currently running the site locally on my PC. I have XMAPP v 3.2.2 and
    Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.0 and the latest WordPress. I would really appreciate any help.

    Regards
    Min

    The errors are the same name as their class will not be constructors in a future version of PHP; interface_custom_tag_widget has a deprecated constructor in G:\xampp\htdocs\wp\wp-content\themes\interface\inc\widgets\interface_widgets.php on line 130

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; interface_service_widget has a deprecated constructor in G:\xampp\htdocs\wp\wp-content\themes\interface\inc\widgets\interface_widgets.php on line 200

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; interface_promobox_widget has a deprecated constructor in G:\xampp\htdocs\wp\wp-content\themes\interface\inc\widgets\interface_widgets.php on line 309

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; interface_recent_work_widget has a deprecated constructor in G:\xampp\htdocs\wp\wp-content\themes\interface\inc\widgets\interface_widgets.php on line 379

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; interface_Widget_Testimonial has a deprecated constructor in G:\xampp\htdocs\wp\wp-content\themes\interface\inc\widgets\interface_widgets.php on line 527

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; interface_featured_image_widget has a deprecated constructor in G:\xampp\htdocs\wp\wp-content\themes\interface\inc\widgets\interface_widgets.php on line 695

    #40780

    Hi minmoko,

    We have already fixed the deprecated issue in our latest version. Just try latest version of our theme. Which version are you using? let us know.

    Thank you!

    #40784
    minmoko
    Participant

    Hello,

    Thank you for your reply.

    I am using version 3.0.2

    cheers
    Min

    #40827

    Hi minmoko,

    We have already fixed this issues on version 2.0.2, We don’t think that there is deprecated issues in version 3.0.2. As we have tested in our local server too with no issues.
    You just do one thing.
    Go to theme folder-> inc -> widgets-> interface_widgets.php on line no 131, 201, 310,380, 529,697 remove that all function with this functions function __construct()

    For example:-

    function interface_featured_image_widget(){
    // your code
    }

    remove above functions with this functions

    function __construct(){
    //your code
    }

    After doing it whether your problems solves or not let us know. If you face the same issues please upload your theme at server and Email Us your temporary username and password. We will look over it.

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.