Internet Explorer is not supported. Please upgrade to a more modern browser.
help me
[19:55:14 WARN]: [NamelessMC] The website didn't return a valid json response. Run /nlpl last_error to retrieve the full stack trace.
nlpl last_error
[19:55:30 WARN]: [NamelessMC] com.namelessmc.plugin.lib.nameless-api.exception.NamelessException: Website returned invalid response with code 200.
Website response, after 250ms:
-----------------
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null in /www/wwwroot/my.keidev.my.id/core/classes/Database/DB.php on line 253
#0 /www/wwwroot/my.keidev.my.id/core/classes/Database/DB.php(253): PDOStatement->execute()
#1 /www/wwwroot/my.keidev.my.id/core/classes/Core/User.php(147): DB->query()
#2 /www/wwwroot/my.keidev.my.id/core/classes/Core/User.php(551): User->addGroup()
#3 /www/wwwroot/my.keidev.my.id/core/classes/Core/User.php(914): User->getGroups()
#4 /www/wwwroot/my.keidev.my.id/custom/templates/Cobalt/template.php(320): User->canViewStaffCP()
#5 /www/wwwroot/my.keidev.my.id/custom/templates/Cobalt/template.php(459): Cobalt_Template->__construct()
#6 /www/wwwroot/my.keidev.my.id/core/templates/frontend_init.php(60): require('/www/wwwroot/my...')
#7 /www/wwwroot/my.keidev.my.id/modules/Core/pages/api/v2/index.php(17): require_once('/www/wwwroot/my...')
#8 /www/wwwroot/my.keidev.my.id/index.php(133): require('/www/wwwroot/my...')
#9 {main}
at Nameless-Plugin-Paper-3.4.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:219)
at Nameless-Plugin-Paper-3.4.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.get(RequestHandler.java:86)
at Nameless-Plugin-Paper-3.4.0.jar//com.namelessmc.plugin.lib.nameless-api.NamelessAPI.website(NamelessAPI.java:120)
at Nameless-Plugin-Paper-3.4.0.jar//com.namelessmc.plugin.common.ApiProvider.api(ApiProvider.java:118)
at Nameless-Plugin-Paper-3.4.0.jar//com.namelessmc.plugin.common.command.UserInfoCommand.lambda$execute$1(UserInfoCommand.java:41)
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101)
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 10 path $
at com.google.gson.JsonParser.parseReader(JsonParser.java:76)
at com.google.gson.JsonParser.parseString(JsonParser.java:51)
at Nameless-Plugin-Paper-3.4.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:187)
... 10 more
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 10 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1657)
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1463)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:551)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:433)
at com.google.gson.JsonParser.parseReader(JsonParser.java:71)
... 12 more
[19:55:47 WARN]: [NamelessMC] The website didn't return a valid json response. Run /nlpl last_error to retrieve the full stack trace.
[20:00:47 WARN]: [NamelessMC] The website didn't return a valid json response. Run /nlpl last_error to retrieve the full stack trace.
[20:05:47 WARN]: [NamelessMC] The website didn't return a valid json response. Run /nlpl last_error to retrieve the full stack trace.
[20:10:47 WARN]: [NamelessMC] The website didn't return a valid json response. Run /nlpl last_error to retrieve the full stack trace.
Hi,
I see the Solved label has been applied - if anyone has this issue in the future, it means the Cobalt template is not up to date, so updating to the latest version of that template should solve the problem.