Quantcast
Channel: General help
Viewing all articles
Browse latest Browse all 39737

Re: the infamous "Coding error detected, it must be fixed by a programmer: PHP catchable fatal error"

$
0
0
by Yoni Lerner.  

Tim, sure. 
This is the error message I get:

Debug info: Argument 5 passed to send_stored_file() must be an array, null given, called in /var/www/html/moodle2/question/previewlib.php on line 259 and defined
Error code: codingerror

Stack trace:

  • line 397 of /lib/setuplib.php: coding_exception thrown
  • line 2288 of /lib/filelib.php: call to default_error_handler()
  • line 259 of /question/previewlib.php: call to send_stored_file()
  • line 1820 of /lib/questionlib.php: call to question_preview_question_pluginfile()
  • line 4132 of /lib/filelib.php: call to question_pluginfile()
  • line 38 of /pluginfile.php: call to file_pluginfile()

Output buffer: Warning: Missing argument 9 for question_preview_question_pluginfile(), called in /var/www/html/moodle2/lib/questionlib.php on line 1820 and defined in /var/www/html/moodle2/question/previewlib.php on line 231 Call Stack: 0.0001 635400 1. {main}() /var/www/html/moodle2/pluginfile.php:0 0.1112 26599592 2. file_pluginfile() /var/www/html/moodle2/pluginfile.php:38 0.1267 30838464 3. question_pluginfile() /var/www/html/moodle2/lib/filelib.php:4132 0.1920 33509008 4. question_preview_question_pluginfile() /var/www/html/moodle2/lib/questionlib.php:1820 Notice: Undefined variable: fileoptions in /var/www/html/moodle2/question/previewlib.php on line 259 Call Stack: 0.0001 635400 1. {main}() /var/www/html/moodle2/pluginfile.php:0 0.1112 26599592 2. file_pluginfile() /var/www/html/moodle2/pluginfile.php:38 0.1267 30838464 3. question_pluginfile() /var/www/html/moodle2/lib/filelib.php:4132 0.1920 33509008 4. question_preview_question_pluginfile() /var/www/html/moodle2/lib/questionlib.php:1820

Any ideas?

Thanks smile


Viewing all articles
Browse latest Browse all 39737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>