Error when enabling jsxc in NC 20.0.1 "Undefined offset: 3 at /var/www/html/lib/private/legacy/OC_Helper.php#548"
See original GitHub issueExpected behavior
The installation and enabling of the application takes place without error
Actual behavior
The enabling of the application within NC 20.0.1 gets blocked
Steps to reproduce the behavior
- Upgrade / install NC 20.0.1 and download and enable the current JSXC application
Environment
- JSXC version: 4.1.1
- Host system and version: <NC 20.0.1 docker version>
- Browser vendor and version: Chrome, Firefox, Edge
- Any browser plugins enabled? No
- XMPP server vendor and version: Built-in XMPP
- Is your XMPP server working with other clients as expected? N/A - using the built-in XMPP only
Logs
Javascript
JSXC
XMPP
Host
Error: Undefined offset: 3 at /var/www/html/lib/private/legacy/OC_Helper.php#548
/var/www/html/lib/private/legacy/OC_Helper.php - line 548:
OC\Log\ErrorHandler::onError(8, "Undefined offset: 3", "/var/www/ht ... p", 548, { path: "/", ... }})
/var/www/html/apps/settings/lib/Settings/Personal/PersonalInfo.php - line 108:
OC_Helper::getStorageInfo("/")
/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php - line 141:
OCA\Settings\Settings\Personal\PersonalInfo->getForm()
/var/www/html/apps/settings/lib/Controller/PersonalSettingsController.php - line 77:
OCA\Settings\Controller\PersonalSettingsController->formatSettings({ 10: [ OCA\ ... ]})
/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php - line 152:
OCA\Settings\Controller\PersonalSettingsController->getSettings("personal-info")
/var/www/html/apps/settings/lib/Controller/PersonalSettingsController.php - line 68:
OCA\Settings\Controller\PersonalSettingsController->getIndexResponse("personal", "personal-info")
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 169:
OCA\Settings\Controller\PersonalSettingsController->index("personal-info")
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "index")
/var/www/html/lib/private/AppFramework/App.php - line 152:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "index")
/var/www/html/lib/private/Route/Router.php - line 308:
OC\AppFramework\App::main("OCA\\Settin ... r", "index", OC\AppFramew ... {}, { section: " ... "})
/var/www/html/lib/base.php - line 1009:
OC\Route\Router->match("/settings/user")
/var/www/html/index.php - line 37:
OC::handleRequest()
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
PHP: Undefined offset - Stack Overflow
The undefined index error you are receiving is because the offset that you're trying to explode in the variable ( $r ) doesn't...
Read more >221. How to fix an "Undefined offset" error - YouTube
How to fix an " Undefined offset " error. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There should be a new beta in a few hours and a stable release on the weekend. At least that is the plan.
I agree, that is a fair answer! 😃