var phpdebugbar = new PhpDebugBar.DebugBar(); phpdebugbar.addIndicator("php_version", new PhpDebugBar.DebugBar.Indicator({"icon":"code","tooltip":"PHP Version"}), "right"); phpdebugbar.addTab("messages", new PhpDebugBar.DebugBar.Tab({"icon":"list-alt","title":"Messages", "widget": new PhpDebugBar.Widgets.MessagesWidget()})); phpdebugbar.addIndicator("time", new PhpDebugBar.DebugBar.Indicator({"icon":"clock-o","tooltip":"Request Duration"}), "right"); phpdebugbar.addTab("timeline", new PhpDebugBar.DebugBar.Tab({"icon":"tasks","title":"Timeline", "widget": new PhpDebugBar.Widgets.TimelineWidget()})); phpdebugbar.addIndicator("memory", new PhpDebugBar.DebugBar.Indicator({"icon":"cogs","tooltip":"Memory Usage"}), "right"); phpdebugbar.addTab("exceptions", new PhpDebugBar.DebugBar.Tab({"icon":"bug","title":"Exceptions", "widget": new PhpDebugBar.Widgets.ExceptionsWidget()})); phpdebugbar.addTab("views", new PhpDebugBar.DebugBar.Tab({"icon":"leaf","title":"Views", "widget": new PhpDebugBar.Widgets.LaravelViewTemplatesWidget()})); phpdebugbar.addTab("route", new PhpDebugBar.DebugBar.Tab({"icon":"share","title":"Route", "widget": new PhpDebugBar.Widgets.HtmlVariableListWidget()})); phpdebugbar.addIndicator("currentroute", new PhpDebugBar.DebugBar.Indicator({"icon":"share","tooltip":"Route"}), "right"); phpdebugbar.addTab("queries", new PhpDebugBar.DebugBar.Tab({"icon":"database","title":"Queries", "widget": new PhpDebugBar.Widgets.LaravelSQLQueriesWidget()})); phpdebugbar.addTab("models", new PhpDebugBar.DebugBar.Tab({"icon":"cubes","title":"Models", "widget": new PhpDebugBar.Widgets.HtmlVariableListWidget()})); phpdebugbar.addTab("session", new PhpDebugBar.DebugBar.Tab({"icon":"archive","title":"Session", "widget": new PhpDebugBar.Widgets.VariableListWidget()})); phpdebugbar.addTab("request", new PhpDebugBar.DebugBar.Tab({"icon":"tags","title":"Request", "widget": new PhpDebugBar.Widgets.HtmlVariableListWidget()})); phpdebugbar.setDataMap({ "php_version": ["php.version", ], "messages": ["messages.messages", []], "messages:badge": ["messages.count", null], "time": ["time.duration_str", '0ms'], "timeline": ["time", {}], "memory": ["memory.peak_usage_str", '0B'], "exceptions": ["exceptions.exceptions", []], "exceptions:badge": ["exceptions.count", null], "views": ["views", []], "views:badge": ["views.nb_templates", 0], "route": ["route", {}], "currentroute": ["route.uri", ], "queries": ["queries", []], "queries:badge": ["queries.nb_statements", 0], "models": ["models.data", {}], "models:badge": ["models.count", 0], "session": ["session", {}], "request": ["request", {}] }); phpdebugbar.restoreState(); phpdebugbar.ajaxHandler = new PhpDebugBar.AjaxHandler(phpdebugbar, undefined, true); phpdebugbar.ajaxHandler.bindToFetch(); phpdebugbar.ajaxHandler.bindToXHR(); phpdebugbar.setOpenHandler(new PhpDebugBar.OpenHandler({"url":"https:\/\/agrisupp.com\/_debugbar\/open"})); phpdebugbar.addDataSet({"__meta":{"id":"Xc6288e8b0566ae9a6d9bf660bebc06e0","datetime":"2025-05-09 16:53:26","utime":1746802406.243135,"method":"GET","uri":"\/en\/news\/92","ip":"172.71.255.42"},"php":{"version":"8.2.5","interface":"fpm-fcgi"},"messages":{"count":0,"messages":[]},"time":{"start":1746802406.176859,"end":1746802406.243155,"duration":0.06629610061645508,"duration_str":"66.3ms","measures":[{"label":"Booting","start":1746802406.176859,"relative_start":0,"end":1746802406.20053,"relative_end":1746802406.20053,"duration":0.02367115020751953,"duration_str":"23.67ms","params":[],"collector":null},{"label":"Application","start":1746802406.200618,"relative_start":0.023759126663208008,"end":1746802406.243157,"relative_end":1.9073486328125e-6,"duration":0.04253888130187988,"duration_str":"42.54ms","params":[],"collector":null}]},"memory":{"peak_usage":3100312,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":3,"templates":[{"name":"frontend.news.show (resources\/views\/frontend\/news\/show.blade.php)","param_count":9,"params":["news","prevNews","nextNews","user","alternatelangs","canonical","noindex","page_num","switchLangs"],"type":"blade","editorLink":"phpstorm:\/\/open?file=\/app\/agrisupp\/resources\/views\/frontend\/news\/show.blade.php&line=0"},{"name":"frontend.layouts.pages (resources\/views\/frontend\/layouts\/pages.blade.php)","param_count":12,"params":["__env","app","errors","news","prevNews","nextNews","user","alternatelangs","canonical","noindex","page_num","switchLangs"],"type":"blade","editorLink":"phpstorm:\/\/open?file=\/app\/agrisupp\/resources\/views\/frontend\/layouts\/pages.blade.php&line=0"},{"name":"frontend.includes.meta (resources\/views\/frontend\/includes\/meta.blade.php)","param_count":12,"params":["__env","app","errors","news","prevNews","nextNews","user","alternatelangs","canonical","noindex","page_num","switchLangs"],"type":"blade","editorLink":"phpstorm:\/\/open?file=\/app\/agrisupp\/resources\/views\/frontend\/includes\/meta.blade.php&line=0"}]},"route":{"uri":"GET en\/news\/{id}","middleware":"web, news.access","controller":"App\\Http\\Controllers\\Frontend\\NewsController@show","namespace":"App\\Http\\Controllers","prefix":"\/en","where":[],"as":"news.one","file":"app\/Http\/Controllers\/Frontend\/NewsController.php:30-47<\/a>"},"queries":{"nb_statements":25,"nb_failed_statements":0,"accumulated_duration":0.020509999999999997,"accumulated_duration_str":"20.51ms","statements":[{"sql":"select * from `sessions` where `id` = 'uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS' limit 1","type":"query","params":[],"bindings":["uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00221,"duration_str":"2.21ms","stmt_id":"","connection":"uac"},{"sql":"select * from `news` where `news`.`id` = '92' and `news`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":["92"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0005200000000000001,"duration_str":"520\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `news` where `news`.`id` = '92' and `news`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":["92"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00038,"duration_str":"380\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `news` where `id` < 92 and `active` = 1 and `news`.`deleted_at` is null order by `activation_date` desc limit 1","type":"query","params":[],"bindings":["92","1"],"hints":["Use SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[],"duration":0.00074,"duration_str":"740\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `news` where `id` > 92 and `active` = 1 and `news`.`deleted_at` is null order by `activation_date` asc limit 1","type":"query","params":[],"bindings":["92","1"],"hints":["Use SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[],"duration":0.00264,"duration_str":"2.64ms","stmt_id":"","connection":"uac"},{"sql":"select * from `news_translates` where `news_translates`.`news_id` = 92 and `news_translates`.`news_id` is not null and `locale` = 'en'","type":"query","params":[],"bindings":["92","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[],"duration":0.00092,"duration_str":"920\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables`","type":"query","params":[],"bindings":[],"hints":["Use SELECT *<\/code> only if you need all columns from table","The SELECT<\/code> statement has no WHERE<\/code> clause and could examine many more rows than intended"],"show_copy":false,"backtrace":[],"duration":0.00054,"duration_str":"540\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 1 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["1","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0007,"duration_str":"700\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 2 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["2","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00057,"duration_str":"570\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 3 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["3","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00061,"duration_str":"610\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 4 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["4","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0006,"duration_str":"600\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 5 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["5","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00062,"duration_str":"620\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 6 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["6","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0005600000000000001,"duration_str":"560\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 7 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["7","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00064,"duration_str":"640\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 8 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["8","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0005600000000000001,"duration_str":"560\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 9 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["9","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0005899999999999999,"duration_str":"590\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 10 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["10","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.0005899999999999999,"duration_str":"590\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 11 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["11","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00062,"duration_str":"620\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `pages_variables_translates` where `pages_variables_translates`.`variable_id` = 12 and `pages_variables_translates`.`variable_id` is not null and `locale` = 'en' limit 1","type":"query","params":[],"bindings":["12","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00073,"duration_str":"730\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `news_comments` where `news_comments`.`news_id` = 92 and `news_comments`.`news_id` is not null","type":"query","params":[],"bindings":["92"],"hints":["Use SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[],"duration":0.00045,"duration_str":"450\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `news_translates` where `news_translates`.`news_id` = 91 and `news_translates`.`news_id` is not null and `locale` = 'en'","type":"query","params":[],"bindings":["91","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[],"duration":0.00045,"duration_str":"450\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `news_translates` where `news_translates`.`news_id` = 99 and `news_translates`.`news_id` is not null and `locale` = 'en'","type":"query","params":[],"bindings":["99","en"],"hints":["Use SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[],"duration":0.0005200000000000001,"duration_str":"520\u03bcs","stmt_id":"","connection":"uac"},{"sql":"select * from `sessions` where `id` = 'uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS' limit 1","type":"query","params":[],"bindings":["uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00069,"duration_str":"690\u03bcs","stmt_id":"","connection":"uac"},{"sql":"insert into `sessions` (`payload`, `last_activity`, `user_id`, `ip_address`, `user_agent`, `id`) values ('YTozOntzOjY6Il90b2tlbiI7czo0MDoiV0hXNjNMN3I5MzFId1NlVzFwMVNSTHZPSEdCRlJveGJYNlFrRFkxNSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHBzOi8vYWdyaXN1cHAuY29tL2VuL25ld3MvOTIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1746802406, '', '172.71.255.42', 'Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; [email protected])', 'uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS')","type":"query","params":[],"bindings":["YTozOntzOjY6Il90b2tlbiI7czo0MDoiV0hXNjNMN3I5MzFId1NlVzFwMVNSTHZPSEdCRlJveGJYNlFrRFkxNSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHBzOi8vYWdyaXN1cHAuY29tL2VuL25ld3MvOTIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19","1746802406","","172.71.255.42","Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; [email protected])","uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS"],"hints":[],"show_copy":false,"backtrace":[],"duration":0.00237,"duration_str":"2.37ms","stmt_id":"","connection":"uac"},{"sql":"select * from `sessions` where `id` = 'uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS' limit 1","type":"query","params":[],"bindings":["uX6vwsxI5URLLj6i5up8xUM0bCpLSgXvlONZzUWS"],"hints":["Use SELECT *<\/code> only if you need all columns from table","LIMIT<\/code> without ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[],"duration":0.00069,"duration_str":"690\u03bcs","stmt_id":"","connection":"uac"}]},"models":{"data":{"App\\Models\\PagesVariablesTranslate":12,"App\\Models\\PagesVariable":12,"App\\Models\\NewsTranslate":3,"App\\Models\\News":4},"count":31},"session":{"_token":"WHW63L7r931HwSeW1p1SRLvOHGBFRoxbX6QkDY15","_previous":"array:1 [\n \"url\" => \"https:\/\/agrisupp.com\/en\/news\/92\"\n]","_flash":"array:2 [\n \"old\" => []\n \"new\" => []\n]","PHPDEBUGBAR_STACK_DATA":"[]"},"request":{"path_info":"\/en\/news\/92","status_code":"
200<\/span>\n<\/pre>