Support » Plugin: Regions for WP Job Manager » Not Searching by Region

  • We’ve been running fine, but this past week migrated to Google Cloud.
    Then several days later we noticed some problems.
    Can’t search by location is the biggest.
    We don’t know if it’s connected, but:

    when we do a job search for everywhere (no region selected), it returns results.
    when we do a job search for a specific location enter any city/region), it gives an error in javascript and returns nothing.

    The error:
    This is the error from WP debug mode:

    [21-Jan-2019 06:22:47 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/html/wp-content/plugins/wp-job-manager-indeed-integration/includes/class-wp-job-manager-indeed-import.php:116
    Stack trace:

    #0 /var/www/html/wp-content/plugins/wp-job-manager-indeed-integration/includes/import-framework/class-wp-job-manager-importer-integration.php(86): WP_Job_Manager_Indeed_Import->get_jobs_for_request(1, ‘backfill’)
    #1 /var/www/html/wp-content/plugins/wp-job-manager-indeed-integration/includes/import-framework/class-wp-job-manager-importer-integration.php(34): WP_Job_Manager_Importer_Integration::backfill_jobs(Array)
    #2 /var/www/html/wp-includes/class-wp-hook.php(288): WP_Job_Manager_Importer_Integration::job_manager_get_listings_result(Array)
    #3 /var/www/html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #4 /var/www/html/wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-ajax.php(258): apply_filters(‘job_manager_get…’, Array, Object(WP_Query))
    #5 /var/www/html/wp-includes/class-wp-hook in /var/www/html/wp-content/plugins/wp-job-manager-indeed-integration/includes/class-wp-job-manager-indeed-import.php on line 116
    In these logs when we look, at line 116 of indeed-import class we have WP_Error instead array.

    The code screenshots:

    We have updated all plugins. Everything is up to date.

    Our job feed seems to be working:

    Screenshot of Console in Chrome:

    The page I need help with: [log in to see the link]

  • The topic ‘Not Searching by Region’ is closed to new replies.