Receiving Helpdesk

wire color power convention

by Kaia Von Published 4 years ago Updated 3 years ago

The mandatory colors for power wiring in National Electric Codes (NEC) are Green, Bare or Green/Yellow (Yellow Strip or band on Green) for Protective Ground “PG” and White (alternatively Grey) for Neutral Wire. Any other colors expected the above mentioned can be used for Live (Line or Hot) wires.

Full Answer

What are the color codes for wires?

UK Old Wiring Color Codes

  • RED = Phase , Hot or Line, (L)
  • BLACK = Neutral (N)
  • GREEN / YELLOW = Earth Conductor “Protective earth” (PE)

What are the wire color codes?

What are wire color codes?

  • Phase 1 - Brown.
  • Phase 2 - Black.
  • Phase 3 - Grey.
  • Neutral - Blue.
  • Ground - Green with Yellow Stripe.

What does wire color mean?

The simple explanation is that every color used for electrical wiring has a specific meaning, with different colors indicating different circuit types and purposes. Electrical contractors and electricians understand the color codes, but a simple guide can help you understand their significance.

What color is electrical wire?

The electrical industry standard for wiring colors for 480/277V (A) brown, (B) orange, (C) yellow and grounded/neutral gray. Wire & Cable Manufacturers may mark the outer jacket of the colored electrical wire or cable to identify the conductor colors inside the cable based on the number of conductors in the cable.

What color wires are for power?

US AC power circuit wiring color codes 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. Three-phase lines are red, black, and blue.

What is the color code for AC wiring?

The color code for AC power wiring is similar to the code used in the United States: Phase 1 - Red. Phase 2 - Black. Phase 3 - Blue.

What Colour is live wire in USA?

BlackBlack (Live), White (Neutral), and Green (Earth). For more information see our Technical Library and specifically the Mains Wiring page and the Mains Voltages page.

What color is L1 L2 and L3?

The USA has their own wiring colors for electrical circuits, black, red, and blue are used for 208 VAC three-phase; brown, orange and yellow are used for 480 VAC....International Wiring Color Codes.Ground (G)GreenNeutral (N)BlackLine 1 (L1)RedLine 2 (L2)WhiteLine 3 (L3)Blue5 more columns

What is electrical color code?

The standard for electrical wiring color code in India is as follows. According to the old standard, Red is used for live (or line) power conductor, Black for neutral and Green for protective earth or ground. The new color code is introduced recently (although the old convention is pretty much still widely used).

What do colors of wires mean?

Black wires are hot wires that run to the electrical outlet from the switch. Red wires are hot wires common in a 240-volt outlet or when a wall switch controls the outlet. Blue and yellow wires are hot wires for ceiling fans and three- or four-way switches. White or gray electrical wires are neutral wires.

What are the 3 colored wires called?

They are often color-coded, yellow for composite video, red for the right audio channel, and white or black for the left channel of stereo audio. This trio (or pair) of jacks can often be found on the back of audio and video equipment.

Is black live or neutral?

liveBlack Electrical Wires Any circuit's black wire should be considered live at all times. These wires are often used as a switch leg that transfers power to switches and outlets in all circuits. Black wires are never used for a ground or neutral wire and are meant to be used as the power feed for a switch or an outlet.

What colour is switched live?

blue wireThe brown wire is Live (also know as permanent live), this brings the live supply to the switch. The blue wire is known as the Switched Live and takes power to the light.

Does the black wire go to L1 or L2?

The incoming circuit wires that provide the power are referred to as the line wires. L1 (line 1) is a red wire and L2 (line 2) is a black wire.

What is RYB electrical?

RYB simply stands for Red, yellow and Blue respectively in a three phase electrical system. In a three phase electrical system, the three phases are separated by an angle of 120 degrees and each phase is given a specific colour, i.e. R,Y and B for the phases to be identified.

Types of Wire Color Codes

There are quite a few different wire color code standards in place, so it is important to understand which one to follow in which situation. The st...

Labeling Electrical Wires & Conduits

The wire color codes used are only going to apply to the actual wires that are carrying the electricity. In many cases, a bundle of these colored w...

Effective Training Options

Those who work directly with electrical wiring on a daily basis will need to be initially trained on what each of the wiring color codes means. Onc...

Applying Color Standards to Existing Wiring

If there are wires in a facility that were put in place prior to the standards that are now used, it is important to take steps to address this saf...

What color wire is used for DC power?

The coloring is as follows: Positive - The wire for the positive current is red. Negative - The wire for the negative current is black. Ground - The ground wire (if present) will be white or grey.

Why is electricity important?

Electricity is an essential component for virtually every step in manufacturing and most other industries. In most facilities, the electricity will come in at one point in the building, and then be distributed to just about every corner through a series of wires. Even the tools and machines that are used are filled with wires ...

Why is it important to label wires?

When this is the case, it is important to take the time to properly label the wires and electrical conduits to warn people of potential dangers.

What happens if you don't wire properly?

If something is not wired properly, it can result in injuries, deaths, fires, and many other problems. This is why there are well-established wire color codes to ensure those working with an around this type of equipment can ensure everything is wired safely and effectively.

What is PPE in construction?

Personal Protective Equipment (PPE) is paramount to proper safety techniques in manufacturing, construction, or industrial facilities. This PPE guide illustrates PPE symbols and requirements. Make sure all employees are familiar with required PPE in their areas.

What color should a phase 1 volt switch be?

Phase 1 - Phase 1 wiring should be black. Phase 2 - Phase 2 wiring should be red. Phase 3 - Phase 3 wiring should be blue. Neutral - Neutral wiring should be white. Ground - Ground wiring can be green or green with a yellow stripe. In some uncommon situations, one phase will have a higher voltage than the others.

What color is phase 1?

Due to the serious potential for deadly electrocution or other issues, getting these color codes right is essential. Phase 1 - Phase 1 wiring should be brown . Phase 2 - Phase 2 wiring should be orange.

What color is used for electrical wiring in India?

According to the old standard, Red is used for live (or line) power conductor, Black for neutral and Green for protective earth or ground . The new color code is introduced recently (although the old convention is pretty much still widely used).

What color is used for neutral conductors in Canada?

The color code practice is very similar to that of the US because of the harmonization effect. Only White is used for Neutral conductor and Green and bare conductor is used for protective ground.

What is the NEC color code?

NEC Color Code for US. The United States National Electrical Code (US NEC) has made mandatory color code for neutral power conductors and protective ground conductor. Apart from these mandatory colors, any color can be used for line or hot power conductors. The common color code for three phase in, on or behind the wall electrical wiring is shown ...

What is an electrical wire?

An electrical wire is a single solid or twisted Copper or Aluminum conductor with or without any insulation. Each wire used for electrical wiring is marked with information like wire gauge, ampacity, maximum voltage, and maximum temperature. But a general color code is used to identify different types of conductors which are used in electrical ...

What color is used for a three phase power supply?

In case of a three phase power supply, the combination of Red, Yellow and Blue are used for the active line power conductors, Black color for neutral conductor and Green or Green – Yellow for protective ground. All the above mentioned color code for electrical wiring is to transmit AC current from the mains.

Why is it important to know the color of electrical wire?

Understanding of these electrical wiring color codes is important as the properties of different wire may be different from other and wrongful placement or connections may be hazardous. Some of the standard color codes that are used in electrical wiring are described below.

What color wire is used for negative wires?

But generally, Red is used for positive and Black is used for negative wires in case of 2-wire unearthed DC power system. The following table describes the color code for DC power electrical wiring in the US.

What is black wire?

Black Electrical Wires. Black electrical wires carry the current from the power source to the outlet and used for power in all types of circuits. Make sure you use extra caution when dealing with these - when you see a black wire, you know it is hot. Any circuit’s black wire should be considered live at all times.

What does it mean when a wire is white?

If you see a white wire marked with black or red (or a piece of black or red electrical tape at its ends), that means it’s acting as a hot wire and is no longer neutral. Green wires connect to the grounding terminal in an outlet box and run to the ground bus bar in an electrical panel.

What color wires are used for ceiling fans?

Yellow wires are used as switch legs to ceiling fans, structural lights, and outlets paired with light switches, while blue wires are usually used as travelers for three-or-four-way switches. The colors white and gray indicate a neutral wire. That means it connects to an electrical panel’s neutral bus bar. Once power leaves the electrical panel ...

What is the purpose of black wires?

These wires are often used as a switch leg that transfers power to switches and outlets in all circuits. Black wires are never used for a ground or neutral wire and are meant to be used as the power feed for a switch or an outlet. They are most commonly found in residential buildings. Red Electrical Wires.

How does electrical current return to the service panel?

Once power leaves the electrical panel through the hot wire of a circuit and works through devices such as a light bulb or an outlet, the electrical current returns back to the service panel through the neutral (and usually white) wire that is connected to the neutral bus bar, which returns the current to the electric utility grid.

What color wires are used in electrical wiring?

These are the most common colors used in electrical wiring. Other color combinations, such as striped wires, may be used for other applications. Remember, black and red wires are always hot, meaning they are source wires that carry power from the electric service panel to a destination, such as an outlet or a light.

Where are red wires found?

They are most commonly found in residential buildings. Red Electrical Wires. Red electrical wires are the secondary live wires in 220-volt circuits and are commonly found in a sheathed, multi-conductor cable.

What color wires are used for neutral conductors?

The National Electrical Code (NEC) says that white or gray must be used for neutral conductors and that bare copper or green wires must be used as ground wires. Beyond that are general, industry-accepted rules about wire color that indicate their purpose. The Spruce / Catherine Song.

What is bare copper wire?

Bare Copper Wires: Ground. Bare copper wires are the most common type of wire used for grounding. All electrical devices must be grounded. In the event of a fault, grounding provides a safe pathway for electricity to travel. The current passes back to the ground or earth.

What does it mean when a white wire is augmented with a red or black color?

When a white wire is augmented with a red or black color marking, this often indicates that it is being used as a hot wire rather than a neutral wire. Typically, this is indicated with a band of black or red electrical tape (but other colors may be used) wrapped around the wire's insulation.

What is the white wire used for?

For instance, a white wire in a two-wire cable may be used for the second hot wire on a 240-volt appliance or outlet circuit. This white wire should be looped several times around with black electrical tape to show that it is being used for something other than a neutral. The Spruce / Margot Cavin.

What is green wire?

Green Wires: Ground. Green insulated wires are sometimes 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.

What does it mean when a wire is white?

White or gray indicates a neutral wire. When examining a white or gray wire, make certain that it has not been wrapped in electrical tape. This would indicate a hot wire. Older wires sometimes may lose their electrical tape wrapping.

What is a non-metallic cable?

Non-metallic (or NM) 120-volt and 240-volt electrical cable come in two main parts: the outer plastic sheathing (or jacket) and the inner, color-coded wires. The sheathing binds the inner wires together, and its outer markings indicate the number of wires and size of wire ( gauge) within the sheathing. The color of the sheathing indicates recommended usages. For example, white sheathing means that the inner wires are 14-gauge and yellow sheathing indicates that they are 12-gauge.

A brief history of wiring color codes

It took until 1928 for wire color coding to make its debut. The National Electrical Code® (NEC) was the first to reference it, and today continues to set the standards for the electrical industry. Following a uniform color code makes it easier to assess electrical wiring, and ensure safety among licensed professionals and homeowners alike.

The NEC wire color coding standards

Though there are international wire color codes, the U.S. follows the National Electrical Code ® (NEC). The code is identified as NFPA 70 ® because the NEC is sponsored by the National Fire Protection Association. Though not a federal law (states can choose to adopt it), it is approved by the American National Standards Institute (ANSI).

3-Phase Wire Color Codes

Whether adding a home appliance or industrial machinery, you’ll need to know these electrical wiring color codes. In the U.S., these color-coded wires carry power from a circuit breaker to a device.

How Brady can help

Just like no two electrical projects are the same, you’ll find Brady support comes in different shapes and sizes. We offer industrial label printers, cable labels, wire markers, heat shrink sleeves, electrical safety signs and software — effective and easy ways to communicate vital information, and stay safe.

What color wires are used in the USA?

These are typically used for power wires in “branch circuits”. NEC defines White or Grey color for neutral wire and green/ green with yellow stripe/ bare copper ...

What is the IEC 60445 wire color code?

Most European countries follow a wire color code established by IEC. Originally published as IEC 60446, this standard was incorporated into IEC 60445 in 2010. The Wiring color codes as per IEC may be divided in following two categories: Wire Color Codes in Europe (IEC) for AC Supply.

What color wire is used for ground wire?

NEC defines White or Grey color for neutral wire and green/ green with yellow stripe/ bare copper for ground wire. Any other colors except these may be used for other power lines. However, as per local practice, the standard wiring color codes may be divided in two main categories. They are:

What color insulation should I use for a 6 aWG cable?

If the cables are larger than #6 AWG, they are usually covered with black insulation. During installation, color coding should be added using colored insulation tapes by wrapping it around the wire. The other way to do this is by using labels or colored heat shrink tubes. Madhuri.

What color wires are used for a grounded circuit?

The protective ground must be either green, green-yellow, or bare copper. “Green-yellow” refers to green with yellow stripes. For all other functions, there are no legal requirements. However, certain colors have been adopted as local practice and are recommended. Due to safety reasons, the use of a 2-wire ungrounded system is discouraged. However, the colors red (for positive) and black (for negative) follow the grounded system coloring code.

What color is a grounded DC?

Due to safety reasons, the use of a 2-wire ungrounded system is discouraged. However, the colors red (for positive) and black (for negative) follow the grounded system coloring code. 2-Wire Ungrounded DC: (Not recommended due to safety) Positive (labeled as “L+”): Red. Negative (labeled as “L-“): Black.

Do electrical wiring have color codes?

Most countries have a governing organization that implements color coding requirements for electrical wiring. In cases where there are no legal requirements, specific colors have been adopted as local practice and are recommended.

What is the IEC DC wiring color code?

The following IEC DC wiring color codes are used for Two-Wire Grounded, Two-Wire ungrounded and Three Wire grounded DC power systems.

Which countries use the IEC color code for DC?

Other Countries like China, Russia, KSA and UAE now follow the IEC Cable color codes for DC. But don’t trust the cable insulation colors in these areas as electricians use old as well as new color codes for both AC and DC.

What color wires are used for a PG?

The mandatory colors for power wiring in National Electric Codes (NEC) are Green, Bare or Green/Yellow (Yellow Strip or band on Green) for Protective Ground “PG” and White (alternatively Grey) for Neutral Wire. Any other colors expected the above mentioned can be used for Live (Line or Hot) wires.

Does Russia use gray or purple?

Russia was following the same wiring color codes as China before but they adapted the IEC with little bit changes i.e. in a three phase system, they may use purple or gray color instead of gray in IEC. As things are little bit changed in Russia, so one must follow the tester before going in the mess.

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 Version901msRequest Duration2MBMemory UsageGET {post}Route
  • warninglog[07:57:33] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter:...
  • warninglog[07:57:33] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter:...
  • warninglog[07:57:33] LOG.warning: Callables of the form ["Swift_SmtpTransport", "Swift_Transport_EsmtpTranspor...
  • warninglog[07:57:33] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter...
  • warninglog[07:57:33] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter...
  • warninglog[07:57:33] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[07:57:33] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[07:57:33] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[07:57:33] LOG.warning: mt_rand(): Passing null to parameter #2 ($max) of type int is deprecated in ...
  • Booting (12.55ms)
  • Application (888ms)
  • 1 x Application (98.57%)
    887.72ms
    1 x Booting (1.39%)
    12.55ms
    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 executed866ms
    • select * from `posts` where `published_at` <= '2025-06-23 07:57:33' and `slug` = 'wire-color-power-convention' and `posts`.`deleted_at` is null limit 1
      3.01ms/app/Providers/RouteServiceProvider.php:54receivinghelpdeskask
      Metadata
      Bindings
      • 0. 2025-06-23 07:57:33
      • 1. wire-color-power-convention
      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` = 76019 and `json_post_contents`.`post_id` is not null and `rewrite_id` = 0
      4.81msmiddleware::checkdate:30receivinghelpdeskask
      Metadata
      Bindings
      • 0. 76019
      • 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
      730μs/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
      440μ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
      280μ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
      856ms/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` = 32927 limit 1
      770μsview::2dd102cf0462e89a4d4d8bc77355d767652bf9aa:15receivinghelpdeskask
      Metadata
      Bindings
      • 0. 32927
      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
        AkzPr1UkkslB9YWghporpuhkYns61JNfaKNNQp7C
        _previous
        array:1 [ "url" => "https://receivinghelpdesk.com/ask/wire-color-power-convention" ]
        _flash
        array:2 [ "old" => [] "new" => [] ]
        PHPDEBUGBAR_STACK_DATA
        []
        path_info
        /wire-color-power-convention
        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=0a8557d1a2eb3149.1750645644.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6ImZoN3p3d05PaVBxZFViVkh1RThFd2c9PSIsInZhbHVlIjoiQjl4bE8vK0djeXBTUGFQZXIvNUM0M1k3TTRPOHJIVlhheVhiMkVDYVYxeWFDdlJZandhZnljOTFCbk9mVTltN1RrdDk0VHd3b1VpVjFpdzRHaVFhSC92Qk5DVlNiNERGbGdPcUN4b2NtYjh0UjJsdXdEblNzN3JPTklldWVuKzIiLCJtYWMiOiJmMTk5OTMyYmE5OTJiYzAzYjU2NWFiZTU2Y2I4ZThlYWMzNjNhM2RlMzE2OTVmMDM2NDE1NDMwMWNiNjZlNjBmIiwidGFnIjoiIn0%3D; askhelpdesk_session=eyJpdiI6ImQ1R1ZDT0h2cCsvS1dhU2ZtdFQvRkE9PSIsInZhbHVlIjoickc0NWZCM1lxOWViYWYwQ29qZTNhbnQ2NVYzdXYxNFdLOXFZTGJ1QSs0a2xwSmRpaFZlUUYxTHpjYkhsdmM2MUFDWGZhZ1VUaTdjamJEc1doN2dsa2lzK21Bbm5HanZnVGlsTFc4enJhVm9zYlhneVBzZ1QvV0xRQVp5c05MTzgiLCJtYWMiOiI5ZDgyNmZiODk2MTI4OGEwMTU2Yzg4YTcwNThlNDRkMDdjMDcxZjQxMDEwNDNkZTQzMDlkZjMwNDkwZjQwYTdiIiwidGFnIjoiIn0%3D_pk_id.64.7c30=0a8557d1a2eb3149.1750645644.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6ImZoN3p3d05PaVBxZFViVkh1RThFd2c9PSIsInZhbHVlIjoiQjl4bE8vK0djeXBTUGFQZXIvNUM0M" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "cf-connecting-ip" => array:1 [ 0 => "216.73.216.206" ] "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 => "95408c06e971eb05-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.206, 172.71.254.55" ] "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/wire-color-power-convention" "QUERY_STRING" => "" "REQUEST_METHOD" => "GET" "SERVER_PROTOCOL" => "HTTP/1.0" "GATEWAY_INTERFACE" => "CGI/1.1" "REDIRECT_URL" => "/ask/wire-color-power-convention" "REMOTE_PORT" => "56716" "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.71.254.55" "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=0a8557d1a2eb3149.1750645644.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6ImZoN3p3d05PaVBxZFViVkh1RThFd2c9PSIsInZhbHVlIjoiQjl4bE8vK0djeXBTUGFQZXIvNUM0M1k3TTRPOHJIVlhheVhiMkVDYVYxeWFDdlJZandhZnljOTFCbk9mVTltN1RrdDk0VHd3b1VpVjFpdzRHaVFhSC92Qk5DVlNiNERGbGdPcUN4b2NtYjh0UjJsdXdEblNzN3JPTklldWVuKzIiLCJtYWMiOiJmMTk5OTMyYmE5OTJiYzAzYjU2NWFiZTU2Y2I4ZThlYWMzNjNhM2RlMzE2OTVmMDM2NDE1NDMwMWNiNjZlNjBmIiwidGFnIjoiIn0%3D; askhelpdesk_session=eyJpdiI6ImQ1R1ZDT0h2cCsvS1dhU2ZtdFQvRkE9PSIsInZhbHVlIjoickc0NWZCM1lxOWViYWYwQ29qZTNhbnQ2NVYzdXYxNFdLOXFZTGJ1QSs0a2xwSmRpaFZlUUYxTHpjYkhsdmM2MUFDWGZhZ1VUaTdjamJEc1doN2dsa2lzK21Bbm5HanZnVGlsTFc4enJhVm9zYlhneVBzZ1QvV0xRQVp5c05MTzgiLCJtYWMiOiI5ZDgyNmZiODk2MTI4OGEwMTU2Yzg4YTcwNThlNDRkMDdjMDcxZjQxMDEwNDNkZTQzMDlkZjMwNDkwZjQwYTdiIiwidGFnIjoiIn0%3D_pk_id.64.7c30=0a8557d1a2eb3149.1750645644.; _pk_ses.64.7c30=1; XSRF-TOKEN=eyJpdiI6ImZoN3p3d05PaVBxZFViVkh1RThFd2c9PSIsInZhbHVlIjoiQjl4bE8vK0djeXBTUGFQZXIvNUM0M" "HTTP_CF_IPCOUNTRY" => "US" "HTTP_CF_CONNECTING_IP" => "216.73.216.206" "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" => "95408c06e971eb05-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.206, 172.71.254.55" "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" => 1750645653.6036 "REQUEST_TIME" => 1750645653 ]
        request_cookies
        0 of 0
        array:4 [ "_pk_id_64_7c30" => null "_pk_ses_64_7c30" => null "XSRF-TOKEN" => "AkzPr1UkkslB9YWghporpuhkYns61JNfaKNNQp7C" "askhelpdesk_session" => "TdEzNlUiJfoRKAOgYia5mwQt0wt5MsKAREorTikv" ]
        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, 23 Jun 2025 02:27:33 GMT" ] "pragma" => array:1 [ 0 => "no-cache" ] "expires" => array:1 [ 0 => -1 ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IityUEE5b1BFTkhGZmVoOW4vOERlSVE9PSIsInZhbHVlIjoic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vZDFRVW1XcnhXVzRUKzVVdWtJRlhxWHNFNG1LL0JzS28vMURuK1ZvYTdPdm5IbmhtTlJpdXhMVUZk" ] ]
        session_attributes
        0 of 0
        array:4 [ "_token" => "AkzPr1UkkslB9YWghporpuhkYns61JNfaKNNQp7C" "_previous" => array:1 [ "url" => "https://receivinghelpdesk.com/ask/wire-color-power-convention" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]