[BUG] Error when downloading campain map #20

Closed
opened 2023-09-09 20:23:38 +02:00 by beu · 1 comment
Owner
tm2020-dev-controller-1  | Warning: Trying to access array offset on value of type null in /opt/TrackManiaControl/core/Maps/DirectoryBrowser.php on line 460
tm2020-dev-controller-1  | [09-Sep-2023 18:22:30 UTC] [PHP ERROR '8192']: trim(): Passing null to parameter #1 ($string) of type string is deprecated
tm2020-dev-controller-1  | File&Line: /opt/TrackManiaControl/core/Maps/DirectoryBrowser.php: 460
tm2020-dev-controller-1  | Trace: 
tm2020-dev-controller-1  | #0: trim(NULL()) in File core/Maps/DirectoryBrowser.php on Line 460
tm2020-dev-controller-1  | #1: ManiaControl\Maps\DirectoryBrowser->handleDownloadFile(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array())), ...)
tm2020-dev-controller-1  | #2: call_user_func(array(object(ManiaControl\Maps\DirectoryBrowser), string(handleDownloadFile)), array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array())), ...) in File core/Manialinks/ManialinkManager.php on Line 217
tm2020-dev-controller-1  | #3: ManiaControl\Manialinks\ManialinkManager->handleManialinkPageAnswer(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...)
tm2020-dev-controller-1  | #4: call_user_func_array(array(object(ManiaControl\Manialinks\ManialinkManager), string(handleManialinkPageAnswer)), array(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...)...) in File core/Callbacks/Listening.php on Line 68
tm2020-dev-controller-1  | #5: ManiaControl\Callbacks\Listening->triggerCallbackWithParams(array(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...)...) in File core/Callbacks/CallbackManager.php on Line 366
tm2020-dev-controller-1  | #6: ManiaControl\Callbacks\CallbackManager->triggerCallback(string(ManiaPlanet.PlayerManialinkPageAnswer), array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...) in File core/Callbacks/CallbackManager.php on Line 346
tm2020-dev-controller-1  | #7: ManiaControl\Callbacks\CallbackManager->handleCallback(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...) in File core/Callbacks/CallbackManager.php on Line 293
tm2020-dev-controller-1  | #8: ManiaControl\Callbacks\CallbackManager->manageCallbacks() in File core/ManiaControl.php on Line 797
tm2020-dev-controller-1  | #9: ManiaControl\ManiaControl->loop() in File core/ManiaControl.php on Line 688
tm2020-dev-controller-1  | #10: ManiaControl\ManiaControl->run() in File ManiaControl.php on Line 58```
``` tm2020-dev-controller-1 | Warning: Trying to access array offset on value of type null in /opt/TrackManiaControl/core/Maps/DirectoryBrowser.php on line 460 tm2020-dev-controller-1 | [09-Sep-2023 18:22:30 UTC] [PHP ERROR '8192']: trim(): Passing null to parameter #1 ($string) of type string is deprecated tm2020-dev-controller-1 | File&Line: /opt/TrackManiaControl/core/Maps/DirectoryBrowser.php: 460 tm2020-dev-controller-1 | Trace: tm2020-dev-controller-1 | #0: trim(NULL()) in File core/Maps/DirectoryBrowser.php on Line 460 tm2020-dev-controller-1 | #1: ManiaControl\Maps\DirectoryBrowser->handleDownloadFile(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array())), ...) tm2020-dev-controller-1 | #2: call_user_func(array(object(ManiaControl\Maps\DirectoryBrowser), string(handleDownloadFile)), array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array())), ...) in File core/Manialinks/ManialinkManager.php on Line 217 tm2020-dev-controller-1 | #3: ManiaControl\Manialinks\ManialinkManager->handleManialinkPageAnswer(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...) tm2020-dev-controller-1 | #4: call_user_func_array(array(object(ManiaControl\Manialinks\ManialinkManager), string(handleManialinkPageAnswer)), array(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...)...) in File core/Callbacks/Listening.php on Line 68 tm2020-dev-controller-1 | #5: ManiaControl\Callbacks\Listening->triggerCallbackWithParams(array(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...)...) in File core/Callbacks/CallbackManager.php on Line 366 tm2020-dev-controller-1 | #6: ManiaControl\Callbacks\CallbackManager->triggerCallback(string(ManiaPlanet.PlayerManialinkPageAnswer), array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...) in File core/Callbacks/CallbackManager.php on Line 346 tm2020-dev-controller-1 | #7: ManiaControl\Callbacks\CallbackManager->handleCallback(array(string(ManiaPlanet.PlayerManialinkPageAnswer), array(integer(236), string(Vvjdn4WBRE6irR6Oie7RpA), string(MapsDirBrowser.DownloadFile), array()))...) in File core/Callbacks/CallbackManager.php on Line 293 tm2020-dev-controller-1 | #8: ManiaControl\Callbacks\CallbackManager->manageCallbacks() in File core/ManiaControl.php on Line 797 tm2020-dev-controller-1 | #9: ManiaControl\ManiaControl->loop() in File core/ManiaControl.php on Line 688 tm2020-dev-controller-1 | #10: ManiaControl\ManiaControl->run() in File ManiaControl.php on Line 58```
Author
Owner

can't reproduce

can't reproduce
beu closed this issue 2024-07-14 22:13:25 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: beu/TrackManiaControl#20
No description provided.