-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Won't Do
-
Affects Version/s: 14
-
Fix Version/s: None
-
Component/s: fwconsole
-
Labels:None
-
ToDo:
-
Asterisk Version:16.1.0
OS: Ubuntu 18.04 x64
FreePBX: 14.0.5.5
ASterisk: 16.0.1
PHP: 7.2.10
Error Log:
~~~
- fwconsole ma refreshsignatures
...
Starting module download from http://mirror1.freepbx.org/modules/packages/queues/queues-14.0.2.22.tgz.gpg ...
Processing
Downloading...
444726/444726 [============================] 100%
Finished downloading
Extracting...sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Done
In modulefunctions.class.php line 1713:
count(): Parameter must be an array or an object that implements Countable
~~~
Solution:
~~~
/var/www/html/admin/libraries/modulefunctions.class.php
line 1713: if(count($errors))
{ line 1714: return $errors; line 1715: }
change
line 1713: if(count($errors)) {
to
line 1713: if( is_array($errors) && count($errors)>0) {