Issue Running Script: "PHP Notice: Trying to get property of non-object in..."
O.S = CentOS 7 Minimal Install (nogui)
SysPass information =
sysPass version 3.0-beta (300.18040302) Database SERVER_VERSION : 5.5.56-MariaDB CLIENT_VERSION : mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ SERVER_INFO : Uptime: 576384 Threads: 2 Questions: 16887 Slow queries: 0 Opens: 22 Flush tables: 2 Open tables: 48 Queries per second avg: 0.029 CONNECTION_STATUS : Localhost via UNIX socket Name: syspass@localhost PHP Version: 7.0.30 Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, ldap, exif, mcrypt, mysqlnd, PDO, Phar, SimpleXML, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader Used Memory: 2048 KB User: root Server Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.30 Configuration Backup Thu, 01 Jan 1970 00:00:00 +0000
** Command used = **
./decrypt.php /var/www/html/sysPass/app/backup/sysPass-*.xml password ** /var/www/html
/ * = Used instead of typing out the whole name
** = My master password (typed correctly, confirmed by logging into account using master password)
** Error message = **
Starting decryption...
PHP Notice: Undefined offset: 1 in /var/www/html/sysPass/app/sysPass-XML-Decrypter/src/Decrypter.php on line 34
PHP Notice: Trying to get property of non-object in /var/www/html/sysPass/app/sysPass-XML-Decrypter/src/Decrypter.php on line 145
PHP Notice: Trying to get property of non-object in /var/www/html/sysPass/app/sysPass-XML-Decrypter/src/Decrypter.php on line 145
It then repeats the line containing the words "property" indefinitely.
Line 34 of "Decrypter.php" is = list($categories, $customers) = $this->getCategoriesAndCustomers($decryptedNodesValidXML);
Line 145 of "Decrpyer.php" is = ->nodeValue;
I'm worried that it may be an issue of me using this old version of the SysPass beta... Hopefully you can answer that question though.
Thank you! :)