•  
      request #42620 Type error on BlobDataReader
    Infos
    #42620
    Marie Ange Garnier (marieange)
    2025-04-17 13:53
    2025-04-15 09:41
    44296
    Details
    Type error on BlobDataReader

    2025/04/14 13:59:03 [error] 3271897#3271897: *36025311 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Tuleap\Git\GitPHP\BlobDataReader::convertToUTF8(): Argument #1 ($data) must be of type string, bool given, called in /usr/share/tuleap/plugins/git/include/GitPHP/git/BlobDataReader.php on line 39 and defined in /usr/share/tuleap/plugins/git/include/GitPHP/git/BlobDataReader.php:42 Stack trace: #0 /usr/share/tuleap/plugins/git/include/GitPHP/git/BlobDataReader.php(39): Tuleap\Git\GitPHP\BlobDataReader->convertToUTF8() #1 /usr/share/tuleap/plugins/git/include/GitPHP/git/FileDiff.php(651): Tuleap\Git\GitPHP\BlobDataReader->getDataStringInUTF8() #2 /tmp/gitphp-tuleap/smarty/templates_c/d91db40d867fec08d9adcfdc5c0935f098babee1_0.file_blob-diff.tpl.php(87): Tuleap\Git\GitPHP\FileDiff->GetDiff() #3 /usr/share/tuleap/plugins/git/vendor/smarty/smarty/src/Template/GeneratedPhpFile.php(111): content_67fd14a73035b6_00399095() #4 /usr/share/tuleap/plugins/git/vendor/smarty/smarty/src/Template/Compiled.php(110): Smarty\Template\GeneratedPhpFile->getRenderedTemp" while reading response header from upstream

    SCM/Git
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2025-04-17
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes