LANraragi icon indicating copy to clipboard operation
LANraragi copied to clipboard

Wide character in subroutine entry

Open 53nemu opened this issue 5 months ago • 2 comments

LRR Version and OS Please tell which version you're running, as well as your OS and installation method. (Windows, Docker, Native)

debian docker

Bug Details Please detail the bug here.

Hello, I apologize as I am not a native English speaker, so I am using ChatGPT to translate this conversation. I installed the latest version of the image using Portainer, but during the initial run, Portainer indicated that the container was unhealthy (with the same error). After uploading a plugin obtained from a friend (who confirmed that the plugin works without errors on their end) and running it, I am no longer able to access the plugin page (I received a lovely image of Mayoi Hachikuji). When I used debugging and performed the actions mentioned above, a new page appeared with the following error log:

Matching Logs Post any logs you have encountered when reproducing the bug.
If possible, switch the app to Debug Mode in order to have more logs.

Wide character in subroutine entry at /usr/local/share/perl5/site_perl/Mojo/JSON.pm line 31.

my $TEXT   = Cpanel::JSON::XS->new;
$_->canonical->allow_nonref->allow_unknown->allow_blessed->convert_blessed->stringify_infnan->escape_slash
->allow_dupkeys
for $BINARY, $TEXT;
monkey_patch __PACKAGE__, 'encode_json', sub { $BINARY->encode($_[0]) };
monkey_patch __PACKAGE__, 'decode_json', sub { $BINARY->decode($_[0]) };
monkey_patch __PACKAGE__, 'to_json',     sub { $TEXT->encode($_[0]) };
monkey_patch __PACKAGE__, 'from_json',   sub { $TEXT->decode($_[0]) };

Screenshots If applicable, add screenshots to help explain your problem.

53nemu avatar Aug 30 '24 13:08 53nemu