Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

error/moodle/contentArray: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
m (New page: This error is thrown when incorrectly passing parameters to the print_error() function. Have yet to work out the correct way at this stage. That may not be the only way this error occurs...)
 
Cap resum de modificació
 
Línia 1: Línia 1:
 
Error messages generate a wiki page on-the-fly apparently. I had incorrectly passed parameters to the error handler print_error() which included a text string 'content' concatenated with a value that was an array not a string, hence Array was appended to 'content' within the scope of an 'error' in 'moodle', hence the wiki page error/moodle/contentArray was created. Once I had created the page, there is no delete option. Someone might want to delete this......  ;-)
This error is thrown when incorrectly passing parameters to the print_error() function. Have yet to work out the correct way at this stage.
 
That may not be the only way this error occurs, but as there was no information in this page at all, I added this text.

Revisió de 02:41, 23 feb 2011

Error messages generate a wiki page on-the-fly apparently. I had incorrectly passed parameters to the error handler print_error() which included a text string 'content' concatenated with a value that was an array not a string, hence Array was appended to 'content' within the scope of an 'error' in 'moodle', hence the wiki page error/moodle/contentArray was created. Once I had created the page, there is no delete option. Someone might want to delete this......  ;-)