Title: [Plugin: Widget Logic] Widget admin doesn&#039;t work
Last modified: August 20, 2016

---

# [Plugin: Widget Logic] Widget admin doesn't work

 *  [leCLEMS](https://wordpress.org/support/users/leclems/)
 * (@leclems)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-widget-logic-widget-admin-doesnt-work/)
 * (same question has : [ here ](http://wordpress.org/support/topic/wdiget-problem?replies=3#post-3266282))
   
   Hi all
 * We suddenly got a problem with the widget in wordpress.
 * The page take a very long time to load and in the page none of the javascripts
   works.
 * A PHP expert (not WP-expert) took a look at it and found that the page somehow‘
   time-out’ in the widgets.php (mysite\wp-admin\includes\widgets.php).
    Line 192:
 * `$has_form = call_user_func_array( $control['callback'], $control['params'] );`
 * the call_user_func_array() call the following :
 *     ```
       callback] => widget_logic_extra_control
           [params] => Array
               (
                   [0] => Array
                       (
                           [number] => -1
                       )
   
                   [1] => jr_125ads-1
               )
       ```
   
 * Look like the fact that the fact that the parameter is -1 is the problem.
 * However what should we do ?
 * Turn [number] => -1 to [number] => 1 ?
    Something else ?
 * Thank you in advance for your help.
 * _[ Please do not bump, that’s [not permitted here](http://codex.wordpress.org/Forum_Welcome#No_Bumping).]_

Viewing 1 replies (of 1 total)

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-widget-logic-widget-admin-doesnt-work/#post-3123607)
 * parameter -1 is normal on the widget admin page IIRC, so I don’t know that’s 
   the source of the problem. Under what circumstances does the problem appear and
   go away.
 * I presume with Widget Logic inactive it’s not happening – but is it a clash between
   WL and another plugin/widget? Can you get rid of the problem by deactivating 
   another plugin, or is this happening with bare WordPress + Widget Logic?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Widget Logic] Widget admin doesn't work’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-widget-logic-widget-admin-doesnt-work/#post-3123607)
 * Status: not resolved