passman icon indicating copy to clipboard operation
passman copied to clipboard

vsprintf(): Too few arguments at /home/ewiqzonl/public_html/lib/private/L10N/L10NString.php#79

Open armaccloud opened this issue 6 years ago • 4 comments

Steps to reproduce

  1. Log into Passman app on Nextcloud
  2. Go to the Logging page within the settings of Nextcloud
  3. Verify two errors have been written to the log

First error PHP - vsprintf(): Too few arguments at /home/ewiqzonl/public_html/lib/private/L10N/L10NString.php#79

Second error PHP - Method OC\L10N\L10NString::__toString() must return a string value at /home/ewiqzonl/public_html/lib/private/L10N/L10N.php#88

Expected behaviour

Passman functions without errors being written into the logs

Actual behaviour

Errors are written to the nextcloud log when using Passman

Server configuration detail

Operating system: Linux 3.10.0-714.10.2.lve1.4.75.el7.x86_64 #1 SMP Fri Nov 3 04:25:16 EDT 2017 x86_64

Webserver: Apache (litespeed)

Database: mysql 10.1.33

PHP version: 7.1.16 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, litespeed, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mcrypt, mysqlnd, odbc, PDO, pgsql, Phar, posix, pspell, shmop, SimpleXML, snmp, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, wddx, xmlreader, xmlrpc, redis, Zend OPcache

Nextcloud version: 13.0.2 - 13.0.2.1

Where did you install Nextcloud from: softaculous on hostiso

Signing status

Integrity checker has been disabled. Integrity cannot be verified.

List of activated apps
Enabled:
 - activity: 2.6.1
 - admin_audit: 1.3.0
 - apporder: 0.4.1
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.1
 - contacts: 2.1.3
 - dav: 1.4.6
 - deck: 0.3.1
 - encryption: 2.0.0
 - federatedfilesharing: 1.3.1
 - files: 1.8.0
 - files_markdown: 2.0.4
 - files_pdfviewer: 1.2.1
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - gallery: 18.0.0
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - nextcloud_announcements: 1.2.0
 - notes: 2.3.2
 - notifications: 2.1.2
 - oauth2: 1.1.0
 - ownbackup: 17.5.0
 - passman: 2.1.4
 - password_policy: 1.3.0
 - provisioning_api: 1.3.0
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - survey_client: 1.1.0
 - tasks: 0.9.6
 - theming: 1.4.1
 - twofactor_backupcodes: 1.2.3
 - twofactor_totp: 1.4.1
 - updatenotification: 1.3.0
 - workflowengine: 1.3.0
Disabled:
 - comments
 - federation
 - files_external
 - firstrunwizard
 - systemtags
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "arnomuhren.hostiso.host"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "http:\/\/arnomuhren.hostiso.host",
    "dbtype": "mysql",
    "version": "13.0.2.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "UTC",
    "installed": true,
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "integrity.check.disabled": true,
    "memcache.local": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "updater.release.channel": "stable",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes

Client configuration

Browser: Mozilla Firefox 60.0

Operating system: Elementary OS 0.4.1 Loki


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

armaccloud avatar May 11 '18 12:05 armaccloud

Same issue here. Does anybody know how to fix?

dexter0195 avatar May 15 '18 07:05 dexter0195

same issue with Nc 13.0.2.1 (on Debian Stretch and Jessie, with Apache & Nginx, php7 and with a new install or an upgrade from v12)

quenenni avatar Jun 08 '18 13:06 quenenni

Same issue, plus cannot open passman vault because of console error: 404 vault not found by guid

centerboy88 avatar Jul 26 '18 06:07 centerboy88

same issue so I'll subscribe and hopefully there's a fix

NX211 avatar Sep 07 '18 01:09 NX211