Title: Plugin compatibility with WordPress 4.3+
Last modified: October 11, 2016

---

# Plugin compatibility with WordPress 4.3+

 *  Resolved [mikrom](https://wordpress.org/support/users/mikrom/)
 * (@mikrom)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/)
 * If you enable debug mode You will see error message like this:
 *     ```
       PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; randomize has a deprecated constructor in .../wp-content/plugins/randomize/randomize.php on line 30
       PHP Notice:  The called constructor method for WP_Widget in randomize is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in .../wp-includes/functions.php on line xxx
       ```
   
 * Can somebody fix it please?

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

 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8306787)
 * Hi!
    I will fix this in the next few days. Thanks for reporting!
 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8331869)
 * This issue is fixed now.
 *  [danposmaytee](https://wordpress.org/support/users/danposmaytee/)
 * (@danposmaytee)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8332830)
 * Hi Basti @se_schwarz
 * Loving the plug in – got a couple of questions.
 * If I update it will it remove the data I have put into it?
    And second, is there
   anyway of exporting the data out to an excel file or word document?
 * Awesome plugin either way this is what I’m using it for:
    [http://pagetopixels.co.uk/story-generator-writing-prompt/](http://pagetopixels.co.uk/story-generator-writing-prompt/)
 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8332925)
 * Hi danposmaytee,
 * thank you for your interest. I would like to answer to your questions.
 * > When you using the direct update, no data will be lost. Only if you uninstall
   the plugin completely, all entries will be lost.
 * > at this time there is no export function available. But I think, I will implement
   this feature soon. Stay tuned. 🙂
 * Basti
 *  [danposmaytee](https://wordpress.org/support/users/danposmaytee/)
 * (@danposmaytee)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8332961)
 * Thanks Basti!
 * Would you be able to explain how the shortcode works a little more:
    [randomize
   category=”EXAMPLE_CATEGORY” random=”1″].
 * What does “Random=”1” do?
 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8332976)
 * Random = 1 means, that the entries of this category will be randomly shown.
    
   If Random = 0, the entries will be shown in an ordered sequence, one after the
   another
 *  Thread Starter [mikrom](https://wordpress.org/support/users/mikrom/)
 * (@mikrom)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8333762)
 * thanks for update!
 *  Thread Starter [mikrom](https://wordpress.org/support/users/mikrom/)
 * (@mikrom)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8333778)
 * bad news:
    `PHP Deprecated: Methods with the same name as their class will not
   be constructors in a future version of PHP; randomize has a deprecated constructor
   in /hosting/www/xxx/www/wp-content/plugins/randomize/randomize.php on line 30`
   with updated version :/
 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8333790)
 * Interesting. I tested the update by myself, and had no PHP warnings.
 * Okay, so…. this is not disadvantage at this time.
    It should be done by disabling
   WP Debugging in wp-config.php
 * I will try to fix that in the next update.
 * Stay tuned!
 *  Thread Starter [mikrom](https://wordpress.org/support/users/mikrom/)
 * (@mikrom)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8334151)
 * yes I know, i was only curious, so I enabled debug. I am using latest WP on PHP7
   maybe this is it.
 *  Thread Starter [mikrom](https://wordpress.org/support/users/mikrom/)
 * (@mikrom)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8334195)
 * definitelly PHP7 issue
 *     ```
       FILE: /hosting/www/mikrom.cz/www/wp-content/plugins/randomize/randomize.php
       ------------------------------------------------------------------------------------------
       FOUND 1 ERROR AFFECTING 1 LINE
       ------------------------------------------------------------------------------------------
        32 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
       ------------------------------------------------------------------------------------------
       ```
   
 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8336698)
 * I will follow it up by reading the code by hand and make it compatible to PHP7.
 *  Thread Starter [mikrom](https://wordpress.org/support/users/mikrom/)
 * (@mikrom)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8410492)
 * any news with
    `PHP Deprecated: Methods with the same name as their class will
   not be constructors in a future version of PHP; randomize has a deprecated constructor
   in /hosting/www/xxx/www/wp-content/plugins/randomize/randomize.php on line 30`?
 *  Plugin Contributor [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * (@se-schwarz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8421304)
 * Very soon, I’m working with a friend on it. 🙂

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

The topic ‘Plugin compatibility with WordPress 4.3+’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/randomize_8b8d98.svg)
 * [Randomize](https://wordpress.org/plugins/randomize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/randomize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/randomize/)
 * [Active Topics](https://wordpress.org/support/plugin/randomize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/randomize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/randomize/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [outdated](https://wordpress.org/support/topic-tag/outdated/)
 * [resolved](https://wordpress.org/support/topic-tag/resolved/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 14 replies
 * 3 participants
 * Last reply from: [Sebastian Schwarz](https://wordpress.org/support/users/se-schwarz/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-compatibility-with-wordpress-4-3/#post-8421304)
 * Status: resolved