Anytime I try to edit a post on my theme or add a new one i get the following error.
502
The page request was canceled because it took too long to complete
What can I do?
Site visitors: There was an issue serving your request, please try again in a few minutes.
Site Owners: A request for either a page, script, process, or query has taken too long to complete and has been cancelled due to a bad gateway. You should visit your error log for more information.
Here are the error Logs:
[Mon Jan 14 20:19:56.395860 2019] [php7:error] [pid 31632] [client 173.230.133.164:62734] PHP Fatal error: Uncaught Error: Call to undefined function x_get_view() in /nas/content/live/dlaawpengine/wp-content/themes/x/index.php:16\nStack trace:\n#0 {main}\n thrown in /nas/content/live/dlaawpengine/wp-content/themes/x/index.php on line 16
[Mon Jan 14 20:19:56.830169 2019] [autoindex:error] [pid 31629] [client 173.230.133.164:62900] AH01276: Cannot serve directory /nas/wp/www/sites/dlaawpengine/wp-includes/css/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive