Widget Logic
Widget admin doesn't work (2 posts)

  1. leCLEMS
    Posted 2 years ago #

    (same question has : here )
    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. ]

  2. alanft
    Plugin Author

    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic