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

/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. #145

Closed
mentastic opened this issue Dec 27, 2023 · 6 comments
Labels
enhancement New feature or request
Milestone

Comments

@mentastic
Copy link

Explain the Problem

What problem did you encounter?
The log runs full with this message:
/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.

Steps to Reproduce

Explain what you did to encounter the issue

  1. Install/ having installed webapppassword in nextcloud instance
  2. Just look into the log of nextcloud instance with an admin account

System Information

  • WebAppPassword app version: 23.12.0
  • Nextcloud version: 28.0.1
  • Cron type: Cron
  • PHP version: 8.1.2
  • Database and version: MariadB v20.6
  • Browser and version: Firefox v120.0.1
  • Distribution and version: Ubuntu 22.04 LTS

Contents of nextcloud/data/nextcloud.log

{"reqId":"qi8FChlGBRXpX15Q21m8","level":0,"time":"2023-12-27T13:31:03+00:00","remoteAddr":"","user":"--","app":"webapppassword","method":"","url":"--","message":"/appinfo/app.php is dep
recated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"28.0.1.1","data":{"app":"webapppassword"}}

Contents of Browser Error Console

No need.

@pbek
Copy link
Member

pbek commented Dec 27, 2023

Thank you for reporting.

@pbek pbek added the enhancement New feature or request label Dec 27, 2023
@pbek
Copy link
Member

pbek commented Jan 8, 2024

Note: You need to set the loglevel to 0 in your Nextcloud's config.php to be able to reproduce this! It's on 2 by default!

@pbek
Copy link
Member

pbek commented Jan 8, 2024

24.1.0

  • Fixed app.info deprecation warning debug message
    (for #145)

There now is a new release, could you please test it and report if it works for you?

@mentastic
Copy link
Author

24.1.0

* Fixed `app.info` deprecation warning debug message
  (for [#145](https://github.com/digital-blueprint/webapppassword/issues/145))

There now is a new release, could you please test it and report if it works for you?

now everything's well, thanx

@mentastic
Copy link
Author

problem is fixed

@pbek
Copy link
Member

pbek commented Jan 13, 2024

Great, thank you for testing!

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

No branches or pull requests

2 participants