Receiving Helpdesk

what is the red wire in electrical

by Marcellus Borer Published 3 years ago Updated 2 years ago

secondary hot wires

Where to connect the red wire to a light switch?

  • Twist the two copper wires in the first box together and attach them to the ground nut on the switch.
  • Attach the black wire coming from the power source to the black nut on the bottom right of the switch. ...
  • Attach the black wire coming from the light to the top right nut on the switch. ...

More items...

What is the Red Wire in house wiring?

What is the red wire for in house wiring? Red electrical wires are the secondary live wires in 220-volt circuits and are commonly found in a sheathed, multi-conductor cable. These wires are typically used for switch wiring as well as the interconnection between smoke detectors hard-wired into the power system.

Is a red wire negative or positive?

The red wire is usually positive in electrical circuits. Although red usually denotes a positive circuit, there is nothing about the wire itself that makes it positive or negative. Positive and negative terminals only occur in direct current (DC) circuits. Electricity results from the flow of electrons.

Why is there a red wire in my outlet box?

What Is the Red Wire for in an Electrical Outlet?

  • Standard House Wiring Colors. Wiring practices in the United States are stipulated in the National Electrical Code (NEC), and electricians in Canada and Mexico also tend to follow the same ...
  • 240-Volt Outlets. If the outlet you're servicing is the one you use for your range, water heater or dryer, it's a 240-volt outlet.
  • Switch Loops. ...
  • A Loose Red Wire. ...

Can I connect red and black wires together?

These wires are typically used for switch wiring as well as the interconnection between smoke detectors hard-wired into the power system. You can link two red wires together, or you can link a red wire to a black wire. Since red wires conduct current, they are considered hot.

What does a red wire connect to?

Red wires are mostly used to connect the home's power system, and hardwired smoke detectors such that if one alarm goes off, all of them go off. Red wires are used in the installation of ceiling fans, where the light switches may be. Electricians can link a red and black wire or two red wires.

Does the red wire connect to black or white?

Attach the black wire to the outlet you want to always be on (usually the top one) and the red wire to the switched outlet. Connect the white wire to either of the chrome screws (remember, they are still joined) and the ground wire to the green ground screw.

What do you do with the red wire when installing a light?

The exact purpose of a red wire for a light fixture can vary. Except in rare cases, it is a hot wire or a switched hot wire. Check the wire with a non-contact voltage tester with the power and switch turned on. If the tester indicates the wire is hot, turn the switch off and retest.

Is red live or neutral?

In situations where both wiring systems are present, remember that: The earth wire will be green and yellow (or sometimes bare in old systems). The live wire is brown in new systems and red in old systems. The neutral wire is blue in new systems and black in old systems.

Is red wire the same as black?

Standard House Wiring Colors In the standard wire color code, the hot wire in a cable with two conductors plus ground is black, and the extra hot wire in a three-conductor set is red. The standard ground wire color is either bare copper or green.

Can I connect white and red wires together?

In the US, the answer would be no, even though I am reluctant to answer this. White is not aggressive. White is neutral, black is 120, green is ground, and red is the other phase of the mains into your house.

What happens if you switch red and black wires?

If you switch the red and black speaker wires, all that happens is that the drivers push out instead of pulling in (and vice versa).

Which color wires go together?

The protective ground is green or green with yellow stripe. The neutral is white, the hot (live or active) single phase wires are black , and red in the case of a second active....US AC power circuit wiring color codes.FunctionLine, 3-phaselabelL3Color, commonblueColor, alternativeyellow5 more columns

Where do I connect the red wire?

Normally you'll see a red wire in places you would expect a ceiling fan. But in places like a bathroom or a wall light, if you see a red wire, it's a good bet that the red wire is the wire that's connected to the light switch.

Can red wire be used as ground?

If the red wire turns out to be a proper ground, you must mark it at both ends with green tape (or an alternative required by your local code).

What is red wire coming out of ceiling?

A red wire up in the ceiling fan junction box usually indicates that the wiring has been installed which provides separate switch for the light and a separate switch for the fan motor. If your ceiling fan does not have a light fixture, then simply cap off the red wire and attach the fan motor to the black wire.

Why do we use red wire?

Wire-color conventions prevent wiring errors that could cause electric shock, start a fire, or damage appliances or fixtures . Wire manufacturers supply wire in a wide variety of colors, and it is up to the electrician to use the correct wire color in home wiring. The purpose of a red wire for wiring a light fixture varies, but is easily determined in most cases.

What color wire is used for grounding?

The NEC reserves certain wire colors for specific purposes. Green is reserved for ground, and may have yellow stripes. The ground wire often is bare copper. White wires are reserved for the grounded conductor -- often referred to as neutral. Gray also is allowed for neutral, but is rarely used. Other colors are left to the discretion of the electrician, but black, red, and other colors are either always live or carrying current from a switch.

What is conduit wire?

Conduit Wiring. The wiring in some homes is encased in conduit. The metal conduit is allowed to serve as the ground conductor, so bare or green wires are not used. The white wire is the neutral, and all other colors are hot. Electricians often use black, red or blue wires to deliver electricity to a circuit from the main panel.

What color wires are used for smoke detectors?

They may use other colors for switch wiring, such as yellow or tan. Orange wires frequently are used to interlink smoke detectors.

What happens if a wire is hot?

If the wire still is hot, the wire is a hot wire that delivers electrical power to the branch circuit. If turning the switch off turns the wire off, the red wire delivers power from the light switch. Note: Never touch wires or their connection points while the circuit is energized.

What is sheathed cable?

Sheathed Cable. The most common home wiring uses non-metallic sheathed cable with three wires in it: black, white and bare. Some sheathed cable includes a fourth red wire, which makes it useful for wiring fixtures with three-way switches, or a ceiling fan with separate light and fan switches.

What does a red wire mean on an outlet?

You will usually only see a red wire when an outlet is a 240-volt outlet or when a wall switch controls the outlet. In this case, when the switch is "on," the red wire will supply power to the outlet instead of the black wire. Like black electrical wires, red wires are also hot or live wires.

What color is a wire?

Hot or live circuits can be colored black or red, but sometimes blue and yellow. A neutral wire might be either white or gray. The ground wire might be green, green with a yellow stripe, or a bare copper wire. Because these colors can vary, learning the ropes can be a bit confusing at first.

Why Are Electrical Wires Colored?

If you’ve ever witnessed your lights flicker or have lost your electricity because of a power surge, you might have run to your electrical panel to check out what’s wrong. When you opened the panel, you likely saw a variety of tangled colored wires. If you’ve ever wondered why they’re colored that way, well, there’s a good reason for it.

What does green wire mean?

Green indicates the grounding of an electric circuit. A green wire can connect only to another green wire and should never connect to any other color wire. Green wires connect to the grounding terminal in an outlet box and run from the outlet box to the ground bus bar within an electric panel.

Why are wires colored?

If you’ve ever wondered why they’re colored that way, well, there’s a good reason for it. Electrical wires are wrapped in colored insulating casings to indicate each wire’s purpose. Today, every electrical and electronic device made uses color-coding to quickly and unmistakably identify each wire:

What color wires are used for plug ins?

Yellow and blue electrical wires are also used to carry power but are not for wiring the outlets for common plug-in electrical devices. These colors are used for the live wire pulled through conduit.

What is the color code for electrical wires?

All home electrical wires made in the U.S. follow standard color codes—NFPA 70, National Electrical Code (NEC) —set up by the National National Fire Protection Association. Each color identifies a wire’s function in a circuit. Before you try to repair a faulty switch or change an overhead light fixture, learn about the colorful—and incredibly ...

What is green wire?

What are Green Wires? Green insulated wires are often used for grounding. Ground screws on electrical devices are often painted green, too. Never use a green wire for any purpose other than for grounding, as this may pose a serious threat of electrocution for you or a professional working on your home’s electrical system.

What does gray wire mean?

White or gray wires indicate neutral charged wires. However, neutral wires may carry power and pose a danger of electrocution if not handled properly. White and gray wires carry power back to the service panel. Both hot and neutral wires have the potential to shock and injure you if not handled properly.

What is the blue wire used for?

Blue and yellow wires are sometimes used as hot wires. Blue wires are commonly used for travelers in three-way and four-way switch applications. A multimeter will help you check and troubleshoot your home’s electrical wiring system.

What does "hot" mean on a wire?

The term “hot” means these wires carry a live current from your electric panel to the destination. While white wiring is permitted— only when clearly marked with black or white tape—using any other color for a wire carrying current is strongly discouraged.

What is the red wire used for?

Red wires can also be used in some 120-volt applications. Like black wires, red wires can be used as switch legs. Dawson notes that red wires are commonly used when installing ceiling fans that use separate switches for the fan motor and light. When this is the case, the hot black wire is connected to one switch to operate the fan motor, ...

What is the most common color of electrical wire?

Three-way and four-way switches operate a single appliance from multiple locations and use traveler wires to connect the switches. Blue and yellow are considered the most common travel wire colors, ...

What is black wire?

Black wires are “hot” wires, which means they carry a live current from your electrical panel to the destination. They feed electricity to electrical outlets, switches and appliances from the home’s main power supply. Black wires can also be used as “switch legs” that connect wall switches outlets and appliances (like ceiling fans or lights), ...

What is the red wire on a smoke alarm?

Red wires are also used as “trigger wires” for interconnected smoke alarms. In this case, the red trigger wires allow all the interconnected alarms to go off simultaneously when one alarm is triggered. Orange wire may be used in place of red for all of these purposes. 4 / 5. 66North/Getty Images.

What does gray mean on a wire?

White and Gray. “White or gray indicates a neutral wire ,” Dawson says. A neutral wire returns electricity from the hot wire back to a grounded portion of the home’s electrical panel to complete the circuit. Without it, the electrical current couldn’t circulate and the live wire couldn’t provide usable power.

What color wire is used for traveler wire?

Blue and yellow are considered the most common travel wire colors, but brown or purple/violet can also be used. Yellow is more commonly used as a switch leg instead of a traveler wire in these applications. Originally Published: February 12, 2021.

What color wire is used for grounding?

According to Mark Dawson, chief operating officer of Mister Sparky, “green insulated wires are used for grounding.” Green is the most common ground wire color, but “green-yellow” (green wire with a yellow stripe) and “bare” wire ( copper wire without colored insulation) can also be used.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9
8.3.21PHP Version972msRequest Duration2MBMemory UsageGET {post}Route
  • warninglog[04:35:14] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter:...
  • warninglog[04:35:14] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter:...
  • warninglog[04:35:14] LOG.warning: Callables of the form ["Swift_SmtpTransport", "Swift_Transport_EsmtpTranspor...
  • warninglog[04:35:14] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter...
  • warninglog[04:35:14] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[04:35:14] LOG.warning: mt_rand(): Passing null to parameter #2 ($max) of type int is deprecated in ...
  • Booting (16.78ms)
  • Application (955ms)
  • 1 x Application (98.23%)
    955.12ms
    1 x Booting (1.73%)
    16.78ms
    7 templates were rendered
    • themes.DevBlog.content.post (resources/views/themes/DevBlog/content/post.blade.php)34blade
      Params
      0
      post
      1
      postContent
      2
      author
      3
      updated_at
      4
      bing_rich_snippet_text
      5
      bing_rich_snippet_link
      6
      bing_related_keywords
      7
      google_related_keywords
      8
      bing_news_title
      9
      bing_news_description
      10
      bing_videos
      11
      bing_images
      12
      bing_search_result_title
      13
      bing_search_result_description
      14
      bing_search_result_url
      15
      bing_paa_questions
      16
      bing_paa_answers
      17
      bing_slider_faq_questions
      18
      bing_slider_faq_answers
      19
      bing_pop_faq_questions
      20
      bing_pop_faq_answers
      21
      bing_tab_faq_questions
      22
      bing_tab_faq_answers
      23
      google_faq_questions
      24
      google_faq_answers
      25
      google_rich_snippet
      26
      google_search_result
      27
      indexedArray
      28
      total_images
      29
      total_videos
      30
      settings
      31
      url_current
      32
      menus
      33
      sidebar
    • themes.DevBlog.layouts.master (resources/views/themes/DevBlog/layouts/master.blade.php)41blade
      Params
      0
      __env
      1
      app
      2
      errors
      3
      post
      4
      postContent
      5
      author
      6
      updated_at
      7
      bing_rich_snippet_text
      8
      bing_rich_snippet_link
      9
      bing_related_keywords
      10
      google_related_keywords
      11
      bing_news_title
      12
      bing_news_description
      13
      bing_videos
      14
      bing_images
      15
      bing_search_result_title
      16
      bing_search_result_description
      17
      bing_search_result_url
      18
      bing_paa_questions
      19
      bing_paa_answers
      20
      bing_slider_faq_questions
      21
      bing_slider_faq_answers
      22
      bing_pop_faq_questions
      23
      bing_pop_faq_answers
      24
      bing_tab_faq_questions
      25
      bing_tab_faq_answers
      26
      google_faq_questions
      27
      google_faq_answers
      28
      google_rich_snippet
      29
      google_search_result
      30
      indexedArray
      31
      total_images
      32
      total_videos
      33
      settings
      34
      url_current
      35
      menus
      36
      sidebar
      37
      i
      38
      __currentLoopData
      39
      loop
      40
      item
    • themes.DevBlog.panels.head (resources/views/themes/DevBlog/panels/head.blade.php)41blade
      Params
      0
      __env
      1
      app
      2
      errors
      3
      post
      4
      postContent
      5
      author
      6
      updated_at
      7
      bing_rich_snippet_text
      8
      bing_rich_snippet_link
      9
      bing_related_keywords
      10
      google_related_keywords
      11
      bing_news_title
      12
      bing_news_description
      13
      bing_videos
      14
      bing_images
      15
      bing_search_result_title
      16
      bing_search_result_description
      17
      bing_search_result_url
      18
      bing_paa_questions
      19
      bing_paa_answers
      20
      bing_slider_faq_questions
      21
      bing_slider_faq_answers
      22
      bing_pop_faq_questions
      23
      bing_pop_faq_answers
      24
      bing_tab_faq_questions
      25
      bing_tab_faq_answers
      26
      google_faq_questions
      27
      google_faq_answers
      28
      google_rich_snippet
      29
      google_search_result
      30
      indexedArray
      31
      total_images
      32
      total_videos
      33
      settings
      34
      url_current
      35
      menus
      36
      sidebar
      37
      i
      38
      __currentLoopData
      39
      loop
      40
      item
    • themes.DevBlog.panels.header (resources/views/themes/DevBlog/panels/header.blade.php)41blade
      Params
      0
      __env
      1
      app
      2
      errors
      3
      post
      4
      postContent
      5
      author
      6
      updated_at
      7
      bing_rich_snippet_text
      8
      bing_rich_snippet_link
      9
      bing_related_keywords
      10
      google_related_keywords
      11
      bing_news_title
      12
      bing_news_description
      13
      bing_videos
      14
      bing_images
      15
      bing_search_result_title
      16
      bing_search_result_description
      17
      bing_search_result_url
      18
      bing_paa_questions
      19
      bing_paa_answers
      20
      bing_slider_faq_questions
      21
      bing_slider_faq_answers
      22
      bing_pop_faq_questions
      23
      bing_pop_faq_answers
      24
      bing_tab_faq_questions
      25
      bing_tab_faq_answers
      26
      google_faq_questions
      27
      google_faq_answers
      28
      google_rich_snippet
      29
      google_search_result
      30
      indexedArray
      31
      total_images
      32
      total_videos
      33
      settings
      34
      url_current
      35
      menus
      36
      sidebar
      37
      i
      38
      __currentLoopData
      39
      loop
      40
      item
    • themes.DevBlog.panels.navbar (resources/views/themes/DevBlog/panels/navbar.blade.php)41blade
      Params
      0
      __env
      1
      app
      2
      errors
      3
      post
      4
      postContent
      5
      author
      6
      updated_at
      7
      bing_rich_snippet_text
      8
      bing_rich_snippet_link
      9
      bing_related_keywords
      10
      google_related_keywords
      11
      bing_news_title
      12
      bing_news_description
      13
      bing_videos
      14
      bing_images
      15
      bing_search_result_title
      16
      bing_search_result_description
      17
      bing_search_result_url
      18
      bing_paa_questions
      19
      bing_paa_answers
      20
      bing_slider_faq_questions
      21
      bing_slider_faq_answers
      22
      bing_pop_faq_questions
      23
      bing_pop_faq_answers
      24
      bing_tab_faq_questions
      25
      bing_tab_faq_answers
      26
      google_faq_questions
      27
      google_faq_answers
      28
      google_rich_snippet
      29
      google_search_result
      30
      indexedArray
      31
      total_images
      32
      total_videos
      33
      settings
      34
      url_current
      35
      menus
      36
      sidebar
      37
      i
      38
      __currentLoopData
      39
      loop
      40
      item
    • themes.DevBlog.panels.footer (resources/views/themes/DevBlog/panels/footer.blade.php)41blade
      Params
      0
      __env
      1
      app
      2
      errors
      3
      post
      4
      postContent
      5
      author
      6
      updated_at
      7
      bing_rich_snippet_text
      8
      bing_rich_snippet_link
      9
      bing_related_keywords
      10
      google_related_keywords
      11
      bing_news_title
      12
      bing_news_description
      13
      bing_videos
      14
      bing_images
      15
      bing_search_result_title
      16
      bing_search_result_description
      17
      bing_search_result_url
      18
      bing_paa_questions
      19
      bing_paa_answers
      20
      bing_slider_faq_questions
      21
      bing_slider_faq_answers
      22
      bing_pop_faq_questions
      23
      bing_pop_faq_answers
      24
      bing_tab_faq_questions
      25
      bing_tab_faq_answers
      26
      google_faq_questions
      27
      google_faq_answers
      28
      google_rich_snippet
      29
      google_search_result
      30
      indexedArray
      31
      total_images
      32
      total_videos
      33
      settings
      34
      url_current
      35
      menus
      36
      sidebar
      37
      i
      38
      __currentLoopData
      39
      loop
      40
      item
    • themes.DevBlog.panels.scripts (resources/views/themes/DevBlog/panels/scripts.blade.php)41blade
      Params
      0
      __env
      1
      app
      2
      errors
      3
      post
      4
      postContent
      5
      author
      6
      updated_at
      7
      bing_rich_snippet_text
      8
      bing_rich_snippet_link
      9
      bing_related_keywords
      10
      google_related_keywords
      11
      bing_news_title
      12
      bing_news_description
      13
      bing_videos
      14
      bing_images
      15
      bing_search_result_title
      16
      bing_search_result_description
      17
      bing_search_result_url
      18
      bing_paa_questions
      19
      bing_paa_answers
      20
      bing_slider_faq_questions
      21
      bing_slider_faq_answers
      22
      bing_pop_faq_questions
      23
      bing_pop_faq_answers
      24
      bing_tab_faq_questions
      25
      bing_tab_faq_answers
      26
      google_faq_questions
      27
      google_faq_answers
      28
      google_rich_snippet
      29
      google_search_result
      30
      indexedArray
      31
      total_images
      32
      total_videos
      33
      settings
      34
      url_current
      35
      menus
      36
      sidebar
      37
      i
      38
      __currentLoopData
      39
      loop
      40
      item
    uri
    GET {post}
    middleware
    web, checkdate
    as
    post.show
    controller
    App\Http\Controllers\Frontend\json_data\PostController@show
    namespace
    where
    file
    app/Http/Controllers/Frontend/json_data/PostController.php:18-166
    7 statements were executed934ms
    • select * from `posts` where `published_at` <= '2025-06-17 04:35:14' and `slug` = 'what-is-the-red-wire-in-electrical' and `posts`.`deleted_at` is null limit 1
      2.77ms/app/Providers/RouteServiceProvider.php:54receivinghelpdeskask
      Metadata
      Bindings
      • 0. 2025-06-17 04:35:14
      • 1. what-is-the-red-wire-in-electrical
      Backtrace
      • 15. /app/Providers/RouteServiceProvider.php:54
      • 18. /vendor/laravel/framework/src/Illuminate/Routing/Router.php:842
      • 19. Route binding:39
      • 20. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167
      • 21. /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78
    • select * from `json_post_contents` where `json_post_contents`.`post_id` = 63065 and `json_post_contents`.`post_id` is not null and `rewrite_id` = 0
      7.94msmiddleware::checkdate:30receivinghelpdeskask
      Metadata
      Bindings
      • 0. 63065
      • 1. 0
      Backtrace
      • 19. middleware::checkdate:30
      • 20. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167
      • 21. /vendor/laravel/jetstream/src/Http/Middleware/ShareInertiaData.php:61
      • 22. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167
      • 23. /vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50
    • select * from `nova_menu_menus` where `slug` = 'header' limit 1
      1.06ms/vendor/outl1ne/nova-menu-builder/src/helpers.php:32receivinghelpdeskask
      Metadata
      Bindings
      • 0. header
      Backtrace
      • 15. /vendor/outl1ne/nova-menu-builder/src/helpers.php:32
      • 17. /vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • 18. /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45
      • 19. /vendor/laravel/framework/src/Illuminate/Routing/Route.php:261
      • 20. /vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
    • select * from `nova_menu_menu_items` where `nova_menu_menu_items`.`menu_id` = 1 and `nova_menu_menu_items`.`menu_id` is not null and `parent_id` is null order by `parent_id` asc, `order` asc, `name` asc
      570μs/vendor/outl1ne/nova-menu-builder/src/Models/Menu.php:35receivinghelpdeskask
      Metadata
      Bindings
      • 0. 1
      Backtrace
      • 19. /vendor/outl1ne/nova-menu-builder/src/Models/Menu.php:35
      • 20. /vendor/outl1ne/nova-menu-builder/src/helpers.php:33
      • 22. /vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • 23. /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45
      • 24. /vendor/laravel/framework/src/Illuminate/Routing/Route.php:261
    • select * from `nova_menu_menu_items` where `nova_menu_menu_items`.`parent_id` in (1) order by `order` asc
      430μs/vendor/outl1ne/nova-menu-builder/src/Models/Menu.php:35receivinghelpdeskask
      Metadata
      Backtrace
      • 24. /vendor/outl1ne/nova-menu-builder/src/Models/Menu.php:35
      • 25. /vendor/outl1ne/nova-menu-builder/src/helpers.php:33
      • 27. /vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • 28. /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45
      • 29. /vendor/laravel/framework/src/Illuminate/Routing/Route.php:261
    • select `id`, `post_title`, `slug` from `posts` where `status` = 'publish' and `posts`.`deleted_at` is null order by RAND() limit 10
      921ms/app/View/Composers/SidebarView.php:22receivinghelpdeskask
      Metadata
      Bindings
      • 0. publish
      Backtrace
      • 14. /app/View/Composers/SidebarView.php:22
      • 15. /app/View/Composers/SidebarView.php:12
      • 16. /vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:124
      • 17. /vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:162
      • 20. /vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php:177
    • select * from `fake_users` where `fake_users`.`id` = 43240 limit 1
      700μsview::2dd102cf0462e89a4d4d8bc77355d767652bf9aa:15receivinghelpdeskask
      Metadata
      Bindings
      • 0. 43240
      Backtrace
      • 21. view::2dd102cf0462e89a4d4d8bc77355d767652bf9aa:15
      • 23. /vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108
      • 24. /vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • 25. /vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
      • 26. /vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61
    App\Models\FakeUser
    1
    Outl1ne\MenuBuilder\Models\MenuItem
    1
    Outl1ne\MenuBuilder\Models\Menu
    1
    App\Models\JsonPostContent
    1
    App\Models\Post
    11
        _token
        aLLRkzm73VejraJCUglYaL2qwH7mw0XkUws0ejvx
        _previous
        array:1 [ "url" => "https://receivinghelpdesk.com/ask/what-is-the-red-wire-in-electrical" ]
        _flash
        array:2 [ "old" => [] "new" => [] ]
        PHPDEBUGBAR_STACK_DATA
        []
        path_info
        /what-is-the-red-wire-in-electrical
        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:25 [ "cookie" => array:1 [ 0 => "_pk_id.64.7c30=4bf6386e645e8c83.1750115100.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6Ik5QVnBjMERwMkh1RlFkZUp2bjlwaUE9PSIsInZhbHVlIjoiV1ZUMHc2R3lFWXdmM0lEQ01tdXhNNjVIWDNNM3QvQjE0dndKOHpza1hKZXMyZ3FVd0xSZ1VQY1drUExHRkZNVGphekdRMWRnWDF4Nkk5c2NsS1h5WlBIZHc4ViszUHF2R2YwNXl3M3hvTXI5T0IyOWJKVEwyTWR6NHZzaW8zZVEiLCJtYWMiOiJkMmJmZmViOGMwN2M5OTEwOTU3MzcwZjIyODE0ODIzNjFhMDY2ODI5MzQzOTk2ZTQ3MWEwNGJlMjkxZjNlYzhhIiwidGFnIjoiIn0%3D; askhelpdesk_session=eyJpdiI6ImlkODhZZXhyUjZaSURpNE0zTzdNVVE9PSIsInZhbHVlIjoib1lPalhSWkVxQkVjL3NJR2FSYkJkNWdqSlkvSUFjZktwRUs1VXNpLy9xc0J5UFlNenFPZExWUU5LeWhyQXdxZHVNVUs4NE5LSXI5b0hyUXdJdzdoYlZZZThiQ2Q4MWlWMis1Q09uZENKVkNJV01xZjlNc1JvYjBTdGk5dEVWNzMiLCJtYWMiOiI1NWNmNThkZGM2MzdlMmYzMzBjOTYwNmRkMWZkMWQxNDdmMTA2ZWE3Mjc3YTZiZDk0YWM4MDYwMWIwYzhhNzA3IiwidGFnIjoiIn0%3D_pk_id.64.7c30=4bf6386e645e8c83.1750115100.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6Ik5QVnBjMERwMkh1RlFkZUp2bjlwaUE9PSIsInZhbHVlIjoiV1ZUMHc2R3lFWXdmM0lEQ01tdXhNN" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "cf-connecting-ip" => array:1 [ 0 => "216.73.216.120" ] "cdn-loop" => array:1 [ 0 => "cloudflare; loops=1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "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 => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "accept-encoding" => array:1 [ 0 => "gzip, br" ] "cf-ray" => array:1 [ 0 => "950df36c5ccd1265-ORD" ] "priority" => array:1 [ 0 => "u=0, i" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "cf-visitor" => array:1 [ 0 => "{"scheme":"https"}" ] "connection" => array:1 [ 0 => "close" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "216.73.216.120, 172.69.59.181" ] "x-server-addr" => array:1 [ 0 => "154.12.239.204" ] "host" => array:1 [ 0 => "receivinghelpdesk.com" ] ]
        request_server
        0 of 0
        array:56 [ "USER" => "runcloud" "HOME" => "/home/runcloud" "SCRIPT_NAME" => "/ask/index.php" "REQUEST_URI" => "/ask/what-is-the-red-wire-in-electrical" "QUERY_STRING" => "" "REQUEST_METHOD" => "GET" "SERVER_PROTOCOL" => "HTTP/1.0" "GATEWAY_INTERFACE" => "CGI/1.1" "REDIRECT_URL" => "/ask/what-is-the-red-wire-in-electrical" "REMOTE_PORT" => "52766" "SCRIPT_FILENAME" => "/home/runcloud/webapps/ReceivingHelpDesk/ask/index.php" "SERVER_ADMIN" => "you@example.com" "CONTEXT_DOCUMENT_ROOT" => "/home/runcloud/webapps/ReceivingHelpDesk/" "CONTEXT_PREFIX" => "" "REQUEST_SCHEME" => "http" "DOCUMENT_ROOT" => "/home/runcloud/webapps/ReceivingHelpDesk/" "REMOTE_ADDR" => "172.69.59.181" "SERVER_PORT" => "80" "SERVER_ADDR" => "127.0.0.1" "SERVER_NAME" => "receivinghelpdesk.com" "SERVER_SOFTWARE" => "Apache/2.4.63 (Unix) OpenSSL/1.1.1f" "SERVER_SIGNATURE" => "" "LD_LIBRARY_PATH" => "/RunCloud/Packages/apache2-rc/lib" "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HTTP_COOKIE" => "_pk_id.64.7c30=4bf6386e645e8c83.1750115100.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6Ik5QVnBjMERwMkh1RlFkZUp2bjlwaUE9PSIsInZhbHVlIjoiV1ZUMHc2R3lFWXdmM0lEQ01tdXhNNjVIWDNNM3QvQjE0dndKOHpza1hKZXMyZ3FVd0xSZ1VQY1drUExHRkZNVGphekdRMWRnWDF4Nkk5c2NsS1h5WlBIZHc4ViszUHF2R2YwNXl3M3hvTXI5T0IyOWJKVEwyTWR6NHZzaW8zZVEiLCJtYWMiOiJkMmJmZmViOGMwN2M5OTEwOTU3MzcwZjIyODE0ODIzNjFhMDY2ODI5MzQzOTk2ZTQ3MWEwNGJlMjkxZjNlYzhhIiwidGFnIjoiIn0%3D; askhelpdesk_session=eyJpdiI6ImlkODhZZXhyUjZaSURpNE0zTzdNVVE9PSIsInZhbHVlIjoib1lPalhSWkVxQkVjL3NJR2FSYkJkNWdqSlkvSUFjZktwRUs1VXNpLy9xc0J5UFlNenFPZExWUU5LeWhyQXdxZHVNVUs4NE5LSXI5b0hyUXdJdzdoYlZZZThiQ2Q4MWlWMis1Q09uZENKVkNJV01xZjlNc1JvYjBTdGk5dEVWNzMiLCJtYWMiOiI1NWNmNThkZGM2MzdlMmYzMzBjOTYwNmRkMWZkMWQxNDdmMTA2ZWE3Mjc3YTZiZDk0YWM4MDYwMWIwYzhhNzA3IiwidGFnIjoiIn0%3D_pk_id.64.7c30=4bf6386e645e8c83.1750115100.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6Ik5QVnBjMERwMkh1RlFkZUp2bjlwaUE9PSIsInZhbHVlIjoiV1ZUMHc2R3lFWXdmM0lEQ01tdXhNN" "HTTP_CF_IPCOUNTRY" => "US" "HTTP_CF_CONNECTING_IP" => "216.73.216.120" "HTTP_CDN_LOOP" => "cloudflare; loops=1" "HTTP_SEC_FETCH_MODE" => "navigate" "HTTP_SEC_FETCH_SITE" => "none" "HTTP_ACCEPT" => "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" "HTTP_USER_AGENT" => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" "HTTP_UPGRADE_INSECURE_REQUESTS" => "1" "HTTP_SEC_CH_UA_PLATFORM" => ""Windows"" "HTTP_SEC_CH_UA_MOBILE" => "?0" "HTTP_SEC_CH_UA" => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" "HTTP_CACHE_CONTROL" => "no-cache" "HTTP_PRAGMA" => "no-cache" "HTTP_ACCEPT_ENCODING" => "gzip, br" "HTTP_CF_RAY" => "950df36c5ccd1265-ORD" "HTTP_PRIORITY" => "u=0, i" "HTTP_SEC_FETCH_DEST" => "document" "HTTP_SEC_FETCH_USER" => "?1" "HTTP_CF_VISITOR" => "{"scheme":"https"}" "HTTP_CONNECTION" => "close" "HTTP_X_FORWARDED_PROTO" => "https" "HTTP_X_FORWARDED_FOR" => "216.73.216.120, 172.69.59.181" "HTTP_X_SERVER_ADDR" => "154.12.239.204" "HTTP_HOST" => "receivinghelpdesk.com" "HTTPS" => "on" "REDIRECT_STATUS" => "200" "REDIRECT_HTTPS" => "on" "FCGI_ROLE" => "RESPONDER" "PHP_SELF" => "/ask/index.php" "REQUEST_TIME_FLOAT" => 1750115114.9545 "REQUEST_TIME" => 1750115114 ]
        request_cookies
        0 of 0
        array:4 [ "_pk_id_64_7c30" => null "_pk_ses_64_7c30" => null "XSRF-TOKEN" => "aLLRkzm73VejraJCUglYaL2qwH7mw0XkUws0ejvx" "askhelpdesk_session" => "yzQEb5TtH4x4E1VNpDCYHOsW9KfdkQS264nViaLy" ]
        response_headers
        0 of 0
        array:7 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "private, must-revalidate" ] "date" => array:1 [ 0 => "Mon, 16 Jun 2025 23:05:14 GMT" ] "pragma" => array:1 [ 0 => "no-cache" ] "expires" => array:1 [ 0 => -1 ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkFOMDEraTlwV0h4cmN2amE2RjZEUVE9PSIsInZhbHVlIjoiZlI3aWgzOUtNeitORzl4RFJITHdDQ0RkZ1BxRHUyVmh2RlEzQjRWdWJVcjV2SHhmWVQramVDQnU1UFNyQjgrTG1hbmhWcGxlUEZ1c3NvQUQ1cE9laWhJTEQ3OVAxckpVaEE1NE9YUllFTllOK1BCQnhEQXo0ZXZDSWhiaFpXckEiLCJtYWMiOiI2Mzc4ZTUzZTQxZGNlNWM1ZWJhMDZlZjg5ZmU5MmEwODRmNDBhNzZlYWM4ODU4MTkyODZiMjU2NWY1MjIyYmRiIiwidGFnIjoiIn0%3D; expires=Tue, 17-Jun-2025 01:05:15 GMT; Max-Age=7200; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IkFOMDEraTlwV0h4cmN2amE2RjZEUVE9PSIsInZhbHVlIjoiZlI3aWgzOUtNeitORzl4RFJITHdDQ0RkZ1BxRHUyVmh2RlEzQjRWdWJVcjV2SHhmWVQramVDQnU1UFNyQjgrTG1hbmhWc" 1 => "askhelpdesk_session=eyJpdiI6IklkVWNjZWw1a0FLM1ptcmpxSHhMQ2c9PSIsInZhbHVlIjoiT1YwUnRnQ3NSZVl6blhaSFhUQ21iVFFjcTNaUEx6NXU4Mkd5eFJqMkVjamNVYzVjdzRlVHQ0VHllUUgwUW9EdkRnUlNVTFllZjJJRHZJRjRobmVpRjJrOGMrSm02M0s2RXFicHNWOGpEK0U2UUZpdVdQMmhNT0duZEhwQUxDVjgiLCJtYWMiOiI1OWI2NTU1ZjZiMzBlZDViOWJiZmUyMDQzMmM0MzFkOTA0YmI5M2U5MDQxNDM1MGFkNzMyNDA3Y2QxYTQxZjYyIiwidGFnIjoiIn0%3D; expires=Tue, 17-Jun-2025 01:05:15 GMT; Max-Age=7200; path=/; httponly; samesite=laxaskhelpdesk_session=eyJpdiI6IklkVWNjZWw1a0FLM1ptcmpxSHhMQ2c9PSIsInZhbHVlIjoiT1YwUnRnQ3NSZVl6blhaSFhUQ21iVFFjcTNaUEx6NXU4Mkd5eFJqMkVjamNVYzVjdzRlVHQ0VHllUUgwUW9E" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkFOMDEraTlwV0h4cmN2amE2RjZEUVE9PSIsInZhbHVlIjoiZlI3aWgzOUtNeitORzl4RFJITHdDQ0RkZ1BxRHUyVmh2RlEzQjRWdWJVcjV2SHhmWVQramVDQnU1UFNyQjgrTG1hbmhWcGxlUEZ1c3NvQUQ1cE9laWhJTEQ3OVAxckpVaEE1NE9YUllFTllOK1BCQnhEQXo0ZXZDSWhiaFpXckEiLCJtYWMiOiI2Mzc4ZTUzZTQxZGNlNWM1ZWJhMDZlZjg5ZmU5MmEwODRmNDBhNzZlYWM4ODU4MTkyODZiMjU2NWY1MjIyYmRiIiwidGFnIjoiIn0%3D; expires=Tue, 17-Jun-2025 01:05:15 GMT; path=/XSRF-TOKEN=eyJpdiI6IkFOMDEraTlwV0h4cmN2amE2RjZEUVE9PSIsInZhbHVlIjoiZlI3aWgzOUtNeitORzl4RFJITHdDQ0RkZ1BxRHUyVmh2RlEzQjRWdWJVcjV2SHhmWVQramVDQnU1UFNyQjgrTG1hbmhWc" 1 => "askhelpdesk_session=eyJpdiI6IklkVWNjZWw1a0FLM1ptcmpxSHhMQ2c9PSIsInZhbHVlIjoiT1YwUnRnQ3NSZVl6blhaSFhUQ21iVFFjcTNaUEx6NXU4Mkd5eFJqMkVjamNVYzVjdzRlVHQ0VHllUUgwUW9EdkRnUlNVTFllZjJJRHZJRjRobmVpRjJrOGMrSm02M0s2RXFicHNWOGpEK0U2UUZpdVdQMmhNT0duZEhwQUxDVjgiLCJtYWMiOiI1OWI2NTU1ZjZiMzBlZDViOWJiZmUyMDQzMmM0MzFkOTA0YmI5M2U5MDQxNDM1MGFkNzMyNDA3Y2QxYTQxZjYyIiwidGFnIjoiIn0%3D; expires=Tue, 17-Jun-2025 01:05:15 GMT; path=/; httponlyaskhelpdesk_session=eyJpdiI6IklkVWNjZWw1a0FLM1ptcmpxSHhMQ2c9PSIsInZhbHVlIjoiT1YwUnRnQ3NSZVl6blhaSFhUQ21iVFFjcTNaUEx6NXU4Mkd5eFJqMkVjamNVYzVjdzRlVHQ0VHllUUgwUW9E" ] ]
        session_attributes
        0 of 0
        array:4 [ "_token" => "aLLRkzm73VejraJCUglYaL2qwH7mw0XkUws0ejvx" "_previous" => array:1 [ "url" => "https://receivinghelpdesk.com/ask/what-is-the-red-wire-in-electrical" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]