question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

Expected 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

  1. 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:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sualkocommented, Dec 10, 2020

There should be a new beta in a few hours and a stable release on the weekend. At least that is the plan.

1reaction
frankbootmakercommented, Dec 8, 2020

I agree, that is a fair answer! 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found