You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running php chash/chash.php with any commands I receive the following:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Chash\Command\Common\CommonCommand::__construct(), 0 passed in /var/www/chamilo/chash/chash.php on line 62 and exactly 1 expected in /var/www/chamilo/chash/src/Command/Common/CommonCommand.php:36
Stack trace:
#0 /var/www/chamilo/chash/chash.php(62): Chash\Command\Common\CommonCommand->__construct() #1 {main}
thrown in /var/www/chamilo/chash/src/Command/Common/CommonCommand.php on line 36
The text was updated successfully, but these errors were encountered:
$this->configurationPath = $path;
this is line 62
So is most likely because chash is being run from a non standaart directory outside of chamilo I have the same issue.
Example: /home/user/chamillo_www
but chash is in: /home/user/tools/chash/
It should be possible to specify a path for chash that would solve it. @ywarnier perhaps you know if this is possible, Should be a quick fix ?
When running php chash/chash.php with any commands I receive the following:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Chash\Command\Common\CommonCommand::__construct(), 0 passed in /var/www/chamilo/chash/chash.php on line 62 and exactly 1 expected in /var/www/chamilo/chash/src/Command/Common/CommonCommand.php:36
Stack trace:
#0 /var/www/chamilo/chash/chash.php(62): Chash\Command\Common\CommonCommand->__construct()
#1 {main}
thrown in /var/www/chamilo/chash/src/Command/Common/CommonCommand.php on line 36
The text was updated successfully, but these errors were encountered: