Jump to content

Php 7.2 cPanel Module


Blesta Addons

Recommended Posts

with php 7.2, in cPanel module when adding server it return error

 count(): Parameter must be an array or an object that implements Countable on line 72 in /home/xxxxxx/public_html/blesta/components/modules/cpanel/views/default/add_row.pdt 

a simple fix

$num_servers = count($this->Html->ifSet($vars->name_servers, []));

 

Link to comment
Share on other sites

  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...