Internal Server Error при использовании Ajax фильтра

340
15 марта 2017, 18:23

Есть сайт на wordpress, на котором используется ajax фильтр. При использовании нескольких выборок (по одиночке и dropdown, и checkbox, и фильтр google map, и фильтр по цене - работают хорошо), фильтр стопорится и загрузка ajax фильтра крутиться без остановки (либо может показать, что товары по таким параметрам отсутствую, хоть они есть). В панеле хрома (F12) показывает Failed to load resource: the server responded with a status of 500 (Internal Server Error), site.ru/jm-ajax/get_listings/ и ниже error: Internal Server Error , workscout-ajax-filters.min.js:1

Привожу код с файла workscout-ajax-filters.min.js:1:

jQuery(document).ready(function(a){function e(e,t){if($supports_html5_history){var r=a(".job_filters"),i=a(r).serialize(),n=a("div.job_listings").index(e);window.history.replaceState({id:"job_manager_state",page:t,data:i,index:n},"",s+"#s=1")}}var t=[];a(".job_listings").on("update_results",function(e,r,i,s){var n="",o=a(this),l=a(".job_filters"),_="h2.showing_jobs",d=o.find(".job_listings"),g=o.data("per_page"),c=o.data("orderby"),u=o.data("order"),f=o.data("featured"),h=o.data("filled"),p=a("div.job_listings").index(this),m=a(".listings-loader");if(!(p<0)){t[p]&&t[p].abort(),i||(a(d).addClass("loading"),a(m).fadeIn(),r>1&&1!=o.data("show_pagination")?a(d).before('<a class="load_more_jobs load_previous" href="#"><strong>'+job_manager_ajax_filters.i18n_load_prev_listings+"</strong></a>"):o.find(".load_previous").remove(),o.find(".load_more_jobs").data("page",r));var b=[];a(':input[name="filter_job_type[]"]:checked, :input[name="filter_job_type[]"][type="hidden"], :input[name="filter_job_type"]',l).each(function(){b.push(a(this).val())});var j=l.find(':input[name^="search_categories"]').map(function(){return a(this).val()}).get(),v="",y="",w=l.find(':input[name="search_keywords"]'),x=l.find(':input[name="search_location"]');w.val()!==w.attr("placeholder")&&(v=w.val()),x.val()!==x.attr("placeholder")&&(y=x.val()),n={lang:job_manager_ajax_filters.lang,search_keywords:v,search_location:y,search_categories:j,filter_job_type:b,per_page:g,orderby:c,order:u,page:r,featured:f,filled:h,show_pagination:o.data("show_pagination"),form_data:l.serialize()},t[p]=a.ajax({type:"POST",url:job_manager_ajax_filters.ajax_url.toString().replace("%%endpoint%%","get_listings"),data:n,success:function(e){if(e)try{e.showing?(a(_).show().html(e.showing),a(".sidebar .job_filters_links").html(e.showing_links)):(a(_).hide(),a(".sidebar .job_filters_links").hide()),a("#titlebar .count_jobs").html(e.post_count),e.showing_all?a(_).addClass("wp-job-manager-showing-all"):a(_).removeClass("wp-job-manager-showing-all"),e.html&&(i&&s?a(d).prepend(e.html):i?a(d).append(e.html):a(d).html(e.html)),1==o.data("show_pagination")?(o.find(".job-manager-pagination").remove(),e.pagination&&o.append(e.pagination)):(!e.found_jobs||e.max_num_pages<=r?a(".load_more_jobs:not(.load_previous)",o).hide():s||a(".load_more_jobs",o).show(),a(".load_more_jobs i",o).removeClass("fa fa-refresh fa-spin").addClass("fa fa-plus-circle"),a("li.job_listing",d).css("visibility","visible")),a(d).removeClass("loading"),a(m).fadeOut(),o.triggerHandler("updated_results",e)}catch(a){window.console&&console.log(a)}},error:function(a,e,t){window.console&&"abort"!==e&&console.log(e+": "+t)},statusCode:{404:function(){window.console&&console.log("Error 404: Ajax Endpoint cannot be reached. Go to Settings > Permalinks and save to resolve.")}}})}});var r=parseInt(job_manager_ajax_filters.salary_min,10),i=parseInt(job_manager_ajax_filters.salary_max,10);a("#salary-range").slider({range:!0,min:parseInt(job_manager_ajax_filters.salary_min,10),max:parseInt(job_manager_ajax_filters.salary_max,10),values:[r,i],step:1e3,slide:function(e,t){a("input#salary_amount").val(t.values[0]+"-"+t.values[1]),a(".salary_amount .from").text(job_manager_ajax_filters.currency+t.values[0]),a(".salary_amount .to").text(job_manager_ajax_filters.currency+t.values[1])}}),a(".salary_amount .from").text(job_manager_ajax_filters.currency+a("#salary-range").slider("values",0)),a(".salary_amount .to").text(job_manager_ajax_filters.currency+a("#salary-range").slider("values",1)),a("input#salary_amount").val(a("#salary-range").slider("values",0)+"-"+a("#salary-range").slider("values",1));var r=parseInt(job_manager_ajax_filters.rate_min,10),i=parseInt(job_manager_ajax_filters.rate_max,10);a("#rate-range").slider({range:!0,min:parseInt(job_manager_ajax_filters.rate_min,10),max:parseInt(job_manager_ajax_filters.rate_max,10),values:[r,i],step:10,slide:function(e,t){a("input#rate_amount").val(t.values[0]+"-"+t.values[1]),a(".rate_amount .from").text(job_manager_ajax_filters.currency+t.values[0]),a(".rate_amount .to").text(job_manager_ajax_filters.currency+t.values[1])}}),a(".rate_amount .from").text(job_manager_ajax_filters.currency+a("#rate-range").slider("values",0)),a(".rate_amount .to").text(job_manager_ajax_filters.currency+a("#rate-range").slider("values",1)),a("input#rate_amount").val(a("#rate-range").slider("values",0)+"-"+a("#rate-range").slider("values",1)),a("#search_keywords, #search_location, #search_radius, .radius_type, .job_types :input, #search_categories, .job-manager-filter, .filter_by_check").change(function(){var t=a("div.job_listings");t.triggerHandler("update_results",[1,!1]),e(t,1)}).on("keyup",function(e){13===e.which&&a(this).trigger("change")}),a(".filter_by_check").change(function(e){a(this).parents(".widget").find(".widget_range_filter-inside").toggle()}),a("#salary-range,#rate-range").on("slidestop",function(t,r){var i=a("div.job_listings");i.triggerHandler("update_results",[1,!1]),e(i,1)}),a(".job_filters").on("click",".reset",function(){var t=a("div.job_listings"),r=a(this).closest("form");return r.find(':input[name="search_keywords"], :input[name="search_location"], .job-manager-filter').not(':input[type="hidden"]').val("").trigger("chosen:updated"),r.find(':input[name^="search_categories"]').not(':input[type="hidden"]').val(0).trigger("chosen:updated"),a(':input[name="filter_job_type[]"]',r).not(':input[type="hidden"]').attr("checked","checked"),a(".search_keywords #search_keywords").val(""),a("#search_radius").val(""),a(".job_filters #search_keywords").val(""),a(".filter_by_check").prop("checked",!1),a(".widget_range_filter-inside").hide(),a("#salary-range,#rate-range").each(function(){var e=a(this).slider("option");a(this).slider("values",[e.min,e.max])}),t.triggerHandler("reset"),t.triggerHandler("update_results",[1,!1]),e(t,1),!1}),a(document.body).on("click",".load_more_jobs",function(){var t=a(this).closest("div.job_listings"),r=parseInt(a(this).data("page")||1),i=!1;return a(this).find("i").removeClass("fa fa-plus-circle").addClass("fa fa-refresh fa-spin"),a(this).is(".load_previous")?(r-=1,i=!0,1===r?a(this).remove():a(this).data("page",r)):(r+=1,a(this).data("page",r),e(t,r)),t.triggerHandler("update_results",[r,!0,i]),!1}),a("div.job_listings").on("click",".job-manager-pagination a",function(){var t=a(this).closest("div.job_listings"),r=a(this).data("page");return e(t,r),t.triggerHandler("update_results",[r,!1]),a("body, html").animate({scrollTop:t.offset().top-40},600),!1}),a.isFunction(a.fn.chosen)&&(1==job_manager_ajax_filters.is_rtl&&a('select[name^="search_categories"]').addClass("chosen-rtl"),a('select[name^="search_categories"]').chosen({search_contains:!0})),window.history&&window.history.pushState?$supports_html5_history=!0:$supports_html5_history=!1;var s=document.location.href.split("#")[0];a(window).on("load",function(e){a(".job_filters").each(function(){var e=a("div.job_listings"),t=a(".job_filters"),r=1,i=a("div.job_listings").index(e);if(window.history.state&&window.location.hash){var s=window.history.state;s.id&&"job_manager_state"===s.id&&i==s.index&&(r=s.page,t.deserialize(s.data),t.find(':input[name^="search_categories"]').not(':input[type="hidden"]').trigger("chosen:updated"))}e.triggerHandler("update_results",[r,!1])})})}),jQuery(document).ready(function(a){a(".job_filters").on("click",".filter_by_tag a",function(e){e.preventDefault();var t=a(this).text(),r=a(".filter_by_tag").find('input[value="'+t+'"]');return r.size()>0?(a(r).remove(),a(this).removeClass("active")):(a(".filter_by_tag").append('<input type="hidden" name="job_tag[]" value="'+t+'" />'),a(this).addClass("active")),a(".job_listings").trigger("update_results",[1,!1]),!1}),a(".job_listings").on("reset",function(){a(".filter_by_tag a.active").removeClass("active"),a(".filter_by_tag input").remove()}).on("updated_results",function(e,t){if(t.tag_filter){var r=a(".job_filters");r.find(".filter_by_tag_cloud").html(t.tag_filter),r.find(".filter_by_tag").show(),r.find(".filter_by_tag input").each(function(){var e=a(this).val();r.find(".filter_by_tag a").each(function(){a(this).text()===e&&a(this).addClass("active")})})}else a(".job_filters").find(".filter_by_tag").hide()}).on("change","#search_categories",function(){var e=a(this).closest("div.job_listings");a(".job_filters").find(".filter_by_tag input").remove(),e.trigger("update_results",[1,!1])})});

Так же иногда выдаёт и такую ошибку: POST http://photo.lady-shine.ru/jm-ajax/get_listings/ 500 (Internal Server Error) , jquery.js?ver=1.12.4:4

Такого каталога у меня нет site.ru/jm-ajax/get_listings. Видел у другого владельца сайт, там почему то ошибки 500 нету в консоле разработчика, и загрузка не виснет, но ошибка, которая показывает, что товаров 0 (когда они есть) присутствует. А если я у их перейду по адресу site.ru/jm-ajax/get_listings то увижу следующее

{"found_jobs":true,"html":"\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-part-time left post-2492 type-job_listing status-publish hentry job_listing_category-healthcare job_listing_type-part-time\" data-longitude=\"-1.546126700000059\" data-latitude=\"53.3795271\">\n\t<a href=\"https:\/\/workscout.in\/job\/clinical-psychologist\/\">\n\t\t<img class=\"company_logo\" src=\"https:\/\/workscout.in\/wp-content\/plugins\/wp-job-manager\/assets\/images\/company.png\" alt=\"Rose Clinic\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Clinical Psychologist <span class=\"job-type part-time\">Part Time<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Rose Clinic<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Manchester Road, Sheffield, United Kingdom<\/span>\n\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-rate\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i> &#36;15- &#36;25 \/ hour\t\t\t\t\t<\/span>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#36;40000 - &#36;50000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>The successful individual will be working within a small treatment service with patients that have either Learning Disabilities and\/or mental health problems. The post holder will be required t to&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-full-time left post-2490 type-job_listing status-publish has-post-thumbnail hentry job_listing_category-healthcare job_listing_type-full-time\" data-longitude=\"-73.9790653\" data-latitude=\"40.7668893\">\n\t<a href=\"https:\/\/workscout.in\/job\/senior-health-and-nutrition-advisor\/\">\n\t\t<img class=\"company_logo\" src=\"https:\/\/workscout.in\/wp-content\/uploads\/2015\/10\/Untitled-1-Recovered-150x150_036a17cc6b1cbce4285ea7c4d6a34e16.png\" alt=\"Telimed\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Senior Health and Nutrition Advisor <span class=\"job-type full-time\">Full Time<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Telimed<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> 7th Avenue, New York, NY, United States<\/span>\n\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-rate\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i> &#36;25- &#36;35 \/ hour\t\t\t\t\t<\/span>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#36;30000 - &#36;35000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>Offer strategic and technical health and nutrition advice to headquarters and field staff, as well as training and coaching Telimed field health and nutrition staff in emergency (acute and chronic)&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-temporary left post-2489 type-job_listing status-publish has-post-thumbnail hentry job_listing_category-restaurant-food-service job_listing_type-temporary\" data-longitude=\"-0.001870000000053551\" data-latitude=\"51.54327\">\n\t<a href=\"https:\/\/workscout.in\/job\/restaurant-dishwasher\/\">\n\t\t<img class=\"company_logo\" src=\"https:\/\/workscout.in\/wp-content\/uploads\/2015\/10\/company-logo.png\" alt=\"King LLC\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Restaurant Dishwasher <span class=\"job-type temporary\">Temporary<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> King LLC<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Stratford, London, United Kingdom<\/span>\n\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-rate\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i> &#36;8- &#36;12 \/ hour\t\t\t\t\t<\/span>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#36;55000 - &#36;70000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>The Dishwasher is responsible for proper use, care, and maintenance of the dish machine. The Dishwasher is also responsible for minor interior and exterior maintenance (snow &amp; ice removal, trash&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t","showing":"","showing_all":true,"showing_links":"<a href=\"#\" class=\"reset\">Reset<\/a><a href=\"https:\/\/workscout.in?feed=job_feed&#038;job_types&#038;search_location&#038;job_categories&#038;search_keywords\" class=\"rss_link\">RSS<\/a>","max_num_pages":8,"tag_filter":"","post_count":"23"}

У меня если перейти по этому адресу показывает в два раза больше:

{"found_jobs":true,"html":"\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-pticy left post-105 type-job_listing status-publish hentry job_listing_category-izgotovlenie-kletok job_listing_type-pticy not-claimed\" data-longitude=\"-1.546126700000059\" data-latitude=\"53.3795271\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/clinical-psychologist\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/photo.lady-shine.ru\/wp-content\/plugins\/wp-job-manager\/assets\/images\/company.png\" alt=\"Rose Clinic\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Clinical Psychologist <span class=\"job-type pticy\">\u041f\u0442\u0438\u0446\u044b<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Rose Clinic<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Manchester Road, Sheffield, United Kingdom<\/span>\n\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-rate\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i> &#1088;&#1091;&#1073;.25- &#1088;&#1091;&#1073;.15 \/ hour\t\t\t\t\t<\/span>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#1088;&#1091;&#1073;.40000 - &#1088;&#1091;&#1073;.50000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>The successful individual will be working within a small treatment service with patients that have either Learning Disabilities and\/or mental health problems. The post holder will be required t to&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-koty-koshki left post-106 type-job_listing status-publish hentry job_listing_category-izgotovlenie-kletok job_listing_type-koty-koshki not-claimed\" data-longitude=\"-73.9790653\" data-latitude=\"40.7668893\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/senior-health-and-nutrition-advisor\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/workscout.purethe.me\/files\/2015\/10\/Untitled-1-Recovered.png\" alt=\"Telimed\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Senior Health and Nutrition Advisor <span class=\"job-type koty-koshki\">\u041a\u043e\u0442\u044b \/ \u041a\u043e\u0448\u043a\u0438<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Telimed<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> 7th Avenue, New York, NY, United States<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#1088;&#1091;&#1073;.30000 - &#1088;&#1091;&#1073;.35000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>Offer strategic and technical health and nutrition advice to headquarters and field staff, as well as training and coaching Telimed field health and nutrition staff in emergency (acute and chronic)&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-ekzoticheskie left post-107 type-job_listing status-publish hentry job_listing_category-obsluzhivanie-i-chistka job_listing_type-ekzoticheskie not-claimed\" data-longitude=\"-0.001870000000053551\" data-latitude=\"51.54327\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/restaurant-dishwasher\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/workscout.purethe.me\/files\/2015\/10\/company-logo1.png\" alt=\"King LLC\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Restaurant Dishwasher <span class=\"job-type ekzoticheskie\">\u042d\u043a\u0437\u043e\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> King LLC<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Stratford, London, United Kingdom<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#1088;&#1091;&#1073;.55000 - &#1088;&#1091;&#1073;.70000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>The Dishwasher is responsible for proper use, care, and maintenance of the dish machine. The Dishwasher is also responsible for minor interior and exterior maintenance (snow &amp; ice removal, trash&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-sobaki left post-108 type-job_listing status-publish hentry job_listing_category-ritualnye-uslugi job_listing_category-fotouslugi job_listing_type-sobaki not-claimed\" data-longitude=\"13.3883826\" data-latitude=\"52.5318835\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/social-media-and-public-relation-executive\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/photo.lady-shine.ru\/wp-content\/plugins\/wp-job-manager\/assets\/images\/company.png\" alt=\"Socielity\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Social Media and Public Relation Executive <span class=\"job-type sobaki\">\u0421\u043e\u0431\u0430\u043a\u0438<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Socielity<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Berlin Nordbahnhof, Invalidenstra\u00dfe, Berlin, Germany<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#1088;&#1091;&#1073;.15000 \t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>The Social Media &amp; PR Executive will be responsible for increasing hotel marketing communication across a variety of social media platforms to engage the audience in relevant conversations and coordinate&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-gryzuny left post-109 type-job_listing status-publish hentry job_listing_category-priem-i-osmotr-zhivotnogo job_listing_category-veterinarnye-uslugi job_listing_type-gryzuny not-claimed\" data-longitude=\"-104.8263422\" data-latitude=\"39.6315664\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/grader-operator\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/workscout.purethe.me\/files\/2015\/10\/Untitled-1.png\" alt=\"Diag Block\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Grader Operator <span class=\"job-type gryzuny\">\u0413\u0440\u044b\u0437\u0443\u043d\u044b<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Diag Block<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Colorado 83, Aurora, CO, United States<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<span class=\"ws-meta-salary\">\n\t\t\t\t\t\t<i class=\"fa fa-money\"><\/i>\n\t\t\t\t\t\t&#1088;&#1091;&#1073;.35000 - &#1088;&#1091;&#1073;.38000\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>The Heavy Equipment \/ Grader\u00a0Operator\u00a0 is responsible for operating one or several types of power construction equipment, such as front end loader, roller, bulldozer, or excavator in order to move,&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-koty-koshki left post-110 type-job_listing status-publish hentry job_listing_category-perevozka-zhivotnyx job_listing_type-koty-koshki not-claimed\" data-longitude=\"2.086515400000053\" data-latitude=\"41.4720702\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/head-of-commercial-contracts\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/photo.lady-shine.ru\/wp-content\/plugins\/wp-job-manager\/assets\/images\/company.png\" alt=\"Moore &amp; Kavinsky\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Head of Commercial Contracts <span class=\"job-type koty-koshki\">\u041a\u043e\u0442\u044b \/ \u041a\u043e\u0448\u043a\u0438<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Moore &amp; Kavinsky<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Sant Cugat del Vall\u00e8s, Barcelona, Spain<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>As part of the continued drive for excellence, the University is seeking an experienced commercial contracting professional, to form part of the finance division senior team within this unique environment&#8230;.<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-akvariumistika left post-111 type-job_listing status-publish hentry job_listing_category-individualnaya-kremaciya job_listing_type-akvariumistika not-claimed\" data-longitude=\"-0.4907180000000153\" data-latitude=\"38.34606019999999\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/telecommunication-systems-engineer\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/photo.lady-shine.ru\/wp-content\/plugins\/wp-job-manager\/assets\/images\/company.png\" alt=\"Virgin\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Telecommunication Systems Engineer <span class=\"job-type akvariumistika\">\u0410\u043a\u0432\u0430\u0440\u0438\u0443\u043c\u0438\u0441\u0442\u0438\u043a\u0430<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Virgin<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Plaza de los Luceros, Alicante, Spain<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>Education: A Bachelor&#8217;s degree from an accredited college or university with a major in telecommunications, computer science, electrical engineering or closely related field. &nbsp; Experience: Five years of experience in&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-pticy left post-112 type-job_listing status-publish hentry job_listing_category-xendling job_listing_type-pticy not-claimed\" data-longitude=\"7.774270200000046\" data-latitude=\"44.25746739999999\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/motor-vehicle-technician\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/photo.lady-shine.ru\/wp-content\/plugins\/wp-job-manager\/assets\/images\/company.png\" alt=\"Garbage Garage\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Vehicle Technician <span class=\"job-type pticy\">\u041f\u0442\u0438\u0446\u044b<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Garbage Garage<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Frabosa Sottana, Province of Cuneo, Italy<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>A fantastic opportunity has arisen for a Motor vehicle Technician at Garbage Garage As a Motor Vehicle Technician you\u2019ll spend most of your time in our workshop maintaining vehicles\u00a0to the&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing left post-113 type-job_listing status-publish hentry job_listing_category-vyazka not-claimed\" data-longitude=\"55.2707828\" data-latitude=\"25.2048493\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/senior-technician-trading-enterprise\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/workscout.purethe.me\/files\/2015\/10\/travelsea1.png\" alt=\"Travelsea\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Senior Technician &#8212; Trading Enterprise <span class=\"job-type \"><\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Travelsea<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Dubai<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>As part of our Automotive team in Dubai, you will be responsible for ensuring customer satisfaction by performing quality servicing and repairs on Passenger Sedans and 4 wheel drive vehicles,&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t\t\t\n\n<li class=\"job_listing job-type-pticy left post-114 type-job_listing status-publish hentry job_listing_category-vyazka job_listing_type-pticy not-claimed\" data-longitude=\"-87.77921959999998\" data-latitude=\"41.7014217\">\n\t<a href=\"http:\/\/photo.lady-shine.ru\/job\/warehouse-operative\/\">\n\t\t<img class=\"company_logo\" src=\"http:\/\/workscout.purethe.me\/files\/2015\/10\/sdf2.png\" alt=\"Cubico\" \/>\t\t<div class=\"job-list-content\">\n\t\t\t<h4>Warehouse Operative <span class=\"job-type pticy\">\u041f\u0442\u0438\u0446\u044b<\/span> \n\t\t\t<\/h4>\n\n\t\t\t<div class=\"job-icons\">\n\t\t\t\t\t\t\t\t<span class=\"ws-meta-company-name\"><i class=\"fa fa-briefcase\"><\/i> Cubico<\/span>\n\t\t\t\t<span class=\"ws-meta-job-location\"><i class=\"fa fa-map-marker\"><\/i> Chicago Ridge, IL, United States<\/span>\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"listing-desc\"><p>As a warehouse operative you&#8217;ll receive great benefits and incentives! You can be active around a warehouse or if you would you rather use your organisational skills at a workstation?&#8230;<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\n\t\t<\/div>\n\t<\/a>\n<div class=\"clearfix\"><\/div>\n<\/li>\n\t\t\t\n\t\t","showing":"","showing_all":true,"showing_links":"<a href=\"#\" class=\"reset\">Reset<\/a><a href=\"http:\/\/photo.lady-shine.ru?feed=job_feed&#038;job_types&#038;search_location&#038;job_categories&#038;search_keywords\" class=\"rss_link\">RSS<\/a>","max_num_pages":3,"tag_filter":"","post_count":"22"}

В корне сайта есть файл (error_log). В нём несколько одинаковых строчек:

PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

Подскажите в чем может быть проблема, сервер вроде как хороший, всегда на нем все работало.

Answer 1

В панеле хрома (F12) показывает Failed to load resource: the server responded with a status of 500 (Internal Server Error), site.ru/jm-ajax/get_listings/ и ниже error: Internal Server Error , workscout-ajax-filters.min.js:1

В ВП нет каталога jm-ajax. Соответственно, тот кто его туда поместил понятия не имеет как работать с ВП. Тут либо физ каталог либо неправильный урл. Те. разбираться нужно с этой поделкой. А лучше выкинуть её от греха подальше.

См https://codex.wordpress.org/AJAX_in_Plugins

READ ALSO
Адаптивная фотогалерея

Адаптивная фотогалерея

Подскажите, как сделать вот такую адаптивную фотогалереюhttp://joxi

463
Помогите с flexbox&#39;ом

Помогите с flexbox'ом

Как придать элементу значение justify-content: center и flex-start одновременно? Получается что мне необходимо сделать все блоки в центре, а последнюю строчку...

276
Как увеличить скорость работы сайта Front?

Как увеличить скорость работы сайта Front?

На сайте backend отрабатывает за 50 мс, а фронт забирает кучу времениВ итоге полсекунды на отображение страницы с использованием кэша, без кэша...

374
MySql использует весь ресурс процессора

MySql использует весь ресурс процессора

Сервер постоянно загружен почти на 100% Проблема возникает с запуском службы mysqlCPU на 80% загружает - /usr/sbin/mysql --basedir/var/lib/mysql --plugin-dir/usr/lib/mysql/plugin...

346