I am moving a site from a stage to a test server and get the following error when visiting the site url:
Fatal error: Call to private DroneTheme::__construct() from context 'DroneTheme' in /wp-content/themes/website/drone/dronetheme.class.php on line 4
I first saw this error on 4 different files having to do with the theme I am using:
Warning: Call-time pass-by-reference has been deprecated in /wp-content/themes/website/drone/droneoptions.class.php on line 3
I read that I needed to find any instances of
&$ and change it to
Now I get the first "Call to private function..." error.
The theme worked just fine on my development server (third party) so I'm wondering if it has to do with the php version on the stage server? Is there a workaround without upgrading php?