Issue Bug Closed

#103116Oops, an error occurred! Call to a member function getStorage() on bool

Matthias Greiling 02/14/24, 10:37 updated 07/09/24, 15:33

Description

Since 9.5.46 & 11.5.35
“Oops, an error occurred! Call to a member function getStorage() on bool“
occurs at selecting a file as a link target in CKE as a non admin user. There is no problem as an admin user.

Reviews 1

Files 1

History 1014

  1. Matthias Greiling commented 02/14/24, 13:45

    Matthias Greiling wrote:
    > Since 9.5.46 & 11.5.36
    > “Oops, an error occurred! Call to a member function getStorage() on bool“
    > occurs at selecting a file as a link target in CKE as a non admin user. There is no problem as an admin user.

    The file storage is a link at www root – this structure does not work any more

    lrwxrwxrwx 1 www-data typowww 30 28. Sep 2015 fileadmin -> /mnt/TYPO3_data/fXXX/fileadmin
    lrwxrwxrwx 1 www-data typowww 19 16. Nov 2021 index.php -> typo3_src/index.php
    lrwxrwxrwx 1 www-data typowww 28 28. Sep 2015 robots.txt -> /opt/typo3/server/robots.txt
    lrwxrwxrwx 1 www-data typowww 15 16. Nov 2021 typo3 -> typo3_src/typo3
    -rwxr-xr-x 1 www-data typowww 189 16. Nov 2021 typo3cms
    drwxrwsr-x 6 www-data typowww 213 27. Jun 2023 typo3conf
    lrwxrwxrwx 1 www-data typowww 26 20. Jan 2022 typo3_src -> /opt/typo3/src/typo3_src-9
    lrwxrwxrwx 1 www-data typowww 30 16. Nov 2021 typo3temp -> /mnt/TYPO3_data/fXXX/typo3temp
    lrwxrwxrwx 1 www-data typowww 28 28. Sep 2015 uploads -> /mnt/TYPO3_data/fXXX/uploads

  2. Stig Nørgaard Færch commented and changed TYPO3 Version 9 11 PHP Version 7.4 8.1 02/14/24, 14:10

    We have this problem as well. But we don’t use link on the file storage.
    We found this happens when the user tries to create a link to a file in the RTE.

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 82999 status New Under Review 02/14/24, 15:18

  4. Gerrit Code Review pushed patch set 2 for 11.5 to change 82999 02/14/24, 15:18

  5. Gerrit Code Review pushed patch set 3 for 11.5 to change 82999 02/14/24, 15:30

  6. Matthias Greiling commented 02/14/24, 15:48

    Gerrit Code Review wrote in #note-5:
    > Patch set 3 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
    > It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82999

    line 126 patch fixes issues in 9.5.46 & 11.5.35

  7. Mathias Brodala changed description 02/14/24, 16:09

  8. Markus Klein changed Duplicated by #103122 02/14/24, 16:16

  9. Gerrit Code Review pushed patch set 4 for 11.5 to change 82999 02/14/24, 21:51

  10. Andreas Fernandez commented and changed status Under Review Resolved done 0 % 100 % 02/15/24, 09:35

    Applied in changeset commit:de0f48a7099fb320c50fd4635e11c1e4015690d9.

  11. Stefan Terborg commented 02/16/24, 12:52

    When will this fix become a release? I have several websites running into problems because editors cannot link files.

  12. Stig Nørgaard Færch commented 02/19/24, 08:29

    Also waiting for the next release. We get a many support calls, as we have 600 sites which have this problem.
    Will there be release soon? Else we will have to patch.

  13. Andreas Kienast changed Duplicated by #103150 02/19/24, 10:13

  14. Benni Mack changed status Resolved Closed 07/09/24, 15:33