WordPress.org

Support

Support » Plugins and Hacks » Widget Instance » [Plugin: Widget Instance] No Widgets in the Dropdown

[Plugin: Widget Instance] No Widgets in the Dropdown

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author global_1981

    @global_1981

    OK first things first.
    Can you see the Widget Instance Editor Icon (It looks like a puzzle piece)?
    It should appear to the right of the kitchen sink icon on the top row.

    Yes I did see the puzzle piece.

    I’m since gone in a different direction and am no longer using this plugin.

    Same problem here, I see the puzzle piece but none of my widgets…

    Appreciate any help, seems like it might be a useful plugin.

    Plugin Author global_1981

    @global_1981

    Hi @lesswilson78, I can’t replicate the issue on a fresh install of WordPress 3.5.1, could you add these lines to your wp-config.php file. Replace the default line that reads: define(‘WP_DEBUG’, false);

    /* Log wordpress errors
    ——————————————————–*/
    @ini_set(‘display_errors’,0);
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, false); // Turn forced display in browser OFF
    define(‘WP_DEBUG_LOG’, true); // Turn logging to wp-content/debug.log ON

    After you have saved the wp-config.php file, click the puzzle piece icon.

    Then open the debug.log file (in your wp-content directory). If the plugin is throwing an error, it should be recorded in that file. Let me know if you found any relevant errors.

    I’m having the same problem. I tried the debug log and nothing seems to be causing an error. Is there anything you can think of that could cause widgets to not display?

    Plugin Author global_1981

    @global_1981

    Hi @am71722,

    Can you open the browser inspector tools and open the javascript console to see if there are any javascript errors? Also out of curiosity have you moved your wp-content directory?

    Actually, yes and yes. The error is jQuery is not defined when i click on the puzzle piece and we just moved our whole site.

    Plugin Author global_1981

    @global_1981

    Hi @am71722,

    Can you download the latest version and let me know if it fixed your problem?

    It contains a fix for installs where the wordpress install is not in the root directory (which is what I have assumed is the issue).

    Thanks a lot.

    Plugin Author global_1981

    @global_1981

    Hi @am71722,

    Can you download the latest version and let me know if it fixed your problem?

    It contains a fix for installs where the wordpress install is not in the root directory (which is what I have assumed is the issue).

    Thanks a lot.

    Update downloaded. List still blank. No errors in error console of Firefox now though.

    Plugin Author global_1981

    @global_1981

    Ok well thats 1 problem down.

    If you have Google Chrome through it’s inspector tools you can the view the ajax (xhr) request under the network tab (filter by xhr). Every time the puzzle is clicked a new ajax call is sent to wp-admin/admin-ajax.php.

    Could be a permission issue with that file (sidenote do you have that directory password protected by apache)? If you inspect the xhr request and it doesn’t return a json object (will return a error or -1) than there is problem with accessing that file.

    Same problem. Everything is installed properly, but not only does nothing show in the list, but attempts to use the shortcode result in ‘widget not found’ (I’m using the correct widget ID).

    Would LOOOVE to use this plugin. Please help!

    Plugin Author global_1981

    @global_1981

    Hi @caming,

    Hope I can help.

    “Widget not found” isn’t an error that Widget Instance will output. It outputs “No widget found with that id”. We need to be specific if we have any chance of resolving your issue, are you seeing “No widget found with that id?”

    Also what is the id you are using? It should follow the format like:
    search-2

    Can you run through this checklist and see if anything pops up:

    This is what you need to do to debug the issue:

    1. Test for plugin incompatibility
    Disable all plugins, only have Widget Instance enabled. If it works as expected, one by one enable the other plugins to narrow down which plugin isn’t playing nicely with Widget Instance.

    2. Test for wordpress related php errors
    In your wp-config.php file. Replace the default line that reads: define(‘WP_DEBUG’, false); with the lines:
    @ini_set(‘display_errors’,0);
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);
    define(‘WP_DEBUG_LOG’, true);

    After you have saved the wp-config.php file, click the puzzle piece icon. Then open the debug.log file (in your wp-content directory). If the plugin is throwing an error, it should be recorded in that file. Let me know if you found any relevant errors.

    3. Test for javascript errors
    Open the javascript console in the browser inspector tools to see if there are any javascript errors

    4. Test for ajax errors
    If you have Google Chrome through it’s inspector tools you can the view the ajax (xhr) request under the network tab (filter by xhr). Every time the puzzle is clicked a new ajax call is sent to wp-admin/admin-ajax.php.

    Could be a permission issue with that file (sidenote do you have that directory password protected by apache)? If you inspect the xhr request and it doesn’t return a json object (will return a error or -1) than there is problem with accessing that file.

    I had same problem but JS error hinted no title was issue. And it was. I had made a bunch of widgets holding PHP code, none had title field. After adding that drop down got filled up again.

    http://wordpress.org/plugins/widget-css-classes/ can add what ever class to any widget, so “no-widget-title” is nifty if set to to “display: none” in CSS.

    Plugin Author global_1981

    @global_1981

    Thanks tsdk!

    So simple but I never considered that omitting the title could have been why there was no widgets in the drop down. I will look into the issue over the next week. Thanks again for the heads up.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Widget Instance] No Widgets in the Dropdown’ is closed to new replies.
Skip to toolbar