Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in 10.4.8 #8

Open
IL-Michi opened this issue Sep 21, 2020 · 4 comments
Open

Bug in 10.4.8 #8

IL-Michi opened this issue Sep 21, 2020 · 4 comments

Comments

@IL-Michi
Copy link

I got this error in the new Version
Call to undefined method TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl()
The Code is in this File and Line -> wv_file_cleanup/Classes/Controller/CleanupController.php line 311

@DavidBruchmann
Copy link
Contributor

I haven't checked but probably the related core-change can be found in the installtool where the extension-scanner is scanning the files and displaying the corresponding changelog- and deprecation-messages. Hints which changes are required are usually part of the messages.

@JanBartels
Copy link

A quick & dirty fix:

        } catch (\Exception $e) {
            // Silent ignore exceptions
        } catch (\Throwable $e) {
        }

Add the catch for Throwables a few lines further down. This fix doesn't solve the undefined method call, but the corrected exception handling for PHP 7.4 keeps the BE-module running.

@DavidBruchmann
Copy link
Contributor

@DavidBruchmann
Copy link
Contributor

In the current master the method is not used anymore so we'd likely just need a new tagged version which should also be released on TER.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants