Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
1  
Theme specific questions don't suite WPSE very well because it's unlikely anyone generally has experience with this theme, you're best asking the author. With that being said you need to first look at the actual lines throwing the error. – Wyck Sep 12 '12 at 21:37
Call time pass by reference has been considered deprecated for a while and produces fatal errors and crashes completely starting with PHP 5.4. If code is using it extensively you really need for someone to work on fixing it to up to date practices. – Rarst Sep 22 '12 at 16:56

closed as too localized by Wyck, Brian Fegter, kaiser, Rarst Sep 22 '12 at 16:56

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.