owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.38k stars 2.06k forks source link

Uninitialized offset on two factor page #32659

Open PVince81 opened 6 years ago

PVince81 commented 6 years ago

Found by Sentry:

ErrorException: Uninitialized string offset: 0
#9 /srv/www/htdocs/owncloudtest/lib/private/URLGenerator.php(239): handleError
#8 /srv/www/htdocs/owncloudtest/lib/private/URLGenerator.php(239): getAbsoluteURL
#7 /srv/www/htdocs/owncloudtest/core/Controller/TwoFactorChallengeController.php(174): solveChallenge
#6 /srv/www/htdocs/owncloudtest/lib/private/AppFramework/Http/Dispatcher.php(153): executeController
#5 /srv/www/htdocs/owncloudtest/lib/private/AppFramework/Http/Dispatcher.php(85): dispatch
#4 /srv/www/htdocs/owncloudtest/lib/private/AppFramework/App.php(100): main
#3 /srv/www/htdocs/owncloudtest/lib/private/AppFramework/Routing/RouteActionHandler.php(46): __invoke
#2 /srv/www/htdocs/owncloudtest/lib/private/Route/Router.php(342): match
#1 /srv/www/htdocs/owncloudtest/lib/base.php(909): handleRequest
#0 /srv/www/htdocs/owncloudtest/index.php(54): null

This happened on a 10.0.10RC1 instance while testing with the twofactor_email app.

@patrickjahns FYI as you mentioned this to me

ownclouders commented 6 years ago

GitMate.io thinks the contributor most likely able to help you is @DeepDiver1975.

Possibly related issues are https://github.com/owncloud/core/issues/32059 (Account module infinite redirect with two factor challenge page), https://github.com/owncloud/core/issues/17528 (Prevent closing upgrade page while upgrade in progress), https://github.com/owncloud/core/issues/10630 (two-factor authentication), https://github.com/owncloud/core/issues/31741 (Setup page for stable10 / 10.0.9beta broken, chicken-egg problem), and https://github.com/owncloud/core/issues/27476 (Cannot migrate from 9.1.4 to daily master, oc_accounts table does not exist).

patrickjahns commented 6 years ago

Happened here: image