Receiving Helpdesk

light switch has 2 black wires and 1 red

by Dr. London Thompson Published 3 years ago Updated 3 years ago

Two black wires and one red wire: In a 2-way switch two black wires and one red wire is used. The red wire is used as the load and one of the black wires is used as a current receiver from another outlet and the other black one acts as the neutral one.

The 2 black wires could be power coming in and going out, and the red could be a switch leg.

Full Answer

How to install light switch with only 2 wires?

Traditional Switch

  • Mechanical switches
  • 2-wire (Live in, Live out)
  • Physically cut off the live to break the power

How to wire light fixture with two black wires?

  • With the light fixture assembled, attach it to the screw collar by the chain. ...
  • Thread the light fixture’s electric wires through the screw collar loop. ...
  • Using a wire cutter, cut the length of the light fixture’s electric wires to the length of the house wires. ...
  • Wrap the copper or silver ground wires from the light fixture around the ground screw. ...

More items...

How do you wire light with two switches?

Three-way installation instructions

  • INSTALLATION
  • Installation if a three-way electrical installation IS NOT present between the two switches you want to connect. ...
  • Installation if a three-way electrical installation IS present between the two switches you want to connect. Live and Neutral wires (No additional lights). ...
  • SET UP
  • Activate an additional button on a Klever Switch. ...

What is the best wireless light switch?

  • Mountable wall switch that will remotely turn on/off lamps and pull chain fixtures
  • Up to 150 watts light bulb when the bulb is up and 60 watts maximum when bulb is down
  • 50' range with 4 selectable channels
  • Two 3-volt lithium batteries included
  • Indoor use only

Why does my light switch have 2 black wires?

You should see two black wires, each connecting to a different screw on the side of the switch. These are called terminal screws. You will also see two white (neutral) wires that connect to one another in the box.29-Nov-2021

Where does the red wire go on a switch?

Attach the red wire from the light fixture to the nut at the top left of the switch. Connect the bare copper wire to the green nut at the bottom left of the switch. Push both switches into their boxes and secure them with screws at top and bottom. Turn on your power and test the switches.04-Nov-2019

Where do the red and black wires go on a light switch?

The black (hot) wire goes to the brass screw or into the hole in the back of the device on the same side as the brass screw. This wire is sometimes red. The green or bare copper (ground) wire, if the device has one, attaches to the green screw terminal on the switch or to the electrical box.13-Sept-2021

Why do I have a red wire in my light switch?

What are Red Wires? Red wires are usually used as secondary hot wires. Red wires are also hot and should be clearly marked to avoid the dangers of electrocution. Red wires are commonly used when installing ceiling fans, where the light switch maybe.04-Jun-2019

Can black and red wires go together?

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.08-Apr-2019

Why does my light switch have a red and black wire?

These are the traveler terminals. It doesn't matter which traveler wire (red or black) connects to which traveler terminal as long as it's the same in both switch boxes.30-Apr-2021

What wires are black and red?

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.14-Feb-2022

Which wire is positive red or black?

Wire Colors 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.18-Oct-2017

What do I do with the red wire?

The red wire is generally used to switch the fan on and the black for the light in the fan, or vise versa, using 2 switches in the wall. If you have a remote receiver in the fan housing it takes the place of the 2 wall switches so you only need 1 hot wire (in this case black) to power the remote receiver.

Why does my light switch have two black wires?

One of the main reasons that your light switch has two black wires is that one black wire supplies the current, and the other one receives the current. One black wire is attached to the line side of the new outlet from the supply side and the other one is attached to the load part of the outlet.

Can you have two black wires on a light switch?

Yes, you can have two black wires on a light switch, and in fact, using two black wires saves your outlet from overloading and short circuits.

Does it matter which black wire goes on a light switch?

Actually it depends, because only in the case of single-pole, it doesn’t matter whether which black wire goes on a light switch. Because one of the wires goes to the power switch and the other black one goes to the light.

What happens if you reverse the wires on a light switch?

Well, reversing the wires also means that reversing the polarity which is dangerous. Because in the case of reversed polarity the hot wire is usually is set on the neutral side. In the same way the neutral wire is also set on the hot side.

Among the 2 black wires on the light switch, which one is hot?

Identifying the hot wire from the two black wires is very easy. You have to just follow our simple steps in order to identify the hot one from the two black wires:

How do you wire a light switch with two black wires?

Well, wiring a light switch with two black wires is a very complicated process. But you can do it very easily by following our below steps:

Final thoughts

The light switches can have two black wires as well as two black wires and two white wires. Regardless of the number of black and white wires, the main purpose of these wires is to receive the power from an external source and supply the power onwards.

Why do light switches have 2 black wires?

Just so, why does light switch have 2 black wires? The bare or green-wrapped ground wires serve as a backup to divert the power safely away in case of an electrical fault. In most cases, two black wires will be attached to the switch's two terminal screws.

What does the black wire mean on a light switch?

Black means hot, white signifies neutral, and green indicates ground. However, if you need to rewire a light switch or a plug socket, you may occasionally come across two black wires. It's essential that you determine which black wire is hot before proceeding. Click to see full answer.

Beanmachine

After some help if possible. I have an old 2 way 1 gang light switch to replace, but the one currently fitted has 2 red wires & 1 black wire, as opposed to the three different wires as shown on most sites that i checked out. Thinking about it, it may have been 2 blacks and 1 red, but either way there are only the two colours.

ricicle

As long as you follow the same configuration for the new switch then you shouldn't have any problem. New ones tend to be C (om), L1, L2. Older ones could be L1, L2, L3. (Com would be L1)

RF Lighting

Yep just transfer the wires across to the new switch connecting them to the same terminals as they are now.

PrinceofDarkness

Ian, as long as you have three wires to that 2-way switch, then the replacement is bound to work OK.

Beanmachine

Thanks for your advice, will do it tomorrow morning when it's, hopefully, light out. Thanks for letting me know it wont go bang!

PrinceofDarkness

Yes that's right, Ian. Your old switch is rated at 5A and your new switch is twice that amount. I won't bother to explain about the 'X' rating, because it's clearly of no interest to you.

DIYnot Local

If you need to find a tradesperson to get your job done, please try our local search below, or if you are doing it yourself you can find suppliers local to you.

How to wire a new switch to the old one?

Ideally, the old switch is still there, so you can wire the new one up the same way as the old one. Put a piece of tape on each wire with a number on it. Put a piece of tape with the same number on each terminal. Label the terminals on your new switch the same way, then disconnect the old switch and connect the new switch exactly the same way.

What is the red wire on an occupancy switch?

So on an occupancy switch like the Enerlite HOSS that cares about which wire is live, the red wire in the switch box connects to the red wire on the switch.

What does it mean when you see red wires in a light switch?

When you see a red wire in a light switch box, it can mean two things. It could be there is (or once was) a three-way switch in play . Or it could be the red wire is the wire going to the fixture, and the black wires are the live wires. We’ll cover the easier scenario first.

What is a three way switch?

A three-way switch is different. This type of switch lets you turn the light off or on from more than one place in the room. This type of switch has two brass screws, usually on the bottom, and a copper or black screw on the top left.

Where does the red wire go on a light switch?

The red wire will go on one of the brass screws, but whether it goes on the left or the right depends on how the room is wired. If you don’t know how it was, connect the red wire to one of them, turn the power back on, and try the lights. If the switches malfunction, switch the lower wires on the new switch. I hope this helps you figure out the ...

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 Version1.29sRequest Duration2MBMemory UsageGET {post}Route
  • warninglog[16:01:20] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter:...
  • warninglog[16:01:20] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter:...
  • warninglog[16:01:20] LOG.warning: Callables of the form ["Swift_SmtpTransport", "Swift_Transport_EsmtpTranspor...
  • warninglog[16:01:20] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter...
  • warninglog[16:01:20] LOG.warning: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: json_decode(): Passing null to parameter #1 ($json) of type string is deprec...
  • warninglog[16:01:20] LOG.warning: mt_rand(): Passing null to parameter #2 ($max) of type int is deprecated in ...
  • Booting (24.54ms)
  • Application (1.27s)
  • 1 x Application (98.05%)
    1.27s
    1 x Booting (1.9%)
    24.54ms
    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 executed1.23s
    • select * from `posts` where `published_at` <= '2025-07-08 16:01:20' and `slug` = 'light-switch-has-2-black-wires-and-1-red' and `posts`.`deleted_at` is null limit 1
      2.01ms/app/Providers/RouteServiceProvider.php:54receivinghelpdeskask
      Metadata
      Bindings
      • 0. 2025-07-08 16:01:20
      • 1. light-switch-has-2-black-wires-and-1-red
      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` = 78782 and `json_post_contents`.`post_id` is not null and `rewrite_id` = 0
      3.41msmiddleware::checkdate:30receivinghelpdeskask
      Metadata
      Bindings
      • 0. 78782
      • 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
      560μ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
      420μ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
      270μ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
      1.22s/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` = 12486 limit 1
      500μsview::2dd102cf0462e89a4d4d8bc77355d767652bf9aa:15receivinghelpdeskask
      Metadata
      Bindings
      • 0. 12486
      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
        kuqWLukuP2xwJx9GhIZqQTgxParKi46aw7Y9mw5w
        _previous
        array:1 [ "url" => "https://receivinghelpdesk.com/ask/light-switch-has-2-black-wires-and-1-red" ]
        _flash
        array:2 [ "old" => [] "new" => [] ]
        PHPDEBUGBAR_STACK_DATA
        []
        path_info
        /light-switch-has-2-black-wires-and-1-red
        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 => "XSRF-TOKEN=eyJpdiI6IjVVZzZYa2Jhc0JZSGZ5OXhGK09TQVE9PSIsInZhbHVlIjoidFZwRUhpL2JoWE1yUUpoTFNIbHRVZms1SDFTUHdTaE1Hd0JLejZjM2F4NU9zMUVJTUUvcllkSjdFR0hqYWtEVFlZWUIyY3NlY0xVeGVWcTRXYUYvdDI4ckZvNUgyL1dvZkNZc2kxZ0E0ay9wMTExVXJUTFp4eEVrQ1ZNR0JlSFYiLCJtYWMiOiJjMWIxZWRhYzdiZmQ5ODRlYjE5NDZhZjBlMzA2OWM0NjQ4ZTBkOGYxZTVkNzZmZmJjNzJlMjcyNWMwZTkwYjZlIiwidGFnIjoiIn0%3D; askhelpdesk_session=eyJpdiI6Iko0T055eDJ6K2JBYWtvZVhMWHd0cWc9PSIsInZhbHVlIjoiTTFoL2JWell4N0Jxc1IyTnh2K0hKVU8zVVduc2xJOVNQTGYvWHpBLzUxcTBUc2lZWmhLSFZDdWlhQzBrZjY4VUNnWUo4dWlPbG1QTjY2a3g0VTRwZTFkaS8vb1N5ZnVhV0s3UkovZFNtdlhsM2VYcHBWWHZqUzhZaE9pbndyYWEiLCJtYWMiOiJmZTc2ZjgxOTgyMzA0ZDE5MmRkNTdkN2M0ZjY0MGNlNzVmYTFjODdhZmUyMzNmMDZmNTdkMWFiZjI5YmE5YmFjIiwidGFnIjoiIn0%3D; _pk_id.64.7c30=368d08e0eb0db4b8.1751970679.; _pk_ses.64.7c30=1XSRF-TOKEN=eyJpdiI6IjVVZzZYa2Jhc0JZSGZ5OXhGK09TQVE9PSIsInZhbHVlIjoidFZwRUhpL2JoWE1yUUpoTFNIbHRVZms1SDFTUHdTaE1Hd0JLejZjM2F4NU9zMUVJTUUvcllkSjdFR0hqYWtEVFlZWUIyY" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "cf-connecting-ip" => array:1 [ 0 => "216.73.216.161" ] "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 => "95bee94f6816aeb6-YYZ" ] "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.161, 108.162.241.98" ] "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/light-switch-has-2-black-wires-and-1-red" "QUERY_STRING" => "" "REQUEST_METHOD" => "GET" "SERVER_PROTOCOL" => "HTTP/1.0" "GATEWAY_INTERFACE" => "CGI/1.1" "REDIRECT_URL" => "/ask/light-switch-has-2-black-wires-and-1-red" "REMOTE_PORT" => "51092" "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" => "108.162.241.98" "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" => "XSRF-TOKEN=eyJpdiI6IjVVZzZYa2Jhc0JZSGZ5OXhGK09TQVE9PSIsInZhbHVlIjoidFZwRUhpL2JoWE1yUUpoTFNIbHRVZms1SDFTUHdTaE1Hd0JLejZjM2F4NU9zMUVJTUUvcllkSjdFR0hqYWtEVFlZWUIyY3NlY0xVeGVWcTRXYUYvdDI4ckZvNUgyL1dvZkNZc2kxZ0E0ay9wMTExVXJUTFp4eEVrQ1ZNR0JlSFYiLCJtYWMiOiJjMWIxZWRhYzdiZmQ5ODRlYjE5NDZhZjBlMzA2OWM0NjQ4ZTBkOGYxZTVkNzZmZmJjNzJlMjcyNWMwZTkwYjZlIiwidGFnIjoiIn0%3D; askhelpdesk_session=eyJpdiI6Iko0T055eDJ6K2JBYWtvZVhMWHd0cWc9PSIsInZhbHVlIjoiTTFoL2JWell4N0Jxc1IyTnh2K0hKVU8zVVduc2xJOVNQTGYvWHpBLzUxcTBUc2lZWmhLSFZDdWlhQzBrZjY4VUNnWUo4dWlPbG1QTjY2a3g0VTRwZTFkaS8vb1N5ZnVhV0s3UkovZFNtdlhsM2VYcHBWWHZqUzhZaE9pbndyYWEiLCJtYWMiOiJmZTc2ZjgxOTgyMzA0ZDE5MmRkNTdkN2M0ZjY0MGNlNzVmYTFjODdhZmUyMzNmMDZmNTdkMWFiZjI5YmE5YmFjIiwidGFnIjoiIn0%3D; _pk_id.64.7c30=368d08e0eb0db4b8.1751970679.; _pk_ses.64.7c30=1XSRF-TOKEN=eyJpdiI6IjVVZzZYa2Jhc0JZSGZ5OXhGK09TQVE9PSIsInZhbHVlIjoidFZwRUhpL2JoWE1yUUpoTFNIbHRVZms1SDFTUHdTaE1Hd0JLejZjM2F4NU9zMUVJTUUvcllkSjdFR0hqYWtEVFlZWUIyY" "HTTP_CF_IPCOUNTRY" => "US" "HTTP_CF_CONNECTING_IP" => "216.73.216.161" "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" => "95bee94f6816aeb6-YYZ" "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.161, 108.162.241.98" "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" => 1751970680.2473 "REQUEST_TIME" => 1751970680 ]
        request_cookies
        0 of 0
        array:4 [ "XSRF-TOKEN" => "kuqWLukuP2xwJx9GhIZqQTgxParKi46aw7Y9mw5w" "askhelpdesk_session" => "H4s002R1al3nkz7PGLxOOyatCXLAnQGUPJAhL0Vc" "_pk_id_64_7c30" => null "_pk_ses_64_7c30" => null ]
        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 => "Tue, 08 Jul 2025 10:31:20 GMT" ] "pragma" => array:1 [ 0 => "no-cache" ] "expires" => array:1 [ 0 => -1 ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IldtRVAvV043MnZpdmc1OHBtUUNSWWc9PSIsInZhbHVlIjoiL2ZoQURnVnEzUG9OSTEzV3ZLL3M2QzVVMi9BMWJ4a2M0ZHdMdVRkVHhRSVp5QXhKOGh1UUdzamhrT21FSSsyVFhuWjNMakpyU0g4ZmZvQTc2b3dQOUZiazFldGtzbzJwMWdMdDUycUdnY1VZb1BtV0dkTkVpbktUSHlGRzFtU3oiLCJtYWMiOiJmNzBlNGQ1ZGYzYmIwMjUwZjk5ZjI2NGFiZmEzZjgxNzNkNmYyM2EyYjNjZTRiYTU1Mjk4MmM3Yjc5YTNmNGJiIiwidGFnIjoiIn0%3D; expires=Tue, 08-Jul-2025 12:31:21 GMT; Max-Age=7200; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IldtRVAvV043MnZpdmc1OHBtUUNSWWc9PSIsInZhbHVlIjoiL2ZoQURnVnEzUG9OSTEzV3ZLL3M2QzVVMi9BMWJ4a2M0ZHdMdVRkVHhRSVp5QXhKOGh1UUdzamhrT21FSSsyVFhuWjNMa" 1 => "askhelpdesk_session=eyJpdiI6ImFjdUdndGZ1TzZPS3R5YTdYcU42SUE9PSIsInZhbHVlIjoiMUlwbUNYdUNVcWY1ZVY2Q2dCWXJoYVhoNGFsQU51WmFlc3V4UzlmZitSTFBpUUNoM29nWndKNitsUUQ5N2lyMFpFTU1VOE1iRSs0SXVTa0VsU2V0OXlRZk1FZzVhbW5IcGlubmNTblcreVE3eDhBV1I4N3dleElqdEw1YXJPaGoiLCJtYWMiOiJhODdiNzQzMzNjMGEyNmJkYzBiYzQxNGY5YjQxMDA1NTA5ODVkMDUxZDI0YTYyZjZlZDZlNzg0ODBhMmMyZDA5IiwidGFnIjoiIn0%3D; expires=Tue, 08-Jul-2025 12:31:21 GMT; Max-Age=7200; path=/; httponly; samesite=laxaskhelpdesk_session=eyJpdiI6ImFjdUdndGZ1TzZPS3R5YTdYcU42SUE9PSIsInZhbHVlIjoiMUlwbUNYdUNVcWY1ZVY2Q2dCWXJoYVhoNGFsQU51WmFlc3V4UzlmZitSTFBpUUNoM29nWndKNitsUUQ5N2ly" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IldtRVAvV043MnZpdmc1OHBtUUNSWWc9PSIsInZhbHVlIjoiL2ZoQURnVnEzUG9OSTEzV3ZLL3M2QzVVMi9BMWJ4a2M0ZHdMdVRkVHhRSVp5QXhKOGh1UUdzamhrT21FSSsyVFhuWjNMakpyU0g4ZmZvQTc2b3dQOUZiazFldGtzbzJwMWdMdDUycUdnY1VZb1BtV0dkTkVpbktUSHlGRzFtU3oiLCJtYWMiOiJmNzBlNGQ1ZGYzYmIwMjUwZjk5ZjI2NGFiZmEzZjgxNzNkNmYyM2EyYjNjZTRiYTU1Mjk4MmM3Yjc5YTNmNGJiIiwidGFnIjoiIn0%3D; expires=Tue, 08-Jul-2025 12:31:21 GMT; path=/XSRF-TOKEN=eyJpdiI6IldtRVAvV043MnZpdmc1OHBtUUNSWWc9PSIsInZhbHVlIjoiL2ZoQURnVnEzUG9OSTEzV3ZLL3M2QzVVMi9BMWJ4a2M0ZHdMdVRkVHhRSVp5QXhKOGh1UUdzamhrT21FSSsyVFhuWjNMa" 1 => "askhelpdesk_session=eyJpdiI6ImFjdUdndGZ1TzZPS3R5YTdYcU42SUE9PSIsInZhbHVlIjoiMUlwbUNYdUNVcWY1ZVY2Q2dCWXJoYVhoNGFsQU51WmFlc3V4UzlmZitSTFBpUUNoM29nWndKNitsUUQ5N2lyMFpFTU1VOE1iRSs0SXVTa0VsU2V0OXlRZk1FZzVhbW5IcGlubmNTblcreVE3eDhBV1I4N3dleElqdEw1YXJPaGoiLCJtYWMiOiJhODdiNzQzMzNjMGEyNmJkYzBiYzQxNGY5YjQxMDA1NTA5ODVkMDUxZDI0YTYyZjZlZDZlNzg0ODBhMmMyZDA5IiwidGFnIjoiIn0%3D; expires=Tue, 08-Jul-2025 12:31:21 GMT; path=/; httponlyaskhelpdesk_session=eyJpdiI6ImFjdUdndGZ1TzZPS3R5YTdYcU42SUE9PSIsInZhbHVlIjoiMUlwbUNYdUNVcWY1ZVY2Q2dCWXJoYVhoNGFsQU51WmFlc3V4UzlmZitSTFBpUUNoM29nWndKNitsUUQ5N2ly" ] ]
        session_attributes
        0 of 0
        array:4 [ "_token" => "kuqWLukuP2xwJx9GhIZqQTgxParKi46aw7Y9mw5w" "_previous" => array:1 [ "url" => "https://receivinghelpdesk.com/ask/light-switch-has-2-black-wires-and-1-red" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]