Problem to show search results

I use ‘Custom Google Search’ configured with my CSE ID in Gillie Theme.

The plugin is configured to show results on ‘Search Page’ but when I try it appear a page that told me: <<Ooops, something seems to have gone wrong with rendering the widget

This message will not be shown to your visitors>>

How to resolve?

  • Massimiliano
    • New Recruit

    On ‘console’ I see this:

    jquery-migrate.js?ver=1.4.1:45 JQMIGRATE: jQuery is not compatible with Quirks Mode

    migrateWarn @ jquery-migrate.js?ver=1.4.1:45

    (anonymous function) @ jquery-migrate.js?ver=1.4.1:83

    (anonymous function) @ jquery-migrate.js?ver=1.4.1:752

    jquery-migrate.js?ver=1.4.1:47 console.trace

    migrateWarn @ jquery-migrate.js?ver=1.4.1:47

    (anonymous function) @ jquery-migrate.js?ver=1.4.1:83

    (anonymous function) @ jquery-migrate.js?ver=1.4.1:752

    0f3c6cd…?ver=1.1:1 Uncaught SyntaxError: Unexpected token <

    jquery.js?ver=1.12.4:3 The specified value “!” does not conform to the required format. The format is “#rrggbb” where rr, gg, bb are two-digit hexadecimal numbers.

    ja @ jquery.js?ver=1.12.4:3

    n.parseHTML @ jquery.js?ver=1.12.4:4

    jQuery.fn.init @ jquery-migrate.js?ver=1.4.1:235

    n @ jquery.js?ver=1.12.4:2

    (anonymous function) @ main.js:72

    (anonymous function) @ main.js:72

    (anonymous function) @ main.js:72

  • Luís Lopes
    • QA

    Hi Massimiliano ,

    Hope you’re doing well today!

    Firstly, sorry for the late reply and all the problems it may have caused.

    I made some tests using our “Custom Google Search” plugin and it seems that is not full compatible with Upfront.

    We are unable to override the “search results” page to show the google results and all other options (“Standard page” and “Generated page”:wink: seems to be “virtual pages” created by the plugin and Upfront don’t handle very well with them.

    I already reported this to our developers so they can work in a better compatibility between Upfront and Custom Google Search.

    I would like to suggest other plugin, WP Google Search, from what I tested, it displays better results with Upfront.

    This plugin creates it’s own search results page that have a better look than our plugin. We only need to correct some CSS.

    If you are interested, I made a video showing how to add custom google search in Upfront using WP Google Search:

    http://www.screencast.com/t/QssRMnGiz

    The CSS used to correct the form and the button:

    .gsc-input-box {
    display: block !important;
    width: auto !important;
    height: auto !important;
    }
    .gsc-search-button-v2{
    width: auto !important;
    height: auto !important;
    }

    I hope this information has been helpful. If I can help you in this or other questions, please let me know!

    Cheers, Luís