Advertisement
Guest User

Moodle Cron Errors

a guest
Jul 17th, 2017
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.67 KB | None | 0 0
  1. PHP Warning: Error while sending QUERY packet. PID=17630 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  2. Default exception handler: Błąd odczytu z bazy danych Debug: MySQL server has gone away
  3. SELECT * FROM mdl_task_scheduled WHERE classname = ?
  4. [array (
  5. 0 => '\\tool_langimport\\task\\update_langpacks_task',
  6. )]
  7. Error code: dmlreadexception
  8. * line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  9. * line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  10. * line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  11. * line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  12. * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  13. * line 606 of /lib/classes/task/manager.php: call to moodle_database->get_record()
  14. * line 169 of /lib/cronlib.php: call to core\task\manager::scheduled_task_failed()
  15. * line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  16. * line 61 of /admin/cli/cron.php: call to cron_run()
  17.  
  18. PHP Warning: var_export does not handle circular references in /home/admin/web/mysite/public_html/lib/classes/shutdown_manager.php on line 83
  19. PHP Warning: var_export does not handle circular references in /home/admin/web/mysite/public_html/lib/classes/shutdown_manager.php on line 83
  20. PHP Warning: var_export does not handle circular references in /home/admin/web/mysite/public_html/lib/classes/shutdown_manager.php on line 83
  21. Exception ignored in shutdown function array (
  22. 0 =>
  23. tool_log\log\manager::__set_state(array(
  24. 'readers' =>
  25. array (
  26. 'logstore_standard' =>
  27. logstore_standard\log\store::__set_state(array(
  28. 'logguests' => '1',
  29. 'manager' => NULL,
  30. 'component' => 'logstore_standard',
  31. 'store' => '',
  32. 'buffer' =>
  33. array (
  34. ),
  35. 'buffersize' => '50',
  36. 'count' => 0,
  37. )),
  38. ),
  39. 'writers' =>
  40. array (
  41. 'logstore_standard' =>
  42. logstore_standard\log\store::__set_state(array(
  43. 'logguests' => '1',
  44. 'manager' => NULL,
  45. 'component' => 'logstore_standard',
  46. 'store' => '',
  47. 'buffer' =>
  48. array (
  49. ),
  50. 'buffersize' => '50',
  51. 'count' => 0,
  52. )),
  53. ),
  54. 'stores' =>
  55. array (
  56. 'logstore_standard' =>
  57. logstore_standard\log\store::__set_state(array(
  58. 'logguests' => '1',
  59. 'manager' => NULL,
  60. 'component' => 'logstore_standard',
  61. 'store' => '',
  62. 'buffer' =>
  63. array (
  64. ),
  65. 'buffersize' => '50',
  66. 'count' => 0,
  67. )),
  68. ),
  69. )),
  70. 1 => 'dispose',
  71. ):Błąd odczytu z bazy danych
  72. PHP Fatal error: Uncaught exception 'coding_exception' with message 'Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  73. /home/admin/web/mysite/public_html/lib/classes/task/manager.php on line 483
  74.  
  75. Code should look like:
  76.  
  77. $factory = \core\lock\lock_config::get_lock_factory('type');
  78. $lock = $factory->get_lock(Resource id #646);
  79. $lock->release(); // Locks must ALWAYS be released like this.
  80.  
  81. ' in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php:117
  82. Stack trace:
  83. #0 [internal function]: core\lock\lock->__destruct()
  84. #1 {main}
  85. thrown in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php on line 117
  86. --------------------------------------------------------------------------------
  87. PHP Warning: Error while sending QUERY packet. PID=14035 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  88. Default exception handler: Błąd odczytu z bazy danych Debug: MySQL server has gone away
  89. SELECT * FROM mdl_task_scheduled WHERE classname = ?
  90. [array (
  91. 0 => '\\core\\task\\check_for_updates_task',
  92. )]
  93. Error code: dmlreadexception
  94. * line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  95. * line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  96. * line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  97. * line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  98. * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  99. * line 606 of /lib/classes/task/manager.php: call to moodle_database->get_record()
  100. * line 169 of /lib/cronlib.php: call to core\task\manager::scheduled_task_failed()
  101. * line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  102. * line 61 of /admin/cli/cron.php: call to cron_run()
  103.  
  104. PHP Fatal error: Uncaught exception 'coding_exception' with message 'Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  105. /home/admin/web/mysite/public_html/lib/classes/task/manager.php on line 483
  106.  
  107. Code should look like:
  108.  
  109. $factory = \core\lock\lock_config::get_lock_factory('type');
  110. $lock = $factory->get_lock(Resource id #646);
  111. $lock->release(); // Locks must ALWAYS be released like this.
  112.  
  113. ' in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php:117
  114. Stack trace:
  115. #0 [internal function]: core\lock\lock->__destruct()
  116. #1 {main}
  117. thrown in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php on line 117
  118. ------------------------------------------------------------------------------
  119. PHP Warning: Error while sending QUERY packet. PID=31271 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  120. Default exception handler: Błąd odczytu z bazy danych Debug: MySQL server has gone away
  121. SELECT * FROM mdl_task_scheduled WHERE classname = ?
  122. [array (
  123. 0 => '\\core\\task\\file_temp_cleanup_task',
  124. )]
  125. Error code: dmlreadexception
  126. * line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  127. * line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  128. * line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  129. * line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  130. * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  131. * line 606 of /lib/classes/task/manager.php: call to moodle_database->get_record()
  132. * line 169 of /lib/cronlib.php: call to core\task\manager::scheduled_task_failed()
  133. * line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  134. * line 61 of /admin/cli/cron.php: call to cron_run()
  135.  
  136. PHP Fatal error: Uncaught exception 'coding_exception' with message 'Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  137. /home/admin/web/mysite/public_html/lib/classes/task/manager.php on line 483
  138.  
  139. Code should look like:
  140.  
  141. $factory = \core\lock\lock_config::get_lock_factory('type');
  142. $lock = $factory->get_lock(Resource id #646);
  143. $lock->release(); // Locks must ALWAYS be released like this.
  144.  
  145. ' in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php:117
  146. Stack trace:
  147. #0 [internal function]: core\lock\lock->__destruct()
  148. #1 {main}
  149. thrown in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php on line 117
  150. -------------------------------------------------
  151. PHP Warning: Error while sending QUERY packet. PID=11890 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  152. Default exception handler: Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  153. [dirroot]/lib/classes/task/manager.php on line 468
  154.  
  155. Code should look like:
  156.  
  157. $factory = \core\lock\lock_config::get_lock_factory('type');
  158. $lock = $factory->get_lock(Resource id #551);
  159. $lock->release(); // Locks must ALWAYS be released like this.
  160.  
  161. Debug:
  162. Error code: codingerror
  163. * line 117 of /lib/classes/lock/lock.php: coding_exception thrown
  164. * line 66 of /lib/cronlib.php: call to core\lock\lock->__destruct()
  165. * line 66 of /lib/cronlib.php: call to core\task\manager::get_next_scheduled_task()
  166. * line 61 of /admin/cli/cron.php: call to cron_run()
  167. ---------------------------------------------
  168. PHP Warning: Error while sending QUERY packet. PID=17559 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  169. Default exception handler: Błąd odczytu z bazy danych Debug: MySQL server has gone away
  170. SELECT * FROM mdl_task_scheduled WHERE classname = ?
  171. [array (
  172. 0 => '\\core\\task\\file_temp_cleanup_task',
  173. )]
  174. Error code: dmlreadexception
  175. * line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  176. * line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  177. * line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  178. * line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  179. * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  180. * line 606 of /lib/classes/task/manager.php: call to moodle_database->get_record()
  181. * line 169 of /lib/cronlib.php: call to core\task\manager::scheduled_task_failed()
  182. * line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  183. * line 61 of /admin/cli/cron.php: call to cron_run()
  184.  
  185. PHP Fatal error: Uncaught exception 'coding_exception' with message 'Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  186. /home/admin/web/mysite/public_html/lib/classes/task/manager.php on line 483
  187.  
  188. Code should look like:
  189.  
  190. $factory = \core\lock\lock_config::get_lock_factory('type');
  191. $lock = $factory->get_lock(Resource id #646);
  192. $lock->release(); // Locks must ALWAYS be released like this.
  193.  
  194. ' in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php:117
  195. Stack trace:
  196. #0 [internal function]: core\lock\lock->__destruct()
  197. #1 {main}
  198. thrown in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php on line 117
  199. --------------------------------------------------
  200. PHP Warning: Error while sending QUERY packet. PID=26135 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  201. Default exception handler: Błąd odczytu z bazy danych Debug: MySQL server has gone away
  202. SELECT * FROM mdl_task_scheduled WHERE classname = ?
  203. [array (
  204. 0 => '\\tool_langimport\\task\\update_langpacks_task',
  205. )]
  206. Error code: dmlreadexception
  207. * line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  208. * line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  209. * line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  210. * line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  211. * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  212. * line 606 of /lib/classes/task/manager.php: call to moodle_database->get_record()
  213. * line 169 of /lib/cronlib.php: call to core\task\manager::scheduled_task_failed()
  214. * line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  215. * line 61 of /admin/cli/cron.php: call to cron_run()
  216.  
  217. PHP Fatal error: Uncaught exception 'coding_exception' with message 'Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  218. /home/admin/web/mysite/public_html/lib/classes/task/manager.php on line 483
  219.  
  220. Code should look like:
  221.  
  222. $factory = \core\lock\lock_config::get_lock_factory('type');
  223. $lock = $factory->get_lock(Resource id #646);
  224. $lock->release(); // Locks must ALWAYS be released like this.
  225.  
  226. ' in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php:117
  227. Stack trace:
  228. #0 [internal function]: core\lock\lock->__destruct()
  229. #1 {main}
  230. thrown in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php on line 117
  231. --------------------------------------------------
  232. PHP Warning: Error while sending QUERY packet. PID=2352 in /home/admin/web/mysite/public_html/lib/dml/mysqli_native_moodle_database.php on line 1174
  233. Default exception handler: Błąd odczytu z bazy danych Debug: MySQL server has gone away
  234. SELECT * FROM mdl_task_scheduled WHERE classname = ?
  235. [array (
  236. 0 => '\\core\\task\\file_temp_cleanup_task',
  237. )]
  238. Error code: dmlreadexception
  239. * line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  240. * line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  241. * line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  242. * line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  243. * line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  244. * line 606 of /lib/classes/task/manager.php: call to moodle_database->get_record()
  245. * line 169 of /lib/cronlib.php: call to core\task\manager::scheduled_task_failed()
  246. * line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  247. * line 61 of /admin/cli/cron.php: call to cron_run()
  248.  
  249. PHP Fatal error: Uncaught exception 'coding_exception' with message 'Wykryto błąd kodowania, musi on zostać naprawiony przez programistę: A lock was created but not released at:
  250. /home/admin/web/mysite/public_html/lib/classes/task/manager.php on line 483
  251.  
  252. Code should look like:
  253.  
  254. $factory = \core\lock\lock_config::get_lock_factory('type');
  255. $lock = $factory->get_lock(Resource id #646);
  256. $lock->release(); // Locks must ALWAYS be released like this.
  257.  
  258. ' in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php:117
  259. Stack trace:
  260. #0 [internal function]: core\lock\lock->__destruct()
  261. #1 {main}
  262. thrown in /home/admin/web/mysite/public_html/lib/classes/lock/lock.php on line 117
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement