WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Widgets not working after upgrade - Widget Logic Visual - pinpointed (18 posts)

  1. Amado.Miami
    Member
    Posted 1 year ago #

    Widgets no longer working after upgrade to 3.5
    All plugins disabled and enabled one by one
    Widget Logic Visual - pinpointed as main problem.
    read master list as pertaining to jqwery.
    this plug in does contain a .js file in its list.
    widget-logic-visual/js/jquery.nyromodal.js
    This is a major plugin for me on my site.
    Any solution that is advisable besides removing plugin?
    this same plugin then affected the proper working of my tiny mce advanced

  2. esmi
    Forum Moderator
    Posted 1 year ago #

  3. Amado.Miami
    Member
    Posted 1 year ago #

    Timestamp: 12/13/2012 11:50:28 AM
    Error: Error: Syntax error, unrecognized expression: #widget-logic-options-akismet_widget-%i%
    Source File: http://eic8.eng.fiu.edu/cec-new/wp-includes/js/jquery/jquery.js?ver=1.8.3
    Line: 2

    firefox

  4. Amado.Miami
    Member
    Posted 1 year ago #

    Uncaught Error: Syntax error, unrecognized expression: #widget-logic-options-akismet_widget-%i%

    jquery.js:2

    chrome

  5. Amado.Miami
    Member
    Posted 1 year ago #

    are there any modification I can make to jquery.js inside wp-includes to correct this?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    No. Deactivate Widget Logic Visual.

  7. socialmoguls
    Member
    Posted 1 year ago #

    Problem solved! I deactivated widget logic visual!

  8. khan.shabnam
    Member
    Posted 1 year ago #

    FIX( without deactivate plugin)

    Add following code on line number 58 (in widget_logic_visual_admin_enqueue_script() function)

    wp_register_script('jquery.1.7' ,plugin_dir_url(__FILE__).'js/jquery-1.7.1.min.js');
    
    wp_enqueue_script('jquery.1.7');

    and upload jquery1.7.1.min.js in plugin js folder
    And it works fine for.

  9. slinky005
    Member
    Posted 1 year ago #

    I have opened the "show error console" to find the error. In order to add the code above I do not understand where the code is supposed to go.
    Is "widget_logic_visual_admin_enqueue_script() " a path?
    Looking at the tree on the left, where do I go to insert the code?

  10. J
    Member
    Posted 1 year ago #

    He meant (i think) to replace the code in lines 57 and 59 with the code he provided in the file widget_logic.php which is in the widget-logic-visual plugin folder (wp-content/plugins/widget-logic-visual/widget_logic.php)

    and to download jquery1.7.1.min.js from here: http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/
    and put in in the js subfolder in the plugin folder (wp-content/plugins/widget-logic-visual/js/)

    BUT!

    I did that and this now prompts a new error:

    Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'widget' load-scripts.php:5
    Uncaught TypeError: Object [object Object] has no method 'tabs' widgets.php:4344

    khan, any thoughts?

  11. Amado.Miami
    Member
    Posted 1 year ago #

    Thank you for reporting your results J, I appreciate it.,
    Was about to implement this as well.
    Yet will now wait to here back from Khan - hopefully.

  12. James Hessler
    Member
    Posted 1 year ago #

    Deactivated all plugins, then widgets were working. then reactivated one by one and found the plugin (darn cant remember which one it was) and alls good. thanks to all the volunteers that make this all possible.

    Kudos...

    James

  13. Nindya
    Member
    Posted 1 year ago #

    open widget_logic.php go to line 132
    and change
    if ($number==-1) {$number="%i%"; $value="";}
    to this
    if ($number==-1) {$number="__i__"; $value="";}

  14. Amado.Miami
    Member
    Posted 1 year ago #

    Wow, thank you so much Nindya. I hope this works. I will make the suggested modifications and report back if it is successful. Once again thank you :)

  15. Amado.Miami
    Member
    Posted 1 year ago #

    Perfect, It worked fantastically :) The modification suggested are now complete and in working order. I really appreciate it.

  16. Amado.Miami
    Member
    Posted 1 year ago #

    Issue is now resolved.

  17. Louis Nel
    Member
    Posted 1 year ago #

    Nindya, thank you! Was looking for a fix for this for a while.

  18. tproud
    Member
    Posted 9 months ago #

    The fix has worked, thank you. I mean, the widgets are no longer frozen and there are buttons at the bottom of each widget now. However nothing happens when I press Edit Limitation. Does anyone know how to fix this? Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic