Title: [Plugin: Dynamic Widgets] Anonymous users and PHP version
Last modified: August 20, 2016

---

# [Plugin: Dynamic Widgets] Anonymous users and PHP version

 *  [MacItaly](https://wordpress.org/support/users/macitaly/)
 * (@macitaly)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-anonymous-users-and-php-version/)
 * Hi Qurl,
    and first of all many thanks for this useful plugin. Now the problem.
   I just updated WP to 3.3.1 and DW to 1.5 in a sandbox that is an exact copy of
   a production site. All works correctly, so made the same upgrade to the main 
   site and here appears a weird behavior.
 * With Dynamic Widget I manage different widgets with different conditions (languages,
   pages, categories and so on) and a couple that have to be shown only to anonymous
   users, these are login widgets and before upgrade all was working fine.
 * So, set to don’t show to anybody but anonymous and in sandbox all works correctly,
   instead in production site the widgets are shown always, to connected and anonymous
   users.
 * I tried many times with different combinations of settings, result is the same.
   
   The only difference between sandbox and main installation is that in sandbox 
   run PHP 5.3.+ and in main one, the PHP 5.2.+.
 * So I ask, is it possible that for this settings, the different PHP version changes
   behavior? and if yes, as by now I cannot change PHP version, there is a workaround?
   
   DW seems works well for other conditions that I use, only anonymous shows this
   fault.
 * Thanks in advance
 * [http://wordpress.org/extend/plugins/dynamic-widgets/](http://wordpress.org/extend/plugins/dynamic-widgets/)

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

 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-anonymous-users-and-php-version/#post-2584956)
 * Hello MacItaly,
 * I’ve actually received more complaints about it, but unable to reproduce. It’s
   hard to believe the PHP version has something to do with this as I’m using the
   WP function [`is_user_logged_in()`](http://codex.wordpress.org/Function_Reference/is_user_logged_in)
   in the background for this.
 * I’m going to have a look for a workaround as it looks like this is not reliable(
   anymore). Are you willing to do some tests?
 *  Thread Starter [MacItaly](https://wordpress.org/support/users/macitaly/)
 * (@macitaly)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-anonymous-users-and-php-version/#post-2584957)
 * Hi Qurl,
    and thanks for support. Yes, I want to solve this so I’m happy to help
   you if I can, only let me know how. TIA
 *  Plugin Contributor [Qurl](https://wordpress.org/support/users/qurl/)
 * (@qurl)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-anonymous-users-and-php-version/#post-2584986)
 * Hi MacItaly,
 * I think I’ve found a workaround. Please send me a message via [my contactform](http://www.qurl.nl/contactform/).
   In reply I’ll send you a modified file which you have to put into the dynamic-
   widgets directory and see if it helps.

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

The topic ‘[Plugin: Dynamic Widgets] Anonymous users and PHP version’ is closed 
to new replies.

 * ![](https://ps.w.org/dynamic-widgets/assets/icon-256x256.png?rev=2968917)
 * [Dynamic Widgets](https://wordpress.org/plugins/dynamic-widgets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-widgets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-widgets/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Qurl](https://wordpress.org/support/users/qurl/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-dynamic-widgets-anonymous-users-and-php-version/#post-2584986)
 * Status: not resolved