This is test news for image

This is test news for image
By Aachal Pokharel
Published: October 16, 2024 10:47 AM

helo helo test test

Request history8.2.19PHP Version4.61sRequest Duration6MBMemory UsageGET amp/news/{slug}Route
    • Booting (11.25ms)time
    • Application (4.6s)time
    • 1 x Application (99.76%)
      4.60s
      1 x Booting (0.24%)
      11.25ms
      1 templates were rendered
      • frontend.amp-detailamp-detail.blade.php#?blade
      uri
      GET amp/news/{slug}
      middleware
      web, mynews, kyc
      controller
      App\Http\Controllers\Frontend\News\NewsController@getBySlug
      namespace
      prefix
      where
      as
      news.slug
      file
      app/Http/Controllers/Frontend/News/NewsController.php:276-373
      10 statements were executed4.55s
      • NewsController.php#297republica1791msselect `id`, `title`, `content`, `excerpt`, `permalink`, `pub_date`, `is_subscriber_only`, `is_subscriber_user`, `is_free`, `is_logged_in_user`, `content`, `caption`, `news_slug`, `exclusive_news` from `news` where `permalink` = 'this-is-test-news-for-image-670f49002913c.html' and `status` = 1 limit 1
        Bindings
        • 0: this-is-test-news-for-image-670f49002913c.html
        • 1: 1
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:297
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:291
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • NewsController.php#297republica1550μsselect `attachments`.`id`, `directory`, `file`, `news_has_attachments`.`news_id` as `pivot_news_id`, `news_has_attachments`.`attachment_id` as `pivot_attachment_id`, `news_has_attachments`.`created_at` as `pivot_created_at`, `news_has_attachments`.`updated_at` as `pivot_updated_at` from `attachments` inner join `news_has_attachments` on `attachments`.`id` = `news_has_attachments`.`attachment_id` where `news_has_attachments`.`is_featured_image` = '0' and `news_has_attachments`.`news_id` in (158445)
        Bindings
        • 0: 0
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:297
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:291
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • NewsController.php#297republica1590μsselect `categories`.`id`, `name`, `news_has_categories`.`news_id` as `pivot_news_id`, `news_has_categories`.`category_id` as `pivot_category_id`, `news_has_categories`.`created_at` as `pivot_created_at`, `news_has_categories`.`updated_at` as `pivot_updated_at` from `categories` inner join `news_has_categories` on `categories`.`id` = `news_has_categories`.`category_id` where `news_has_categories`.`news_id` in (158445)
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:297
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:291
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • NewsController.php#297republica1660μsselect `attachments`.`id`, `directory`, `file`, `news_has_attachments`.`news_id` as `pivot_news_id`, `news_has_attachments`.`attachment_id` as `pivot_attachment_id`, `news_has_attachments`.`created_at` as `pivot_created_at`, `news_has_attachments`.`updated_at` as `pivot_updated_at` from `attachments` inner join `news_has_attachments` on `attachments`.`id` = `news_has_attachments`.`attachment_id` where `news_has_attachments`.`is_featured_image` = '1' and `news_has_attachments`.`news_id` in (158445)
        Bindings
        • 0: 1
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:297
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:291
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • NewsController.php#297republica1610μsselect `authors`.`id`, `name`, `avatar`, `news_has_authors`.`news_id` as `pivot_news_id`, `news_has_authors`.`author_id` as `pivot_author_id`, `news_has_authors`.`created_at` as `pivot_created_at`, `news_has_authors`.`updated_at` as `pivot_updated_at` from `authors` inner join `news_has_authors` on `authors`.`id` = `news_has_authors`.`author_id` where `news_has_authors`.`news_id` in (158445)
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:297
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:291
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
      • NewsController.php#388republica13.09sselect `id`, `title`, `excerpt`, `permalink`, `pub_date`, `is_subscriber_only`, MATCH(title, excerpt) AGAINST ('This is test news for image' IN BOOLEAN MODE) as score from `news` where `id` != 158445 and `status` = 1 order by `score` desc, `pub_date` desc limit 6
        Bindings
        • 0: 158445
        • 1: 1
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:388
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:380
        • app/Http/Controllers/Frontend/News/NewsController.php:306
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • NewsController.php#388republica11.28msselect `attachments`.`id`, `directory`, `file`, `news_has_attachments`.`news_id` as `pivot_news_id`, `news_has_attachments`.`attachment_id` as `pivot_attachment_id`, `news_has_attachments`.`created_at` as `pivot_created_at`, `news_has_attachments`.`updated_at` as `pivot_updated_at` from `attachments` inner join `news_has_attachments` on `attachments`.`id` = `news_has_attachments`.`attachment_id` where `news_has_attachments`.`is_featured_image` = '0' and `news_has_attachments`.`news_id` in (91814, 101140, 105863, 109411, 144587, 150385)
        Bindings
        • 0: 0
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:388
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:380
        • app/Http/Controllers/Frontend/News/NewsController.php:306
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • NewsController.php#388republica1650μsselect `attachments`.`id`, `directory`, `file`, `news_has_attachments`.`news_id` as `pivot_news_id`, `news_has_attachments`.`attachment_id` as `pivot_attachment_id`, `news_has_attachments`.`created_at` as `pivot_created_at`, `news_has_attachments`.`updated_at` as `pivot_updated_at` from `attachments` inner join `news_has_attachments` on `attachments`.`id` = `news_has_attachments`.`attachment_id` where `news_has_attachments`.`is_featured_image` = '1' and `news_has_attachments`.`news_id` in (91814, 101140, 105863, 109411, 144587, 150385)
        Bindings
        • 0: 1
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:388
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:380
        • app/Http/Controllers/Frontend/News/NewsController.php:306
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • NewsController.php#416republica11.01msselect `id`, `title`, `excerpt`, `permalink`, `pub_date`, `is_subscriber_only`, `read_time`, `news_slug` from `news` where `pub_date` between '2025-04-23 22:42:12' and '2025-04-24 22:42:12' and `id` not in (158445) and `status` = 1 order by `view_count` desc limit 3
        Bindings
        • 0: 2025-04-23 22:42:12
        • 1: 2025-04-24 22:42:12
        • 2: 158445
        • 3: 1
        Backtrace
        • app/Http/Controllers/Frontend/News/NewsController.php:416
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:426
        • app/Http/Controllers/Frontend/News/NewsController.php:410
        • app/Http/Controllers/Frontend/News/NewsController.php:315
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • UpdateNewsVisitListener.php#27republica1671msupdate `news` set `view_count` = `view_count` + 1, `news`.`updated_at` = '2025-04-24 22:42:12' where `id` = 158445 and `status` = 1
        Bindings
        • 0: 2025-04-24 22:42:12
        • 1: 158445
        • 2: 1
        Backtrace
        • app/Listeners/UpdateNewsVisitListener.php:27
        • vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:473
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:264
      App\Models\Attachment
      8Attachment.php#?
      App\Models\News
      7News.php#?
      App\Models\Category
      1Category.php#?
      App\Models\Author
      1Author.php#?
          _token
          nb2coI0PR11HY13FWirIfxMSSIOWzLilMmGtY9pc
          subscriber_only_page
          https://newtest.myrepublica.com/amp/news/this-is-test-news-for-image-670f49002913c.html
          _previous
          array:1 [ "url" => "https://newtest.myrepublica.com/amp/news/this-is-test-news-for-image-670f49002...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          path_info
          /amp/news/this-is-test-news-for-image-670f49002913c.html
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:22 [ "cf-visitor" => array:1 [ 0 => "{"scheme":"https"}" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "cf-connecting-ip" => array:1 [ 0 => "3.15.20.220" ] "cdn-loop" => array:1 [ 0 => "cloudflare; loops=1" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "host" => array:1 [ 0 => "newtest.myrepublica.com" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "cf-ray" => array:1 [ 0 => "9357234f1c328cd5-ORD" ] "accept-encoding" => array:1 [ 0 => "gzip, br" ] "priority" => array:1 [ 0 => "u=0, i" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "x-forwarded-for" => array:1 [ 0 => "3.15.20.220" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Thu, 24 Apr 2025 16:57:12 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InR5eGpqa0lUR1RMUi9POGhWTEl6RXc9PSIsInZhbHVlIjoid0Y4R1lnM0gzdjdQZnFyQzBuaUxCeGdyK1FQSjNFakVBbFZvYVB6WU9FQ3liVG9uTjRDc21Ma21qZWtjZEltQm9CdG9aVVMvWTRlbGpmbklkREhVZ2FmT2RDajlDS2traGhvZTd6VzdtbXdaU0VPWWszWmlVNDY0VmhISXF2Y2wiLCJtYWMiOiIxZjVlODg5YTkyYTU3YTQzNzliY2M5OWRiMWFlZTg5YzNhODlhYmI2YWNjM2Y5NTU0NDdiODZjNzdlMmRjMmFmIiwidGFnIjoiIn0%3D; expires=Fri, 24 Apr 2026 16:57:12 GMT; Max-Age=31536000; path=/; secure; samesite=laxXSRF-TOKEN=eyJpdiI6InR5eGpqa0lUR1RMUi9POGhWTEl6RXc9PSIsInZhbHVlIjoid0Y4R1lnM0gzdjdQZnFyQzBuaUxCeGdyK1FQSjNFakVBbFZvYVB6WU9FQ3liVG9uTjRDc21Ma21qZWtjZEltQm9CdG9aV" 1 => "republica_session=eyJpdiI6Ik9LMmpvNVFCaGphb3E1eEpjVFplemc9PSIsInZhbHVlIjoiSE12VnlSRGF4R3VTa0lKN24wWkNJQTR6QUNLUFlsWERENXpLUzRSVzFORGltUmM4Q1V4K01UVHdRV3hQOHREbm9yd0dDSDEyMmpwVXJsTFcreCs0N2Q5L1dhZDJ2aG5WOENrZktPMlZObkxPbmxvRThsbEJ0c0x3bGx3MCtLLzUiLCJtYWMiOiJmZWFiZDVlNjVjNTlkOWJlZjEyZDk0N2RjYzVkMTM4N2FkNjJkN2QzMzdmOTEzMDVhYTBlNjUzNjFkZDkxY2NiIiwidGFnIjoiIn0%3D; expires=Fri, 24 Apr 2026 16:57:12 GMT; Max-Age=31536000; path=/; secure; httponly; samesite=laxrepublica_session=eyJpdiI6Ik9LMmpvNVFCaGphb3E1eEpjVFplemc9PSIsInZhbHVlIjoiSE12VnlSRGF4R3VTa0lKN24wWkNJQTR6QUNLUFlsWERENXpLUzRSVzFORGltUmM4Q1V4K01UVHdRV3hQOHREbm" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6InR5eGpqa0lUR1RMUi9POGhWTEl6RXc9PSIsInZhbHVlIjoid0Y4R1lnM0gzdjdQZnFyQzBuaUxCeGdyK1FQSjNFakVBbFZvYVB6WU9FQ3liVG9uTjRDc21Ma21qZWtjZEltQm9CdG9aVVMvWTRlbGpmbklkREhVZ2FmT2RDajlDS2traGhvZTd6VzdtbXdaU0VPWWszWmlVNDY0VmhISXF2Y2wiLCJtYWMiOiIxZjVlODg5YTkyYTU3YTQzNzliY2M5OWRiMWFlZTg5YzNhODlhYmI2YWNjM2Y5NTU0NDdiODZjNzdlMmRjMmFmIiwidGFnIjoiIn0%3D; expires=Fri, 24-Apr-2026 16:57:12 GMT; path=/; secureXSRF-TOKEN=eyJpdiI6InR5eGpqa0lUR1RMUi9POGhWTEl6RXc9PSIsInZhbHVlIjoid0Y4R1lnM0gzdjdQZnFyQzBuaUxCeGdyK1FQSjNFakVBbFZvYVB6WU9FQ3liVG9uTjRDc21Ma21qZWtjZEltQm9CdG9aV" 1 => "republica_session=eyJpdiI6Ik9LMmpvNVFCaGphb3E1eEpjVFplemc9PSIsInZhbHVlIjoiSE12VnlSRGF4R3VTa0lKN24wWkNJQTR6QUNLUFlsWERENXpLUzRSVzFORGltUmM4Q1V4K01UVHdRV3hQOHREbm9yd0dDSDEyMmpwVXJsTFcreCs0N2Q5L1dhZDJ2aG5WOENrZktPMlZObkxPbmxvRThsbEJ0c0x3bGx3MCtLLzUiLCJtYWMiOiJmZWFiZDVlNjVjNTlkOWJlZjEyZDk0N2RjYzVkMTM4N2FkNjJkN2QzMzdmOTEzMDVhYTBlNjUzNjFkZDkxY2NiIiwidGFnIjoiIn0%3D; expires=Fri, 24-Apr-2026 16:57:12 GMT; path=/; secure; httponlyrepublica_session=eyJpdiI6Ik9LMmpvNVFCaGphb3E1eEpjVFplemc9PSIsInZhbHVlIjoiSE12VnlSRGF4R3VTa0lKN24wWkNJQTR6QUNLUFlsWERENXpLUzRSVzFORGltUmM4Q1V4K01UVHdRV3hQOHREbm" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "nb2coI0PR11HY13FWirIfxMSSIOWzLilMmGtY9pc" "subscriber_only_page" => "https://newtest.myrepublica.com/amp/news/this-is-test-news-for-image-670f49002913c.html" "_previous" => array:1 [ "url" => "https://newtest.myrepublica.com/amp/news/this-is-test-news-for-image-670f49002913c.html" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
          ClearShow all
          Date ↕MethodURLData
          #12025-04-24 22:42:12GET/amp/news/this-is-test-news-for-image-670f49002913c.html11017