When I click a chunk, it redirect to homepage

Hi Guys,

Just working on a freshly migrated site. When I’m in the modx manager, if I click on the footer chunk, I get redirected to the homepage. Every other chunk displays fine.

Also, I’m trying to run the Quick Email plugin but its just hanging. not sure if that helps.

I have tried clearing the cache manually, error log below:

[2022-01-11 10:54:19] (ERROR @ /public_html/core/xpdo/om/xpdoobject.class.php : 1452) Error HY000 executing statement:
INSERT INTO modx_session (id, access, data) VALUES (‘db5a680ea2a77326c38d9b7264b9f24b’, 1641898459, ‘modx.user.contextTokens|a:1:{s:3:“mgr”;i:1;}modx.mgr.user.token|s:52:“modx61dc9622d6bcc0.14313989_161dcc92a523db6.69034075”;modx.mgr.session.cookie.lifetime|i:0;modx.mgr.user.config|a:0:{}newResourceTokens|a:9:{i:0;s:23:“61dd4cd7b42159.13914361”;i:1;s:23:“61dd4fc4681377.75223533”;i:2;s:23:“61dd5f5201b4c8.90697425”;i:3;s:23:“61dd5f760d5ad6.56769349”;i:4;s:23:“61dd5f91a47489.31413502”;i:5;s:23:“61dd5fab489a45.55339275”;i:6;s:23:“61dd608295f4a4.71518203”;i:7;s:23:“61dd6093ddda64.03132500”;i:8;s:23:“61dd60ab6c8fe9.89462202”;}’)
Array
(
[0] => HY000
[1] => 2006
[2] => MySQL server has gone away
)

[2022-01-11 10:54:19] (ERROR @ /public_html/core/xpdo/om/xpdoobject.class.php : 240) Error HY000 executing statement:
Array
(
[0] => HY000
[1] => 2006
[2] => MySQL server has gone away
)