Uploading Learning objects
Posted: Thu Aug 20, 2020 3:13 pm
Hello,
I'm getting the following error when trying to upload a file with .pdf extension
( ! ) Fatal error: Uncaught ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in C:\wamp64\www\forma\appLms\modules\item\item.php on line 74 and exactly 3 expected in C:\wamp64\www\forma\lib\lib.upload.php on line 74
( ! ) ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in C:\wamp64\www\forma\appLms\modules\item\item.php on line 74 and exactly 3 expected in C:\wamp64\www\forma\lib\lib.upload.php on line 74
line 74 of lib.upload.php is as follows: function sl_upload( $srcFile, $dstFile, $file_ext) {
$uploadType = Get::cfg('uploadType', null);
kindly assist me to get rid of the error.
I'm getting the following error when trying to upload a file with .pdf extension
( ! ) Fatal error: Uncaught ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in C:\wamp64\www\forma\appLms\modules\item\item.php on line 74 and exactly 3 expected in C:\wamp64\www\forma\lib\lib.upload.php on line 74
( ! ) ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in C:\wamp64\www\forma\appLms\modules\item\item.php on line 74 and exactly 3 expected in C:\wamp64\www\forma\lib\lib.upload.php on line 74
line 74 of lib.upload.php is as follows: function sl_upload( $srcFile, $dstFile, $file_ext) {
$uploadType = Get::cfg('uploadType', null);
kindly assist me to get rid of the error.