You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't update your packages in the IDE. Just download the repository linked in the wiki. I had the same error as I updated my packages from the IDE, but rolling it back and manually extracting the zip from the link to the code in the wiki allows it to compile.
This is the full error message
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino: In lambda function:
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9545:59: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter p = request->getParam(0);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9545:59: note: candidates are:
In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:70:0:
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:360:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:362:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:373:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino: In lambda function:
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9564:59: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter p = request->getParam(0);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9564:59: note: candidates are:
In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:70:0:
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:360:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:362:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:373:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino: In lambda function:
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9626:67: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter slotParam = request->getParam(0);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9626:67: note: candidates are:
In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:70:0:
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:360:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:362:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:373:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino: In lambda function:
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9673:72: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter slotIndexParam = request->getParam(0);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9673:72: note: candidates are:
In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:70:0:
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:360:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:362:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:373:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9681:71: error: invalid conversion from 'const AsyncWebParameter*' to 'AsyncWebParameter*' [-fpermissive]
AsyncWebParameter slotNameParam = request->getParam(1);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino: In lambda function:
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9711:51: error: call of overloaded 'getParam(int)' is ambiguous
AsyncWebParameter p = request->getParam(0);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9711:51: note: candidates are:
In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:70:0:
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:360:30: note: const AsyncWebParameter AsyncWebServerRequest::getParam(const char, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:362:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:373:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino: In lambda function:
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9806:58: error: call of overloaded 'getParam(int)' is ambiguous
request->send(SPIFFS, request->getParam(0)->value(), String(), true);
^
C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:9806:58: note: candidates are:
In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\gbs-control\gbs-control.ino:70:0:
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:360:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const char*, bool, bool) const
const AsyncWebParameter* getParam(const char* name, bool post = false, bool file = false) const;
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:362:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(const String&, bool, bool) const
const AsyncWebParameter* getParam(const String& name, bool post = false, bool file = false) const { return getParam(name.c_str(), post, file); };
^
c:\Users\user\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:373:30: note: const AsyncWebParameter* AsyncWebServerRequest::getParam(size_t) const
const AsyncWebParameter* getParam(size_t num) const;
^
exit status 1
Compilation error: call of overloaded 'getParam(int)' is ambiguous
The text was updated successfully, but these errors were encountered: