Red Team Vs Blue Team: What’s the Difference? [Updated 2024]

  • Home
  • Red Team Vs Blue Team: What’s the Difference? [Updated 2024]
Red Team Vs Blue Team: What’s the Difference? [Updated 2024]

In the realm of cybersecurity, these two teams have their own importance and work orientation.  We sincerely require to understand the modus operandi to understand the special procedures that they do to complete their daily official chores within an organization.  In general terms, these are the two phrases frequently used in cybersecurity to denote various roles and methods for evaluating and enhancing system security.

Moreover, we will try to explain all the needful details associated with the Red Team Vs Blue Team in order to understand their core differences in this article.

What is a Red Team?

A team of cybersecurity experts known as the Red Team simulates actual cyber assaults on a system or enterprise.  Their main objective is to find openings for hostile actors to enter and exploit weaknesses, vulnerable points, and other shortcomings.

How Does A Red Team Work?

Red Teams mimic cyberattacks using a number of methods, tools, and tactics, including penetration testing, social engineering, and vulnerability assessments.  Their primary goal is to imitate real-world hacking techniques and give businesses a thorough assessment of their safety measures.  The Red Team’s findings, as well as suggestions, assist firms in strengthening their defenses and creating efficient plans to safeguard against real cyber threats.

Benefits of Red Team

Red teaming, or performing fake assaults and other antagonistic actions to evaluate and strengthen an organization’s security, has various advantages.  Here are some of the main benefits of using red teams:

  • Identification of Vulnerabilities,
  • Realistic Evaluation of Security Posture,
  • Enhanced Incident Response Preparedness,
  • Awareness and Training,
  • Continuous Improvement, and many more

Examples Of Red Team Exercises

In Red Team activities, actual cyberattacks are simulated in order to evaluate a company’s safety measures.  The particular duties carried out throughout a Red Team activity can change depending on the objectives and needs of the company.  Here are a few instances of typical Red Team exercises:

  • Penetration Testing,
  • Social Engineering,
  • Advanced Persistent Threat (APT) Simulation,
  • Wireless Network Assessment,
  • Physical Security Assessment,
  • Red Team vs. Blue Team Exercises, etc.

What is a Blue Team?

The Blue Team, on the contrary, stands for cybersecurity’s defensive strategy.  Personnel of the Blue Team are in charge of protecting systems, networks, and data from potential online attacks.  They concentrate on developing security measures, keeping an eye on the security infrastructure, and responding to problems.

How Does A Blue Team Work?

Network monitoring, intrusion detection systems, security patching, access control, and incident response planning are just a few of the techniques Blue Teams use to find, stop, and mitigate security breaches.  They review system logs, look into security incidents, and seek to improve an organization’s general security posture.  In general, Red Teams and Blue Teams frequently work together to identify vulnerabilities and create strong defenses.  However, we always take the differences among them by evaluating Red Team vs Blue Team.

Benefits of Blue Team

Corporations can benefit from blue teams, which protect systems, networks, and data from cyber threats.  The following are some major benefits of having a powerful Blue Team:

  • Proactive Threat Detection,
  • Incident Response and Mitigation,
  • Vulnerability Management,
  • Security Awareness and Training,
  • Continuous Improvement,
  • Compliance and Regulations,
  • Threat Intelligence and Collaboration, etc.

Examples of Blue Team Exercises

To assess a corporation’s defensive abilities and strengthen its security posture, Blue Team exercises include replicating real-world cybersecurity events.  Following are a few instances of regular Blue Team exercises:

  • Security Incident Response Drill,
  • Log Analysis and Monitoring,
  • Reducing Time to Detect and Respond,
  • Patch Management and Vulnerability Response,
  • Phishing and Social Engineering Simulation,
  • Secure Configuration Assessment,
  • Tabletop Exercises, etc.

What is the Purple Team?

In order to improve an enterprise’s entire cybersecurity, the Purple Team is a cooperative approach that entails integrating and working together with both Red Teams and Blue Teams.  The Purple Team’s goal is to strengthen both teams’ defensive capabilities and reaction efficacy by combining their respective strengths and domain knowledge.

The Red Team takes on the role of the enemy in a classic Red Team vs. Blue Team scenario, trying to get past the business’s safeguards as the Blue Team counterattacks.  In a Purple Team model, however, the Red Team and Blue Team collaborate closely to accomplish shared objectives.  In addition, the offensive and defensive teams can work together, share knowledge, and learn together thanks to the Purple Team strategy.

How Does A Purple Team Work?

Within the context of cybersecurity, the term “Purple Team” denotes a collaborative methodology that amalgamates the offensive techniques employed by a Red Team with the defensive procedures employed by a Blue Team. The primary objective of a Purple Team is to enhance the comprehensive security stance of an organization through the facilitation of collaboration, knowledge dissemination, and ongoing feedback between the offensive team (Red Team) and the defensive team (Blue Team).

Benefits of Purple Team

The primary objective of a Purple Team in the field of cybersecurity is to effectively combine the attacking tactics employed by the Red Team with the defensive measures employed by the Blue Team, thereby augmenting the total level of security. The utilization of a Purple Team method has several advantages:

  • Improved Communication,
  • Faster Incident Response,
  • Comprehensive Security Assessment,
  • Continuous Learning and Improvement,
  • Resource Optimization,
  • Enhanced Detection and Mitigation,
  • Building a Security Culture, etc.

Examples of Purple Team Exercises

Purple Team exercises are characterized by a cooperative methodology in which the offensive unit, also known as the Red Team, and the defensive unit, referred to as the Blue Team, collaborate in order to enhance an organization’s cybersecurity measures. Presented below are a few illustrations of exercises that a Purple Team could potentially undertake:

  • Threat Emulation,
  • Tabletop Exercises,
  • Vulnerability Validation,
  • Phishing Simulation,
  • Incident Response Drills,
  • Advanced Persistent Threat (APT) Simulation,
  • Tool and Technique Testing,
  • Security Awareness Training Evaluation, etc.

Red Team vs Blue Team: Job Titles with Salary

Red Team consists of the following Job titles:

Red Team Operational Lead The function of the Red Team Operational Lead is of utmost importance as they are responsible for supervising and providing direction to the Red Team, a collective tasked with simulating prospective adversaries in order to assess and enhance an organization’s cybersecurity measures. The individual exhibits a profound comprehension of cybersecurity vulnerabilities, methods of attack, and the practice of penetration testing. The individuals in question bear the responsibility of strategizing, organizing, and implementing Red Team endeavors, with the aim of achieving predetermined goals and offering vital insights to enhance security measures. The role of the Operational Lead encompasses the facilitation of communication between many stakeholders, including the Red Team, Blue Team, and organizational leadership. This is done with the aim of fostering collaboration and promoting an efficient security posture.
IT Security IT security, also known as Information Technology Security, encompasses the methodologies and technological measures employed to safeguard digital information and IT infrastructure from unauthorized access, malicious assaults, and potential harm. The domain of cybersecurity comprises a diverse array of operations, which involve ensuring the protection and integrity of networks, computers, software applications, and data. The primary objective is to ensure the preservation of information’s confidentiality, integrity, and availability. Information Technology (IT) Security encompasses the implementation and utilization of various protective measures, such as firewalls, anti-virus software, secure access protocols, and encryption techniques. Furthermore, the implementation of policies and procedures serves to regulate user conduct, manage access controls, and address incidents effectively. Systematic audits and ongoing monitoring activities are implemented in order to identify and address any security concerns.
Cyber Red Team Operator A Cyber Red Team Operator refers to an individual who is part of the Red Team, with a specific focus on simulating cyber-attacks in order to assess and appraise the efficacy of an organization’s security protocols. These operators have expertise in diverse hacking tactics, tools, and methodologies employed by malevolent entities. The individual’s responsibilities encompass the strategic development and execution of penetration tests, social engineering exercises, and other simulated attacks with the aim of detecting vulnerabilities and weaknesses within the security architecture of the firm. Cyber Red Team Operators contribute to the company’s risk assessment and security control evaluation by replicating the tactics, strategies, and processes employed by genuine adversaries. This enables the organization to enhance its defense mechanisms and mitigate the likelihood of actual cyber-attacks.


Blue consists of the following Job titles:

Incident Response Manager The function of the Incident Reaction Manager is of utmost importance in effectively managing and coordinating the organization’s reaction to cyber incidents. The individual assumes the role of team leader for a group of security specialists, tasked with the responsibility of finding, investigating, and mitigating security incidents and breaches. The successful execution of this position necessitates a comprehensive comprehension of cybersecurity principles, the ever-evolving nature of threat landscapes, and the established mechanisms for incident response. The work of the Incident Response Manager involves the development and execution of incident response plans, with a focus on assuring the readiness and clarity of all team members regarding their respective responsibilities in the event of an occurrence. Additionally, they engage in communication with various stakeholders, delivering regular updates and reports regarding issues and the continuous efforts undertaken to address them. Following the incident, they assumed responsibility for conducting an analysis of the occurrence with the aim of identifying valuable insights and areas for enhancement in security processes and response techniques.
Cyber Security Engineer The role of a Cyber Security Engineer entails the design and implementation of network solutions that prioritize security in order to safeguard against many forms of cyber threats, including hackers, cyber-attacks, and other persistent vulnerabilities. Cybersecurity professionals assume a pivotal function in safeguarding an organization’s systems and networks, employing a comprehensive range of proficiencies encompassing network security, application security, security analysis, and risk assessment. Cybersecurity engineers frequently engage in security assessments and penetration testing as part of their routine activities to detect and address vulnerabilities. In addition, they engage in the development and execution of firewalls, intrusion detection systems, and various other proactive measures. This position necessitates continuous monitoring and awareness of current security trends, threats, and technologies in order to maintain the organization’s strong and adaptable defense mechanisms.
Cyber Security Analyst The primary objective of the Cyber Security Analyst is to continuously monitor and analyze the security posture of a company. The individuals in question bear the responsibility of identifying, examining, and addressing security occurrences and risks. The process entails employing a range of tools and technologies to identify and address vulnerabilities, examine security breaches, and safeguard against unwanted access or data exfiltration. The position of the Cyber Security Analyst is crucial in the formulation and execution of security policies and protocols. They frequently collaborate with various IT and security teams to guarantee the establishment of a comprehensive security plan. In addition, they actively participate in security awareness initiatives and play a crucial role in imparting knowledge to other employees regarding optimal strategies for upholding security measures. The role necessitates the continuous acquisition of knowledge and the active monitoring of contemporary cybersecurity trends and risks.

Red Team Vs Blue Team: Techniques

In the realm of cybersecurity, the Red Team and Blue Team assume unique roles, each with a specific focus. The Red Team is primarily engaged in employing offensive approaches to assess and identify vulnerabilities, while the Blue Team is dedicated to implementing defensive measures aimed at safeguarding against potential attacks. The following is an analysis of the various techniques employed by the individuals in question:

Red Team Techniques

Penetration Testing Engaging in sanctioned cyber-attacks with the purpose of identifying and capitalizing on weaknesses within the organization’s systems, networks, or applications.
Social Engineering Engaging in tactics aimed at coercing persons to provide sensitive information or do acts that may jeopardize security.
Phishing Attacks The act of transmitting fraudulent electronic communications or messages with the intention of deceiving receivers into divulging confidential information or installing harmful software.
Physical Security Assessments Assessing the efficacy of an organization’s physical security protocols, encompassing elements such as access controls and surveillance systems.
Wireless Network Assessments The objective of this study is to assess the security of wireless networks by detecting potential weaknesses such as inadequate encryption protocols or the presence of unauthorized access points.
Malware Analysis The utilization of controlled environments for the examination and evaluation of the conduct and attributes of harmful software.
Network Traffic Analysis The process of monitoring and analyzing network traffic is conducted with the objective of identifying any potentially suspicious activity or instances of illegal access.


Blue Team Techniques

Incident Response This task involves the establishment and execution of protocols aimed at effectively addressing security incidents, encompassing the processes of identifying, containing, and eliminating potential risks.
Firewall Management The process of configuring and administering firewalls involves the establishment and control of network traffic, both incoming and outgoing, by implementing a predetermined set of rules.
Intrusion Detection and Prevention Systems (IDPS) The implementation of tools for the monitoring of network and/or system activities with the purpose of detecting malicious activity or policy violations.
Security Information and Event Management (SIEM) By employing technologies that offer instantaneous analysis of security alarms generated by applications and network hardware.
Antivirus and Anti-malware Solutions The implementation of software for the purpose of detecting and removing dangerous malware.
Patch Management The imperative task of maintaining the currency of all systems and software by applying the most recent security patches.
User Training and Awareness Implementing initiatives aimed at providing staff with comprehensive knowledge of security best practices and potential threats.

Red Team vs Blue Team: Skills and Tools

Red Teaming and Blue Teaming are two distinct approaches within the field of cybersecurity, each representing offensive and defensive strategies, respectively. Every team necessitates a distinct combination of abilities and tools in order to proficiently execute their respective tasks.

Red Team Skills and Tools


Penetration Testing Proficiency in executing sanctioned offensive operations aimed at identifying and capitalizing on weaknesses within systems, networks, and applications.
Social Engineering Proficiency in the art of influencing someone to divulge sensitive information or engage in activities that undermine security.
Programming and Scripting Proficiency in programming languages such as Python, Bash, or PowerShell is required to effectively write scripts or exploit code.
Ethical Hacking Gaining comprehension of hacking methodologies and their ethical and responsible application.
Vulnerability Assessment The capacity to evaluate and rank vulnerabilities according to their possible impact.
Network and System Exploitation The acquisition of expertise in the manipulation of network protocols and identification of system vulnerabilities.
Malware Analysis Proficiency in the analysis and comprehension of malevolent software’s behavior.
Cyber Threat Intelligence The process of collecting and evaluating data pertaining to potential risks and individuals or entities involved in such risks.



Metasploit The aforementioned program serves the purpose of facilitating the development, testing, and execution of exploit code on a remote target machine.
Burp Suite This study proposes the development of a comprehensive platform designed to facilitate the execution of web application security testing.
Wireshark A network protocol analyzer is a tool employed for the purpose of network troubleshooting and analysis.
Nmap A network scanner is a tool employed for the purpose of identifying hosts and services within a computer network.
Cobalt Strike The software in question is a threat emulation tool specifically developed for Red Team operations and adversary simulations.
John the Ripper A tool designed for the purpose of breaking passwords.
Kali Linux The aforementioned distribution is a comprehensive package that encompasses a wide array of tools specifically designed for the purposes of penetration testing and ethical hacking.


Blue Team Skills and Tools


Incident Response The capacity to proficiently address and alleviate security issues.
Digital Forensics Proficiency in the analysis of digital material and systems for the purpose of detecting and comprehending cyber threats.
Network Security Understanding the principles and techniques involved in safeguarding a computer network architecture.
Security Information and Event Management (SIEM) Proficiency in the timely analysis and reporting of security alarms.
Vulnerability Management The capacity to discern, assess, and rectify vulnerabilities.
User Education and Awareness The development and implementation of training programs aimed at instructing users on optimal security practices.
Security Policy Development The task at hand involves the development and execution of security rules and procedures.



Splunk Security Information and Event Management (SIEM) technology is employed for the purpose of conducting searches, monitoring activities, and analyzing large volumes of data created by machines.
Snort The subject under discussion is an open-source network intrusion prevention system.
Nessus A vulnerability scanner that is extensively utilized.
Active Directory A directory service is a system designed for the purpose of effectively managing network resources.
Firewalls Network traffic monitoring and control tools, such as Cisco, Palo Alto, and Fortinet, are employed to oversee and regulate the flow of incoming and outgoing data within a network.
Endpoint Protection Platforms Examples of software programs that can be utilized to mitigate the risk of malware attacks include Symantec, McAfee, and Windows Defender.
Security Operations Center (SOC) These are the facilities that accommodate an information security team, which is tasked with the responsibility of monitoring and analyzing the security status of a business.

Red Team Vs Blue Team

  1. Area of Difference
  • Red Teams: The primary emphasis lies on offensive tactics, wherein the objective is to simulate potential attackers in order to identify weaknesses.
  • Blue Teams: The primary focus should be directed on defensive techniques, encompassing measures to safeguard against potential attacks and effectively reduce the impact of any resulting harm.
  1. Defensive vs Offensive
Red Teams Adopt an assertive strategy to identify potential vulnerabilities and weaknesses.
Blue Teams Implement a proactive approach by adopting a defensive posture, wherein various methods are established to mitigate, identify, and address potential threats.


  1. Capabilities
Red Teams Proficient at emulating the tactics, methods, and procedures (TTPs) employed by actual adversaries in real-world scenarios.
Blue Teams Proficiency in the deployment and administration of security technologies, execution of forensic analysis, and establishment of security policies.


  1. Scope and Objective
Red Teams The objective is to assess the efficacy of the organization’s defensive measures and pinpoint potential areas for enhancement through the simulation of cyber-attacks.
Blue Teams The primary objective is to sustain and enhance the security of the organization’s information systems.


  1. Measure Used
Red Teams Success can be evaluated based on an individual’s capacity to uncover weaknesses, circumvent security measures, and accomplish their goals without detection.
Blue Teams The measure of success consists of an entity’s capacity to proactively avert assaults, promptly identify deviations from the norm, and efficiently address security problems.


  1. Success Parameters
Red Teams Success can be achieved if individuals are able to identify flaws, manipulate systems, or obtain unauthorized entry, hence offering useful insights for enhancement.
Blue Teams Success can be achieved in the realm of cybersecurity by effectively preventing breaches, promptly detecting and mitigating assaults, and ensuring the continued integrity and availability of systems.


Red Team vs Blue Team: Certification

Professionals belonging to both the Red Team and Blue Team have the opportunity to expand their skill sets and confirm their competence by obtaining a range of certifications. The purpose of these certifications is to offer structured educational programs and training in specialized domains of cybersecurity, hence enhancing persons’ ability to fulfill their responsibilities with greater efficiency. The following list has several widely recognized certificates for each respective team:

Red Team (Offensive Security Certifications):

  • Offensive Security Certified Professional (OSCP),
  • 1 Year Industry-Oriented Cyber Security Course by Craw Security,
  • Certified Ethical Hacker (CEH),
  • eLearnSecurity Certified Professional Penetration Tester (eCPPT),
  • GIAC Penetration Tester (GPEN), etc.

Blue Team (Defensive Security Certifications):

  • Certified Information Systems Security Professional (CISSP),
  • GIAC Certified Incident Handler (GCIH),
  • Certified Information Security Manager (CISM),
  • GIAC Certified Intrusion Analyst (GCIA), etc.

How Do Red and Blue Teams Work Together?

In cybersecurity, Red and Blue Teams frequently cooperate to improve an organization’s overall security posture. Usually, this kind of cooperation is symbolized by the idea of a “Purple Team.” Here’s how the Red and Blue Teams work together:

  1. Red Team (Offense):
  • Role: It detects flaws and vulnerabilities in systems, apps, and procedures by simulating cyberattacks.
  • Activities: It uses offensive techniques such as ethical hacking, penetration testing, and other tactics to imitate real-world dangers.
  1. Blue Team (Defense):
  • Role: It emphasizes defensive security measures, such as incident response, detection, and monitoring.
  • Activities: It carries out incident response, maintains security controls, and seeks to stop, identify, and lessen cyber threats.
  1. Collaboration – Purple Team:
  • Focus: To strengthen cybersecurity, the Purple Team idea combines Red and Blue Team actions.
  • Activities:

Joint Exercises: Working together on simulated scenarios, the Red Team represents attackers while the Blue Team defends against these mock assaults.

Knowledge Sharing: The two teams collaborate to improve the organization’s security posture by exchanging ideas, methods, and strategies.

Continuous Improvement: The cooperative effort aids in locating flaws and holes in offensive and defensive tactics, resulting in continuous security measure upgrades.

  1. Benefits of Collaboration:
  • Realistic Scenarios: Through realistic threat simulations offered by Red Team exercises, the Blue Team can hone and perfect their reaction to real-world cyber threats.
  • Knowledge Transfer: The cooperation between the offensive and defensive teams promotes a shared understanding of tactics, methods, and procedures (TTPs).
  • Proactive Defense: Organizations can proactively detect and resolve vulnerabilities before actual attackers make use of them by cooperating.

Cybersecurity Color Wheel: Yellow, Green, Orange, And Purple Team

S.No. Factors Yellow Team Green Team Orange Team Purple Team
1. Focus Information collecting and threat intelligence. Instruction and training. Combining defense and attack tactics. Collaboration between red and blue teams.
2. Role It enhances proactive protection strategies by analyzing and comprehending prospective threats, weaknesses, and the broader cybersecurity landscape. It is primarily responsible for informing and preparing staff members on cybersecurity best practices and creating a security-aware workforce. It serves as a transitional squad by fusing elements of the blue and red teams to strengthen the cybersecurity posture overall. It aims to improve coordination and communication between the offensive (red) and defensive (blue) teams to promote a more cohesive and successful cybersecurity strategy.


1: Is red team better than Blue?

Red Team and Blue Team comparisons cannot be boiled down to a straightforward assessment of which is superior to another one.  Although both Red Teams and Blue Teams are essential to an organization’s cybersecurity operations, their roles and goals are different.

Hence, no one can comment that one team is better than the other.

2: Does blue team or red team pay more?

The pay for those in Red Team or Blue Team roles may differ based on a number of variables, notably region, industry, amount of experience, and the particular company.  It’s crucial to remember that salaries can change over time and are influenced by a variety of market conditions.  As a result, it is difficult to say with certainty which team normally pays more.

3: What is the difference between red team and white team?

In general, White Teams are frequently referred to in the framework of supervising and assuring the impartiality and conformity of cybersecurity exercises, whereas Red Teams concentrate on simulating assaults and detecting weaknesses.  A White Team may have different tasks and responsibilities, and it is less well-known in the cybersecurity community than Red Teams and Blue Teams.

4: What is blue team analysis?

The team designated as the blue team will undertake the task of identifying and promptly addressing any potential dangers that may arise within an organization’s systems. Proficiency in analyzing the data derived from security tools and effectively prioritizing and addressing security issues is crucial for this task. System Hardening: It is a common observation that numerous systems possess inherent vulnerabilities in their default configurations.

5: How to Build an Effective Red Team and Blue Team?

By using the below-mentioned techniques, one can nicely build an effective Red Team and Blue Team:

  • Select Skilled Professionals,
  • Provide Comprehensive Training,
  • Use the Right Tools,
  • Simulate Real-World Scenarios,
  • Encourage Creative Thinking, etc.

6: How Do Red and Blue Teams Work Together?

Both red teams and blue teams contribute to enhancing an organization’s security; nevertheless, their approaches differ. The red team assumes the character of an aggressor, engaging in activities aimed at identifying weaknesses and breaching cybersecurity defenses. The primary function of a blue team is to proactively defend against cyber assaults and effectively respond to security events as they arise.

7. Is Soc a blue team?

Indeed, with its emphasis on defensive tactics, incident detection, and response, a Security Operations Center (SOC) is generally regarded as a component of the cybersecurity blue team.

8. Why is it called red team?

The phrase “red team” in cybersecurity refers to a simulation of an attacker looking for holes and flaws in a system, modeled after military drills where the enemy is represented by the color red.

9. What is an example of a red team?

An ethical hacking group known as a “red team” is employed by companies to imitate actual cyberattacks to help them find gaps and vulnerabilities in their security measures.

10. What is the full name of the red team?

In cybersecurity, a simulated attack is used to test and strengthen an organization’s defenses. The term “red team” refers to this process as “Red Team Assessment” or “Red Team Exercise.”

11. Is the red team illegal?

No, a red team is not prohibited from carrying out ethical hacking within established legal bounds. Their goal is to strengthen cybersecurity defenses by simulating attacks.

12. Who invented red teaming?

The genesis of red teaming can be traced back to military war-gaming techniques, however its precise creator is unknown.

13. What is the role of a blue team?

According to the cybersecurity color wheel, a blue team’s job is to safeguard an organization’s systems and data by concentrating on defensive measures like monitoring, detecting, and responding to security issues.

14. Is Red Teaming good?

Certainly, red teaming helps with cybersecurity by simulating actual assaults and assisting firms in identifying and fixing weaknesses to improve their overall security posture.


In the bottom line, we would like to state that we have tried to put some light on the main factors of the Red Team Vs. Blue Team, which plays a very crucial role in finding all kinds of cybersecurity vulnerabilities within an IT infrastructure of an enterprise.  Hence, if you need to go through all the things to brush up on your skills or acquire them from a very fresh perspective, you can join our fresh batches of One Year Industry-Oriented Cyber Security Courses from Craw Security, the Best Cybersecurity Training Institute in Singapore.  Call +65-93515400 to know more.


Leave a Reply

Your email address will not be published. Required fields are marked *

Enquire Now

Cyber Security services
Open chat
Greetings From Craw Cyber Security !!
Can we help you?

Fatal error: Uncaught TypeError: preg_match() expects parameter 2 to be string, null given in /home/crawsg/domains/ Stack trace: #0 /home/crawsg/domains/ preg_match() #1 /home/crawsg/domains/ WP_Rocket\Engine\Optimization\DelayJS\HTML->move_meta_charset_to_head() #2 /home/crawsg/domains/ WP_Rocket\Engine\Optimization\DelayJS\Subscriber->add_delay_js_script() #3 /home/crawsg/domains/ WP_Hook->apply_filters() #4 /home/crawsg/domains/ apply_filters() #5 [internal function]: WP_Rocket\Buffer\Optimization->maybe_process_buff in /home/crawsg/domains/ on line 221