I'm getting the below error for my WordPress website immediately after installing Virtualmin. Website was working fine before. I've repeated this several times over by restoring my VM to its previous state. I just can't work it out.
Some history. I have a new clean install of Ubuntu which I set up using Linode's guides. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic
LAMP stack. PHP 7.2. Firewall is UFW. Website still works after the install of Webmin but as soon as I install VirtualMin I get the below. Virtual min completes with no errors. Website still works fine ... UNTIL I reboot and then it fails.
I've retried restart Apache2. Tried re-installing apache. I've checked the PHP ini files and they seem fine. Tried re-installing PHP and restarting it.
The PHP logs also show repeated errors like "PHP Warning: fopen(): Filename cannot be empty in" I"ve attempted to re-extract a copy of the Wordpress site files and it still doesn't work
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define( 'WP_USE_THEMES', true ); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' ); <code>