Skip to content

Instantly share code, notes, and snippets.

@danpoltawski
Created September 10, 2013 04:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save danpoltawski/6504987 to your computer and use it in GitHub Desktop.
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP Notice: Array to string conversion in /Users/danp/git/integration/lib/dml/moodle_database.php on line 138
2
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP Stack trace:
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 1. {main}() /Users/danp/git/integration/admin/index.php:0
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 2. core_admin_renderer->upgrade_confirm_page() /Users/danp/git/integration/admin/index.php:286
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 3. core_admin_renderer->header() /Users/danp/git/integration/admin/renderer.php:147
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 4. plugin_renderer_base->__call() /Users/danp/git/integration/admin/renderer.php:147
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 5. call_user_func_array() /Users/danp/git/integration/lib/outputrenderers.php:234
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 6. core_renderer->header() /Users/danp/git/integration/lib/outputrenderers.php:234
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 7. core_renderer->render_page_layout() /Users/danp/git/integration/lib/outputrenderers.php:790
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 8. include() /Users/danp/git/integration/lib/outputrenderers.php:860
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 9. theme_bootstrapbase_core_renderer->navbar() /Users/danp/git/integration/theme/clean/layout/columns1.php:57
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 10. navbar->get_items() /Users/danp/git/integration/theme/bootstrapbase/renderers/core_renderer.php:55
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 11. navbar->has_items() /Users/danp/git/integration/lib/navigationlib.php:3030
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 12. global_navigation->initialise() /Users/danp/git/integration/lib/navigationlib.php:2982
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 13. global_navigation->load_course_sections() /Users/danp/git/integration/lib/navigationlib.php:1093
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 14. format_base->extend_course_navigation() /Users/danp/git/integration/lib/navigationlib.php:1788
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 15. global_navigation->load_generic_course_sections() /Users/danp/git/integration/course/format/lib.php:420
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 16. global_navigation->generate_sections_and_activities() /Users/danp/git/integration/lib/navigationlib.php:1876
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 17. get_fast_modinfo() /Users/danp/git/integration/lib/navigationlib.php:1809
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 18. course_modinfo::instance() /Users/danp/git/integration/lib/modinfolib.php:2003
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 19. course_modinfo->__construct() /Users/danp/git/integration/lib/modinfolib.php:411
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 20. course_modinfo::build_course_cache() /Users/danp/git/integration/lib/modinfolib.php:450
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 21. moodle_database->get_record() /Users/danp/git/integration/lib/modinfolib.php:609
[Tue Sep 10 12:25:08 2013] [error] [client ::1] PHP 22. moodle_database->get_record_select() /Users/danp/git/integration/lib/dml/moodle_database.php:1361
[Tue Sep 10 12:25:08 2013] [error] [client ::1] Default exception handler: Error reading from database Debug: ERROR: syntax error at or near "FROM"\nLINE 1: SELECT Array FROM mdl_course WHERE id = $1\n ^\nSELECT Array FROM mdl_course WHERE id = $1\n[array (\n 0 => '1',\n)]\nError code: dmlreadexception\n* line 436 of /lib/dml/moodle_database.php: dml_read_exception thrown\n* line 239 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()\n* line 744 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()\n* line 1410 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()\n* line 1382 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()\n* line 1361 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()\n* line 609 of /lib/modinfolib.php: call to moodle_database->get_record()\n* line 450 of /lib/modinfolib.php: call to course_modinfo::build_course_cache()\n* line 411 of /lib/modinfolib.php: call to course_modinfo->__construct()\n* line 2003 of /lib/modinfolib.php: call to course_modinfo::instance()\n* line 1809 of /lib/navigationlib.php: call to get_fast_modinfo()\n* line 1876 of /lib/navigationlib.php: call to global_navigation->generate_sections_and_activities()\n* line 420 of /course/format/lib.php: call to global_navigation->load_generic_course_sections()\n* line 1788 of /lib/navigationlib.php: call to format_base->extend_course_navigation()\n* line 1093 of /lib/navigationlib.php: call to global_navigation->load_course_sections()\n* line 2982 of /lib/navigationlib.php: call to global_navigation->initialise()\n* line 3030 of /lib/navigationlib.php: call to navbar->has_items()\n* line 55 of /theme/bootstrapbase/renderers/core_renderer.php: call to navbar->get_items()\n* line 57 of /theme/clean/layout/columns1.php: call to theme_bootstrapbase_core_renderer->navbar()\n* line 860 of /lib/outputrenderers.php: call to include()\n* line 790 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()\n* line ? of unknownfile: call to core_renderer->header()\n* line 234 of /lib/outputrenderers.php: call to call_user_func_array()\n* line 147 of /admin/renderer.php: call to plugin_renderer_base->__call()\n* line 147 of /admin/renderer.php: call to core_admin_renderer->header()\n* line 286 of /admin/index.php: call to core_admin_renderer->upgrade_confirm_page()\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment