donmichaelr / WHMCS-Admin-Password-Manager

This is a Password Manager addon module. This addon can be used to securely store company login details to various sources.
5 stars 2 forks source link

Issue with WHMCS 7.8 #1

Open JLHC opened 4 years ago

JLHC commented 4 years ago

I'm trying to use this with WHMCS 7.8 and PHP 7.2.

When I try to add an entry, it throws this error:-

Error: [] operator not supported for strings in <WHMCS Path>/modules/addons/passwordmanager/passwordmanager.php:609
Stack trace:
#0 <WHMCS Path>/staff/addonmodules.php(0): passwordmanager_output(Array)
#1 {main}
SpeicherBox commented 2 years ago

Long Time ago i know, but i just discoverd this module an fixed the issue. change Line 570 from $tabledata = ""; to $tabledata = [];