Hey all, first time posting here so I apologize if I make any mistakes.
I recently tried to install moodle on my hestia server, but I think I messed up some permissions, and now I am unable to access the control panel; all my other websites are up and well, but the control panel continuously returns error 500.
Tracing down a few forum threads, I enabled php error messages and the below is shown.
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /usr/local/hestia/web/login/index.php:439 Stack trace: #0 /usr/local/hestia/web/login/index.php(439): in_array() #1 {main} thrown in /usr/local/hestia/web/login/index.php on line 439
I apologize if the solution is apparent, I am not the most experienced with linux permissions.
If anyone has any idea what I can do to repair this, any help is appreciated!