Deprecated PHP Errors - site not working
-
My website is hosted with Media Temple, which just rolled out updates to the version of PHP used on its platform. Following the update, my website josephmagliaro.com no longer works.
The version of PHP in use is 5.6.21 CGI Stable.The Word Press interface for Lay Theme is also broken and shows the same two error messages:
Deprecated: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0
I'm not sure how to go about fixing this. Help would be greatly appreciated!
-
Hey nmdtht!
Afaik lay theme is working even with PHP7.
Could you try updating wordpress and disabling all plugins except the ones you want to use for wordpress? You can also try to switch to php7. :DI have searched through the code of lay theme and it doesn't use these 2 functions that are no longer available. You also seem to be using the latest version of lay theme.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it