Deprecated: in ConfirmAccount/AccountRequest

Anything related to the content on our wiki (https://wiki.factorio.com/)

Moderator: Bilka

lane_ftw
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Feb 17, 2024 2:35 pm
Contact:

Deprecated: in ConfirmAccount/AccountRequest

Post by lane_ftw »

Code: Select all

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/wiki.factorio.com/extensions/ConfirmAccount/includes/backend/UserAccountRequest.php on line 93
Requested an account, got this on https://wiki.factorio.com/Special:RequestAccount top of the page.
01-10-2025, 23-58-51.png
01-10-2025, 23-58-51.png (131.88 KiB) Viewed 201 times
eugenekay
Fast Inserter
Fast Inserter
Posts: 150
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Deprecated: in ConfirmAccount/AccountRequest

Post by eugenekay »

This error is actually from the PHP Interpreter, regarding the use of a deprecated function in MediaWiki.

The REAL issue here is that the php.ini setting “display_errors” is apparently set to True! This is an Insecure default, since it exposes potentially sensitive information about the file system on which the Wiki is running (“/var/www/wiki.factorio.com/”, and any other Runtime error message which is not Caught by application error handling…. Since MediaWiki (and PhpBB, which is this forum itself) are not known for their bulletproof security record; this option should really be False. :-)
Post Reply

Return to “Wiki Talk”