Urgent Magento 2 Fix

Job ID: 31634897

Budget: £10 – £20 GBP

Receiving this error on our frontend / backend.

Class Magento\Framework\Message\Session does not exist

Running setup:di:compile this also shows the error:

public_html$ bin/magento setup:di:compile
Compilation was started.
Proxies code generation... 0/7 [>---------------------------] 0% < 1 sec 80.0 Proxies code generation... 1/7 [====>-----------------------] 14% 1 sec 84.0 MiRepositories code generation... 1/7 [====>-----------------------] 14% 1 sec 84Repositories code generation... 2/7 [========>-------------------] 28% 12 secs Service data attributes generation... 2/7 [========>-------------------] 28% 12Service data attributes generation... 3/7 [============>---------------] 42% 12Application code generator... 3/7 [============>---------------] 42% 12 secs 31Application code generator... 4/7 [================>-----------] 57% 27 secs 33Interceptors generation... 4/7 [================>-----------] 57% 27 secs 334.0Interceptors generation... 5/7 [====================>-------] 71% 49 secs 372.0Area configuration aggregation... 5/7 [====================>-------] 71% 49 secs 372.0 MiB

[ReflectionException]
Class Magento\Framework\Message\Session does not exist

Anyone experienced this before and can help fix it?
I can't give SSH access as it's our live environment, but you can tell me what to do / commands to run to fix. Thank you
Related categories: PHP JavaScript Linux Magento MySQL