Warning: mysqli::query(): MySQL server has gone away in /srv/web/v1/include/dblayer/functions_mysqli.inc.php on line 132

Warning: mysqli::query(): Error reading result set's header in /srv/web/v1/include/dblayer/functions_mysqli.inc.php on line 132

Piwigo encountered an unrecoverable problem.

[mysql error 2006] MySQL server has gone away
SELECT CONCAT_WS('-',YEAR(date_creation),MONTH(date_creation)) AS period FROM piwigo_images
INNER JOIN piwigo_image_category ON id = image_id
    WHERE (category_id NOT IN (1685,2721,2726,2730,2732,2777,2790,2792,2793,2828,2855,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,3006,3007,3008,3009,3010,3023,3024,3025,3026,3041,3042,3043,3080,3137,3138,3139,3140,3141,3156,3171,3187,3188,3189,3190,3218,3258,3298,3340,3380,3413,3440,3457,3487,3496,3510,3527,3543,3559,3574,3594,3606,3622,3636,3653,3667,3679,3690,3701,3702,3715,3727,3733,3736,3752,3753,3769,3791,3829,3840,3841,3842,3843,3858,4053,4060,4061,4079,4084,4094,4104,4117,4125,4129,4143,4150,4167,4184,4199,4209,4216,4225,4232,4243,4251,4252,4260,4268,4275,4281,4290,4297,4298,4299,4300,4313,4314,4315,4322,4325,4327,4332,4363,4364,4365,4373,4374,4375,4381,4384,4396,4399,4414,4420,4427,4434,4443,4522,4527,4540,4548,4559,4571,4575,4582,4592,4605,4612,4628,4637,4642,4643,4645,4671,4775,4783,4792,4793,4814,4820,4826,4839,4844,4851,4857,4870,4880,4889,4897,4902,4909,4917,4935,4937,4941,4944,4947,4952,4959,4976,4984,4994,4999,5003,5007,5016,5021,5023,5033,5035,5041,5043,5170,5805,7340,7341,7342,7343,7344,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7762,7763,7764,7765,7774,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8651,8652,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,1835,1836,8241,1912,2105,2107,2106,2108,2104,2110,2109,2111,2103,2113,2112,2114,2102,2116,2115,2117,2101,2119,2118,2120,1913,2129,2131,2130,2132,2128,2134,2133,2135,2127,2137,2136,2138,2126,2140,2139,2141,2125,2143,2142,2144,2124,2146,2145,2147,2123,2149,2148,2150,2122,2152,2151,2153,2121,2155,2154,2156,1918,2023,2021,2022,2020,2026,2024,1940,1921,1946,1945,1947,1944,1922,1950,1949,1951,1948,1923,1954,1953,1955,1952,1956,1960,1964,1968,1972,1976,1980,1984,1988,1992,1996,2000,2004,2008,2014,2012,2016,5077,5078,5187,5186,2045,2047,2046,2048,2044,2050,2049,2051,2078,2030,2093,2092,2094,2029,2096,2095,2097,1914,1723,1730,1731,5200,1449,1603,1602,1604,1601,1605,1610,1612,1609,1614,1616,1613,1619,1622,1624,1621,1463,1627,1626,1628,1625,1631,1634,1636,1633,1639,1637,1643,1641,1651,1649,1655,1455,1659,1658,1660,1657,1591,1589,1451,1667,1666,1668,1665,523,6600,465,279,5406,400,416,402,406,346,359,363,342,372,375,378,383,381,386,384,387,391,390,283,351,117,116,5506,5507,114,110,5513,104,98,92,122,5837,65,5504,4051,5521,3805,803,5641,5643,5645,5647,5649,5639,736,5637,5635,5681,754,5679,761,5633,5669,751,4924,749,5671,819,5673,676,674,5676,5675,679,5631,686,684,5677,691,689,5667,696,5665,701,5663,704,5662,5661,711,5659,716,714,5629,659,657,5788,5683,5657,4973,721,5623,5625,916,5627,5786,928,4948,926,5784,933,5756,5755,5754,943,5753,5752,5750,951,5738,5741,5740,4954,5742,5744,971,5746,978,976,5748,983,981,5736,986,5734,993,5732,996,5730,1001,5728,5726,1011,5651,1016,5653,1023,1021,5718,1028,1026,5720,1031,5722,1038,1036,5724,1043,1041,5715,5713,1051,5621,1058,1056,5711,1063,4607,5709,5707,1074,1071,5655,1076,5697,1081,5699,1088,5701,5703,5705,1103,3839,5695,5693,1111,5691,5689,5687,4359,4360,4358,4356,4357,4361,1126,5685,5776,3763,5778,5598,5600,5780,5782,5757,5774,5772,5770,5768,5766,5794,5796,5759,5760,5762,5764,4182,5792,5790,5619,5617,5615,5613,5596,9265,9267,5603,9272,5605,5607,5609,5611,5594,5583,5581,5579,5577,5575,5563,5565,5567,5570,5569,5572,5571,5573,5562,5560,5559,3648,5558,5557,1248,5556,5555,3620,5554,5553,3202,5552,5551,5540,5539,5542,5541,1273,5544,5543,5546,5545,5548,5547,1286,5550,5549,5538,5537,5536,5535,2866,5534,5533,5532,5531,5593,5592,5591,5590,5589,5588,5587,5586,3225,3240,5585,3118,5602,1670,4242,9206,9209,9212,9215,9218,9230,9229,9228,9227,9226,9197,9196,9195,9194,9193,9192,9191,9190,9189,9188,9187,9146,9147,9141,1900,2167,2177,2176,5162,5158,9059,9058,9060,9056,9073,9072,9064,9062,9077,9074,9068,9070,9065,9063,9078,9075,9069,9071,9066,1854,1855,1856,1857,1858,1875,1906,1905,1907,1904,1873,1910,1909,1908,1891,1894,1890,1868,1898,1897,1896,1899,1895,3815,7,1859,1860,1861,1862,1863,1864,1866,1867,1865,2248,2481,1472,1481,1483,1497,1508,3064,2264,2302,2308,1476,1477,1486,1488,1499,1501,1503,1505,1517,1518,1541,1543,1547,2499,1569,3075,3076,3078,1398,1400,2318,2320,3086,2314,2298,1577,1429,1430,2235,2181,1841,2217,1581,2304,3073,2202,2504,2296,2220,2324,5215,2208,2205,8840,4518,4520,2527,2563,2515,3091,1434,1435,2343,2341,2609,2639,2531,3067,2568,2524,4715,4717,4716,4718,2692,2694,8861,8858,5111,5113,2377,2336,5281,2602,2698,2700,2588,2585,5288,2213,1424,1425,2416,2256,2230,2232,5275,5274,5276,2493,2495,2311,4047,4048,2239,2252,2260,2605,8869,4656,4658,6649,2631,2282,2284,8802,8808,8809,4507,4508,1673,1674,8826,2489,7775,7782,7781,7780,7779,7778,7777,7776,7807,7016,7015,7014,7009,7008,7007,7006,7005,7004,7003,7002,7001,6999,6998,6996,6995,6994,6993,6992,6991,6990,6989,6988,6987,6986,6985,6984,6983,6982,6981,6980,6978,6977,6976,6975,6974,6972,6971,6970,6969,6968,6967,6966,6965,6964,6963,6962,6961,6960,6959,6958,6957,6956,6955,6954,6953,6952,6951,6948,6947,6944,6943,6942,6941,6940,6939,6937,6936,6934,6932,6931,6929,6928,6925,6924,6922,6921,6920,6919,6918,6917,6916,6915,6914,6913,6912,6911,6910,6909,6908,6907,6906,6905,6904,6903,6901,6900,6899,6892,6891,6890,6889,6888,6885,6883,6882,6881,6880,6879,6878,6877,6876,6875,6873,6872,6871,6870,6868,6865,6864,6863,6862,6861,6860,6859,6858,6857,6856,6855,6854,6853,6849,6848,6847,6846,6845,6844,6843,6841,6840,6839,6838,6837,6836,6835,6834,6833,6832,6831,6829,6828,6827,6825,6822,6820,6819,6818,6817,6816,6815,6814,6813,6811,6810,6804,6803,6802,6801,6800,6799,6798,6797,6796,6795,6793,6792,6788,6787,6785,6780,6778,6776,6773,6772,6771,6770,6769,6768,6766,7017,7018,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,7031,7032,7033,7034,7035,7036,7037,7038,7039,7040,7041,7042,7043,7044,7046,7048,7049,7050,7053,7054,7055,7056,7057,7058,7059,7060,7062,7063,7065,7066,7067,7068,7069,7070,7073,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7114,7115,7116,7117,7118,7119,7120,7121,7123,7124,7125,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7141,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7172,7173,7174,7176,7178,7179,7180,7181,7182,7184,7192,7201,7202,7203,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7267,7268,7269,7270,7271,7275,7276,7277,7278,7279,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7314,7315,7316,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7346,7347,7348,7349,7350,7351,7352,7353,7354,7355,7356,6763,7760,7761,6762,8751,8741,8773,6592,2187,2189,2188,2190,1373,5327,8913,4774,3787,5476,8177,8135,7923,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,4449,3930,2373,2372,2375,2364,2393,2391,2392,2536,2535,2533,2442,2441,2620,2619,2622,2618,2549,2548,2546,2511,2510,2508,2422,2421,2420,2437,2454,2453,2627,2625,2628,2624,2434,2433,2432,2435,2472,2471,2469,2427,2426,2425,2436,2457,2592,2590,2644,2643,2641,9126,9125,2161,9132,9130,9131,2447,2446,2449,2445,9117,2465,2464,2467,9086,9085,9084,9082,9091,9112,9104,9100,9108,9095,9092,9113,9105,9101,9109,9096,9093,9114,9106,9102,9110,9097,9094,9115,9107,9103,9111,9098,9050,1742,1834,5291,5293,14,15,16,2554,46,47,48,49,50,51,52,71))
AND date_creation IS NOT NULL
GROUP BY period

#1	my_error /srv/web/v1/include/dblayer/functions_mysqli.inc.php(132)
#2	pwg_query /srv/web/v1/include/dblayer/functions_mysqli.inc.php(888)
#3	query2array /srv/web/v1/include/calendar_base.class.php(313)
#4	CalendarBase::build_next_prev /srv/web/v1/include/calendar_monthly.class.php(83)
#5	CalendarMonthly::generate_category_content /srv/web/v1/include/functions_calendar.inc.php(192)
#6	initialize_calendar /srv/web/v1/include/section_init.inc.php(576)
#7	include /srv/web/v1/index.php(12)

Piwigo encountered an unrecoverable problem.

[mysql error 2006] MySQL server has gone away

REPLACE INTO piwigo_sessions
  (id,data,expiration)
  VALUES('AC46740jirr36e77g9l77qkfsbdp44','pwg_show_metadata|b:1;',now())
;

#1	my_error /srv/web/v1/include/dblayer/functions_mysqli.inc.php(132)
#2	pwg_query /srv/web/v1/include/functions_session.inc.php(154)
#3	pwg_session_write ()
#4	session_write_close ()