Bug in Dynamic Widgets when using WP < 3.1

Another bug has been found in the latest version of Dynamic Widgets by ukmacemen and Kelli Stanley. The bug only occurs when using WordPress lower then version 3.1, this is the error you’ll receive:

Fatal error: Call to undefined function get_users() in /wp-content/plugins/dynamic-widgets/mods/single_module.php on line 12

It has been fixed in development version 1.4.1.3.

UPDATE: Make that 1.4.1.4. The bug also occurs in the Author module.

2 Comments to “Bug in Dynamic Widgets when using WP < 3.1”

  • Hi There,

    Getting the following error while trying to set a widgets WMPL settings:

    Warning: Invalid argument supplied for foreach() in /nfs/c09/h02/mnt/127501/domains/masb.tnxt.nl/html/wp-content/plugins/dynamic-widgets/mods/wpml_module.php on line 29

    Running the latest 3.1 and Dynamic Widgets v1.4.1

    Any idea what this could be?

    Thanks in advance!

    Rogier

    • Hi Rogier
      Yes, this bug has been reported and is fixed in the development version. See also my blogpost about this.