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

Small Bug: app.php deprcation error message #61

Closed
yupthatguy opened this issue Jun 14, 2022 · 3 comments
Closed

Small Bug: app.php deprcation error message #61

yupthatguy opened this issue Jun 14, 2022 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yupthatguy
Copy link

hey there,

just doing some maintenance, trying to clear my error log. I found this bug for your app:
{"reqId":"Yp5kRCRvIDQU4afxJvGeLgAAURY","level":0,"time":"June 06, 2022 20:32:04","remoteAddr":"192.168.61.1","user":"fathertimetest","app":"auto_groups","method":"PUT","url":"/index.php/apps/user_status/heartbeat","message":"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36","version":"24.0.1.1"}

I am on NC24, Ubuntu 20.04, php7.4-fpm

@stjosh
Copy link
Owner

stjosh commented Jun 14, 2022

Thanks for reporting, I'll tackle this in the next release

@stjosh stjosh added this to the Release 1.5.0 milestone Jun 14, 2022
@stjosh stjosh self-assigned this Jun 14, 2022
@stjosh stjosh added the bug Something isn't working label Jun 14, 2022
@stjosh
Copy link
Owner

stjosh commented Jun 14, 2022

Note to myself: See here for the bootstrapping doc: https://docs.nextcloud.com/server/latest/developer_manual/app_development/bootstrap.html

Seems that it might be possible to just remove app.php and it would still work?

Need to test this and also test if this breaks compatibility with NC before v19 or not (seems that it is actually optional there as well).

@stjosh
Copy link
Owner

stjosh commented Dec 12, 2022

Fixed in Release 1.5.0

@stjosh stjosh closed this as completed Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants