Jump to content

Renamed Clubs/Translated it, now Unknown Error in API?


Go to solution Solved by Stuart Silvester,

Recommended Posts

Yesterday on my Invision Community installation I went about renaming 'Clubs' on my installation to 'Activities'. I changed the friendly URL and used the Quick Translating tool to change all the text to reflect the change.

This morning I noticed that something about me doing that upset the REST API.

EG.

GET https://mywebsite.com/api/core/members/3/notifications?key=######################&page=1

Brings back a 500 Internal Error

{
    "errorCode": "EX0",
    "errorMessage": "UNKNOWN_ERROR"
}

From the System Logs, I see the following

UnderflowException::0

lang_not_exists__core_pfield_6

BACKTRACE

#0 /var/www/html/efs-mount-point/system/Member/Club/Club.php(1800): IPS\_Lang->get()
#1 /var/www/html/efs-mount-point/system/Notification/Inline.php(288): IPS\Member\_Club->apiOutput()
#2 /var/www/html/efs-mount-point/system/Api/PaginatedResponse.php(110): IPS\Notification\_Inline->apiOutput()
#3 /var/www/html/efs-mount-point/system/Dispatcher/Api.php(335): IPS\Api\_PaginatedResponse->getOutput()
#4 /var/www/html/efs-mount-point/api/index.php(11): IPS\Dispatcher\_Api->run()
#5 {main}

LOADED HOOKS

applications/groupmention/hooks/groupmentionContentContent.php

 

I wonder what is going on there?

Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...