( ! ) Warning: mysqli::query(): MySQL server has gone away in /var/opt/otlamp/w1/sdo/www/htdocs/lib/dml/mysqli_native_moodle_database.php on line 1244 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 361928 | {main}( ) | .../index.php:0 |
2 | 0.2159 | 6273304 | local_crw->display_showcase( ) | .../index.php:188 |
3 | 0.2699 | 6299680 | crw_categories_list_tiles->display( ) | .../lib.php:404 |
4 | 0.2699 | 6299680 | crw_categories_list_tiles->outputhtml( ) | .../lib.php:66 |
5 | 0.2700 | 6309184 | crw_categories_list_tiles_renderer->__construct( ) | .../lib.php:44 |
6 | 1.5151 | 7326432 | file_storage->get_area_files( ) | .../renderer.php:72 |
7 | 1.5151 | 7327784 | mysqli_native_moodle_database->get_records_sql( ) | .../file_storage.php:657 |
8 | 1.5152 | 7330336 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
( ! ) Warning: mysqli::query(): Error reading result set's header in /var/opt/otlamp/w1/sdo/www/htdocs/lib/dml/mysqli_native_moodle_database.php on line 1244 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 361928 | {main}( ) | .../index.php:0 |
2 | 0.2159 | 6273304 | local_crw->display_showcase( ) | .../index.php:188 |
3 | 0.2699 | 6299680 | crw_categories_list_tiles->display( ) | .../lib.php:404 |
4 | 0.2699 | 6299680 | crw_categories_list_tiles->outputhtml( ) | .../lib.php:66 |
5 | 0.2700 | 6309184 | crw_categories_list_tiles_renderer->__construct( ) | .../lib.php:44 |
6 | 1.5151 | 7326432 | file_storage->get_area_files( ) | .../renderer.php:72 |
7 | 1.5151 | 7327784 | mysqli_native_moodle_database->get_records_sql( ) | .../file_storage.php:657 |
8 | 1.5152 | 7330336 | query
( ) | .../mysqli_native_moodle_database.php:1244 |
Error reading from database
Debug info: MySQL server has gone away
SELECT f.id AS id, f.contenthash, f.pathnamehash, f.contextid, f.component, f.filearea, f.itemid, f.filepath, f.filename, f.userid, f.filesize, f.mimetype, f.status, f.source, f.author, f.license, f.timecreated, f.timemodified, f.sortorder, f.referencefileid, r.repositoryid AS repositoryid, r.reference AS reference, r.lastsync AS referencelastsync
FROM mdl_files f
LEFT JOIN mdl_files_reference r
ON f.referencefileid = r.id
WHERE f.contextid = ?
AND f.component = ?
AND f.filearea = ?
AND f.itemid = ? ORDER BY itemid, filepath, filename
[array (
0 => 224,
1 => 'local_crw',
2 => 'categoryicon',
3 => 16,
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1245 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 657 of /lib/filestorage/file_storage.php: call to mysqli_native_moodle_database->get_records_sql()
- line 72 of /local/crw/plugins/categories_list_tiles/renderer.php: call to file_storage->get_area_files()
- line 44 of /local/crw/plugins/categories_list_tiles/lib.php: call to crw_categories_list_tiles_renderer->__construct()
- line 66 of /local/crw/plugins/categories_list_tiles/lib.php: call to crw_categories_list_tiles->outputhtml()
- line 404 of /local/crw/lib.php: call to crw_categories_list_tiles->display()
- line 188 of /local/crw/index.php: call to local_crw->display_showcase()
Error reading from database
Debug info: MySQL server has gone away
SELECT
bi.id,
COALESCE(bp.id, bs.id) AS blockpositionid,
bi.blockname,
bi.parentcontextid,
bi.showinsubcontexts,
bi.pagetypepattern,
bi.requiredbytheme,
bi.subpagepattern,
bi.defaultregion,
bi.defaultweight,
COALESCE(bp.visible, bs.visible, 1) AS visible,
COALESCE(bp.region, bs.region, bi.defaultregion) AS region,
COALESCE(bp.weight, bs.weight, bi.defaultweight) AS weight,
bi.configdata
, ctx.id AS ctxid, ctx.path AS ctxpath, ctx.depth AS ctxdepth, ctx.contextlevel AS ctxlevel, ctx.instanceid AS ctxinstance
FROM mdl_block_instances bi
JOIN mdl_block b ON bi.blockname = b.name
LEFT JOIN mdl_block_positions bp ON bp.blockinstanceid = bi.id
AND bp.contextid = ?
AND bp.pagetype = ?
AND bp.subpage = ?
LEFT JOIN mdl_block_positions bs ON bs.blockinstanceid = bi.id
AND bs.contextid = ?
AND bs.pagetype = ?
AND bs.subpage = ?
LEFT JOIN mdl_context ctx ON (ctx.instanceid = bi.id AND ctx.contextlevel = ?)
WHERE
(bi.parentcontextid IN (?, ?) OR (bi.showinsubcontexts = 1 AND bi.parentcontextid IN (?,?)))
AND bi.pagetypepattern IN (?,?,?,?,?)
AND (bi.subpagepattern IS NULL OR bi.subpagepattern = ?)
AND (bp.visible = 1 OR bp.visible IS NULL) AND (bs.visible = 1 OR bs.visible IS NULL)
AND b.visible = 1
AND ((bi.blockname IN (?,?) AND bi.requiredbytheme = 1) OR (bi.blockname NOT IN (?,?) AND bi.requiredbytheme = 0))
ORDER BY
COALESCE(bp.region, bs.region, bi.defaultregion),
COALESCE(bp.weight, bs.weight, bi.defaultweight),
bi.id
[array (
0 => 507,
1 => 'local-crw-index',
2 => '',
3 => 1,
4 => 'local-crw-index',
5 => '',
6 => 80,
7 => 507,
8 => 1,
9 => '257093',
10 => '1',
11 => 'local-crw-index',
12 => 'local-crw-index-*',
13 => 'local-crw-*',
14 => 'local-*',
15 => '*',
16 => '',
17 => 'navigation',
18 => 'settings',
19 => 'navigation',
20 => 'settings',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1184 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 796 of /lib/blocklib.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 1499 of /lib/pagelib.php: call to block_manager->load_blocks()
- line 975 of /lib/pagelib.php: call to moodle_page->starting_output()
- line 1216 of /lib/outputrenderers.php: call to moodle_page->set_state()
- line 2828 of /lib/outputrenderers.php: call to core_renderer->header()
- line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
- line ? of unknownfile: call to default_exception_handler()