WordPress.org

Ready to get started?Download WordPress

Forums

Widget Instance
No Widgets in the Dropdown (17 posts)

  1. ronr1999
    Member
    Posted 1 year ago #

    I installed but do not see any widgets in the Page or Post editor WYSIWYG drop-down. I'm on a test site and added some widgets to a sidebar thinking that would trigger it but still nothing. How the heck does this thing work?

    http://wordpress.org/extend/plugins/widget-instance/

  2. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. ronr1999
    Member
    Posted 1 year ago #

    Yes I did see the puzzle piece.

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

  4. leewilson78
    Member
    Posted 1 year ago #

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

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

  5. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. am71722
    Member
    Posted 1 year ago #

    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?

  7. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  8. am71722
    Member
    Posted 1 year ago #

    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.

  9. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  10. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  11. am71722
    Member
    Posted 1 year ago #

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

  12. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  13. caming
    Member
    Posted 1 year ago #

    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!

  14. global_1981
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  15. tzdk
    Member
    Posted 10 months ago #

    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.

  16. global_1981
    Member
    Plugin Author

    Posted 10 months ago #

    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.

  17. signcarver
    Member
    Posted 9 months ago #

    Same issue here, but i have a title. My site is a large one, 90 pages and over 95 widgets. I first noticed this today so i'm not sure if it related to the newest version of WordPress (3.6.1). My widget menu looks like this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.