Tagged: demo, Deprecation errors, theme
- This topic has 3 replies, 2 voices, and was last updated 8 years, 12 months ago by Theme Horse Support Team.
-
AuthorPosts
-
December 29, 2015 at 9:37 am #40775minmokoParticipant
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
MinThe 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
December 29, 2015 at 10:10 am #40780Theme Horse Support TeamKeymasterHi 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!
December 29, 2015 at 11:39 am #40784minmokoParticipantHello,
Thank you for your reply.
I am using version 3.0.2
cheers
MinDecember 30, 2015 at 10:34 am #40827Theme Horse Support TeamKeymasterHi 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 no131, 201, 310,380, 529,697
remove that all function with this functionsfunction __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!
-
AuthorPosts
- You must be logged in to reply to this topic.