• Resolved Hendrik57

    (@hendrik57)


    I’ve a jquery error that shows up in the inspect screen of Chrome when i use the WP Customizer. It says:

    Uncaught Error: Syntax error, unrecognized expression: DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.colophon-widget.widget-wrapper,DIV.,DIV.footer-widget(…)

    It seems there is something going wrong in functions-sidebar.php. Disabling the register-sidebar removes the error. The advise to add ‘class => ”, before the ‘before…’ lines does not solve the problem.

    On other sites there is a ‘register_widget(‘….’) function before. This is not in the responsive-mobile theme. Perhaps this causes it.

    Please have a look at the code to solve this issue.
    (All WP & Themes & Plugins are up to date. I also bought the Pro plugin. On the test site only the basic install + responsive mobile is active.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author CyberChimps

    (@cyberchimps)

    Hi,

    Thanks a lot for pointing out this issue in the theme.
    We will soon update the theme with the fix.
    Meanwhile, you can try the following solution:
    In the file functions-sidebar.php, please add the class “responsive-mobile-top-widget” on line number 131.

    Hope this solves the issue.
    Thanks.

    Thread Starter Hendrik57

    (@hendrik57)

    Ok. The error is gone when I made this:
    'before_widget' => '<div id="%1$s" class="responsive-mobile-top-widget %2$s">',

    After resetting the theme options there is this error:
    load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:10 GET https://localhost/wp-dev2/wp-content/plugins/cyberchimpsoptions/lib/css/skins/.css?ver=4.6.1
    It goes away after manualy save/confirm the option for a default skin.

    But, after this change the background color of the top-menu changed to black. It seems as if the style-rtl.css version is activated. There is:

    #top-menu-container {
      padding: 5px 0;
      background-color: #333333;
    }
    

    while in style.css is:

    #top-menu-container {
      padding: 5px 0;
      background-color: #733333;
    }
    

    I think the code in the rtl version should match the default version, #733333.
    Changing this however had no influence.

    I do not know what is happening, but the class ‘responsive-mobile-top-widget’ is not in any code of the theme.
    Perhaps you can have a look at this.

    Thread Starter Hendrik57

    (@hendrik57)

    Ohhh. In the latest theme both colors are set to #333333. So, updating the theme must have caused the color issue in the top-menu.
    So only the not existing class and the skin default issue are left.

    Theme Author CyberChimps

    (@cyberchimps)

    Oh..got that. Thanks again for letting me know. I am working on that and will release update shortly. Meanwhile I have fixed the issue of the non existing class and releasing an update by today eod.

    Theme Author CyberChimps

    (@cyberchimps)

    Hi,

    The updated version of the theme has been released. In this version, the issue of the non existing class has been resolved.

    Thanks.

    Thread Starter Hendrik57

    (@hendrik57)

    Thanks !

    Theme Author CyberChimps

    (@cyberchimps)

    Hi,

    The second issue of the default skin existed in the Pro Features plugin and not in the Responsive Mobile theme. This issue has been fixed and the updated version of the plugin has been released.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Jquery error basic theme, customizer’ is closed to new replies.