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

Just an undefined index #87

Open
enoch85 opened this issue Apr 11, 2019 · 3 comments
Open

Just an undefined index #87

enoch85 opened this issue Apr 11, 2019 · 3 comments
Labels

Comments

@enoch85
Copy link
Member

enoch85 commented Apr 11, 2019

Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59

@enoch85 enoch85 added the bug label Apr 11, 2019
@enoch85
Copy link
Member Author

enoch85 commented Apr 11, 2019

0.5.0

@stratege1401
Copy link

concur, found it after upgrade to nc 16.0.3 and enabling this app :
still present on 0.5.0 as no fix was done

may using PHP isset () may help.

@mr-bolle
Copy link

Steps to reproduce

  1. activate the application issuetemplate
  2. check the logging page with the admin account

Expected behaviour

after run cron.php the error 'Undefined index: log-detail at /var/www/html/apps/issuetemplate/lib/Detail.php#59' aprears

Actual behaviour

no Undefined index error

Server configuration detail

Operating system: Linux 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64

Webserver: Apache/2.4.25 (Debian) (apache2handler)

Database: mysql 10.4.7

PHP version:

7.3.7
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, exif, gd, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache

Nextcloud version: 15.0.10 - 15.0.10.0

Updated from an older Nextcloud/ownCloud or fresh install: fresh

Where did you install Nextcloud from: https://github.com/nextcloud/docker/

Signing status

Array
(
)

List of activated apps
Enabled:
 - accessibility: 1.1.0
 - activity: 2.8.2
 - admin_audit: 1.5.0
 - bookmarks: 1.1.1
 - bruteforcesettings: 1.4.0
 - calendar: 1.6.5
 - cloud_federation_api: 0.1.0
 - comments: 1.5.0
 - contacts: 3.1.3
 - dav: 1.8.2
 - deck: 0.6.6
 - drawio: 0.9.3
 - federatedfilesharing: 1.5.0
 - federation: 1.5.0
 - files: 1.10.0
 - files_external: 1.6.0
 - files_markdown: 2.0.6
 - files_pdfviewer: 1.4.0
 - files_sharing: 1.7.0
 - files_texteditor: 2.7.0
 - files_trashbin: 1.5.0
 - files_versions: 1.8.0
 - files_videoplayer: 1.4.0
 - firstrunwizard: 2.4.0
 - gallery: 18.2.0
 - issuetemplate: 0.5.0
 - keeweb: 0.5.1
 - logreader: 2.0.0
 - lookup_server_connector: 1.3.0
 - nextcloud_announcements: 1.4.0
 - notifications: 2.3.0
 - oauth2: 1.3.0
 - password_policy: 1.5.0
 - polls: 0.10.2
 - provisioning_api: 1.5.0
 - ransomware_protection: 1.3.0
 - richdocuments: 3.3.15
 - sharebymail: 1.5.0
 - spreed: 5.0.4
 - support: 1.0.0
 - survey_client: 1.3.0
 - systemtags: 1.5.0
 - tasks: 0.11.1
 - theming: 1.6.0
 - twofactor_backupcodes: 1.4.1
 - twofactor_totp: 2.1.2
 - updatenotification: 1.5.0
 - workflowengine: 1.5.0
Disabled:
 - encryption
 - serverinfo
 - user_ldap

Configuration (config/config.php)
{
    "htaccess.RewriteBase": "\/",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": true
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "domain1.nextcloud.com",
        "domain2.nextcloud.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/domain1.nextcloud.com",
    "dbtype": "mysql",
    "version": "15.0.10.0",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "theme": "",
    "loglevel": 1,
    "maintenance": false,
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpsecure": "tls",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "trashbin_retention_obligation": "30, 90",
    "versions_retention_obligation": "30, 180"
}

Are you using external storage, if yes which one: local

Are you using encryption:

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Operating system: Windows 7

Logs

Web server error log
Insert your web server log here 
Nextcloud log
{"reqId":"6gPHkWuWysWDS2RDKMkZ","level":3,"time":"2019-08-18T07:32:27+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: ef15fd2f45e6bb5ce57587895ba64f93 at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"6gPHkWuWysWDS2RDKMkZ","level":3,"time":"2019-08-18T07:32:27+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: 696c660ff8d9323e55146a6dbd4e4088 at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"6gPHkWuWysWDS2RDKMkZ","level":3,"time":"2019-08-18T07:32:27+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"6gPHkWuWysWDS2RDKMkZ","level":3,"time":"2019-08-18T07:32:27+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"6gPHkWuWysWDS2RDKMkZ","level":3,"time":"2019-08-18T07:32:27+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"w1agogE4GZbQrzMSwVOH","level":3,"time":"2019-08-18T07:33:02+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: ef15fd2f45e6bb5ce57587895ba64f93 at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
{"reqId":"w1agogE4GZbQrzMSwVOH","level":3,"time":"2019-08-18T07:33:02+00:00","remoteAddr":"x.x.x.x","user":"Admin","app":"PHP","method":"POST","url":"\/apps\/issuetemplate\/render","message":"Undefined index: 696c660ff8d9323e55146a6dbd4e4088 at \/var\/www\/html\/apps\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"15.0.10.0"}
Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants