Title: WP 4.3, PHP7 compatibility
Last modified: August 30, 2016

---

# WP 4.3, PHP7 compatibility

 *  Resolved [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-43-php7-compatibility/)
 * Hello,
 * I’ve noticed this theme is using old-style (PHP4) class constructors. PHP 5.2
   and up (which is supported by WP) support the new-style.
 * These constructors will output a deprecation notice through WordPress’ WP_Widget
   class since WP4.3.
    It will also output a deprecation notice on PHP7.
 * To fix this, please try to see if you can change the constructors to `__construct()`.
 * Thank you very much!
 * Edit:
 * I also noticed the “Static Homepage” settings have been removed through the Customizer,
   while it’s supported by the theme.. why is this? :O I now have to switch themes
   before I can change that feature :(.

Viewing 1 replies (of 1 total)

 *  Theme Author [acosmin](https://wordpress.org/support/users/acosmin/)
 * (@acosmin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-43-php7-compatibility/#post-6761981)
 * Hi! These issues were already pointed out and as I said in the previous thread,
   the next update will fix them (with a lot of improvements: [http://goo.gl/w76vqp](http://goo.gl/w76vqp)).
 * Also, those types of errors appear only if you have debug mode enabled… you can
   check this thread out if you want a quick fix: [https://wordpress.org/support/topic/notices-for-wp-43?replies=7](https://wordpress.org/support/topic/notices-for-wp-43?replies=7)
 * The reason for Static Page being disabled in the Customizer is that JustWrite
   has a magazine/blog style. I haven’t seen many magazines/blogs using a static
   page. If you really need that option you can find it in `WP Administration Panel
   > Settings > Reading > Front page displays` or by opening `../acosmin/functions/
   functions-theme-customizer.php` and replacing:
    `$wp_customize->remove_section('
   static_front_page' );` with: `// $wp_customize->remove_section( 'static_front_page');`
 * Thank you!

Viewing 1 replies (of 1 total)

The topic ‘WP 4.3, PHP7 compatibility’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/justwrite/2.0.3.6/screenshot.png)
 * JustWrite
 * [Support Threads](https://wordpress.org/support/theme/justwrite/)
 * [Active Topics](https://wordpress.org/support/theme/justwrite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/justwrite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/justwrite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [acosmin](https://wordpress.org/support/users/acosmin/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/wp-43-php7-compatibility/#post-6761981)
 * Status: resolved