Weird compilation error

I was recently just making an arduino ethernet project and. I just just randomly compiled the code and it showed this:

"/home/builder/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino/IPAddress.h:29:7: note: candidate expects 1 argument, 3 provided

/home/builder/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino/IPAddress.h:29:7: note: candidate: constexpr IPAddress::IPAddress(IPAddress&&)

/home/builder/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino/IPAddress.h:29:7: note: candidate expects 1 argument, 3 provided

exit status 1"
Here is the code if you can help me:

#include <Ethernet.h>
#include <SPI.h>
byte mac[6] {0x90, 0xA2, 0xDA, 0x0D, 0x21, 0xEA};
IPAddress ip(192, 168, 178);
EthernetServer server(80);
int led1 = 31;
int led2 = 33;
int led3 = 35;
void setup() {
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
Ethernet.begin(mac, ip);

void loop() {
EthernetClient client = server.available();
if(client) {
client.println("HTTP/1.1 OK");
client.println("Content-Type: html");
client.println("Refresh: 60");
client.println("Arduino Mega 2560");

must have 4 arguments like
IPAddress ip(192, 168, 178, 1);

@andrewcuse1 Why do users choose to ignore the advice on posting code ?

The easier you make it to read and copy your code the more likely it is that you will get help

Please follow the advice given in the link below when posting code , use code tags and post the code here

If you get errors when compiling please copy them from the IDE using the "Copy error messages" button and paste the clipboard here in code tags

Well, what if we are using the cloud editor?

Then you click on the copy icon in the right corner of the output screen to copy the text to the clipboard and make it available for pasting here

ok. Thank you.