• Hi folks, anyone hit the above error?

    While logged in everything seems to be fine but when logged out I get the above error (multiple browsers).

    Stack trace:

    Trace: #0 /home/REDACTED/REDACTED/wp-content/plugins/jomres/jomres/libraries/jomres/functions/get_search_form_element_autocomplete.php(21): jomres_data_sources->get_data(NULL, 'countries')
    #1 /home/REDACTED/REDACTED/wp-content/plugins/jomres/jomres/core-minicomponents/j06000search.class.php(785): get_search_form_element_autocomplete()
    #2 /home/REDACTED/REDACTED/wp-content/plugins/jomres/jomres/libraries/jomres/classes/mcHandler.class.php(243): j06000search->__construct(NULL)
    #3 /home/REDACTED/REDACTED/wp-content/plugins/jomres/jomres/jomres.php(463): mcHandler->specificEvent('06000', 'search')
    #4 /home/REDACTED/REDACTED/wp-content/plugins/jomres/jomres/jomres.php(348): no_task_set(0)
    #5 /home/REDACTED/REDACTED/wp-content/plugins/jomres/includes/functions.php(132): require_once('/home/REDACTED...')
    #6 /home/REDACTED/REDACTED/wp-content/plugins/jomres/includes/functions.php(117): jr_wp_trigger_frontend()
    #7 /home/REDACTED/REDACTED/wp-content/plugins/jomres/public/jomres-public.php(72): trigger_jomres()
    #8 /home/REDACTED/REDACTED/wp-includes/class-wp-hook.php(308): Jomres_Public->frontend_trigger_jomres(Object(WP))
    #9 /home/REDACTED/REDACTED/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #10 /home/REDACTED/REDACTED/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #11 /home/REDACTED/REDACTED/wp-includes/class-wp.php(797): do_action_ref_array('wp', Array)
    #12 /home/REDACTED/REDACTED/wp-includes/functions.php(1334): WP->main('')
    #13 /home/REDACTED/REDACTED/wp-blog-header.php(16): wp()
    #14 /home/REDACTED/REDACTED/index.php(17): require('/home/REDACTED...')
    #15 {main}

    Going round in circles to find any setting that could be relevant with no luck. Help would be appreciated ??

    (brand new site, with “latest” plugin – I see the version here is not up to date with the version on github?)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author jomres

    (@jomres)

    Go to Admin > Jomres > Portal > Refresh Data Sources.

    Data sources (countries/regions/towns etc) are automatically maintained however it’s possible that nobody’s yet added or modified a property yet, so the source hasn’t had a chance to be built.

    That should resolve it.

    Thread Starter Diabolo

    (@cebuss)

    Thanks for responding so quickly, but sadly that didn’t work. Tried refreshing a dozen times but still the error persists if logged out (a property has been created, and modified, multiple times before I actually looked while logged out).

    One sec, just had a thought …

    OK, the issue appears to be with not recognising the language the site is set up as.

    • Site is in English (Australian).
    • I had changed the shortcode to [jomres:en-AU] – results in the error above.
    • Reason I changed the shortcode was using [jomres:en-US] and the site language set to English (Australian) results in the shortcode just being shown rather than rendering.
    • Changing the site to English (United States) and using the [jomres:en-US] shortcode works ??

    So, as it stands I can keep testing it out (impressed so far, kudos to you) but is there a quick fix to the issue and get it to recognise my preferred site language settings?

    • This reply was modified 1 year, 6 months ago by Diabolo.
    Plugin Author jomres

    (@jomres)

    Easiest solution would be to create a new language for Jomres

    https://github.com/WoollyinWalesIT/example_language_plugin

    I assume you’d called it en-AU

    You’d be able to do a straight copy/pasta from the en-GB.php language file into your en-AU.php file.

    Let me know how you get on, please.

    Thread Starter Diabolo

    (@cebuss)

    Thanks for that, sidetracked onto another project at the moment but will get back to you asap to confirm. There’s not a great deal of difference between Aussie and pom so sounds like a quick and fairly simple fix ??

    Your help is very much appreciated.

    Plugin Author jomres

    (@jomres)

    II suspect that we have rather more words for rain ??

    good luck with the project.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error, language not sent’ is closed to new replies.