sentora / sentora-core

Sentora is a web hosting control panel written in PHP for *NIX
GNU General Public License v3.0
653 stars 444 forks source link

[Module] ftp_management broken #333

Closed Bizarrus closed 1 year ago

Bizarrus commented 5 years ago

CentOS 7.1, Sentora 1.3

On module.zpm vou have an condition: <% if isDeleteFTP %> but the method expects an argument: static function getisDeleteFTP($uid){

ArgumentCountError: Too few arguments to function module_controller::getisDeleteFTP(), 0 passed in /etc/sentora/panel/etc/tmp/storage/Sentora_Default/aa36931e2226d9a6ed8598d4d6c73213.cache on line 271 and exactly 1 expected in /etc/sentora/panel/modules/ftp_management/code/controller.ext.php on line 397

TGates71 commented 1 year ago

Fixed? @Dukecitysolutions

Dukecitysolutions commented 1 year ago

Needs more testing. I can't replicate or reproduce the error in Sentora v2. Is anyone else experiencing this error or issue???

TGates71 commented 1 year ago

No errors noticed in v2 after deleting ftp accounts.