error en la actualización del conteo
UPDATE `sisgral_docs_counter` SET `count` = '2',`last` = '2024-10-13 17:05:25' WHERE `id_doc` = AND CONVERT( `month` USING utf8 ) = '2024-10'