Front Page Recently Broke - get_magic_quotes_gpc() is deprecated

Hey all! So my wordpress site recently broke today (, just the front page, the rest of the site seems to be functioning properly. An error message of:

deprecated: function get_magic_quotes_gpc() is deprecated

Is repeated on the front page along with:
notice: trying to access array offset on value of type bool in…

The research I did said to delete the reference to get_magic_quotes_gpc in my code, but I tried that with no luck, just further issues.

Any ideas? Thanks.



Hi Joseph

I cant see anything like that on the homepage, is your problem already resolved?

Hello! Thanks for the reply. I put in a temporary fix for the home page, but here is the posts page that is displaying error:

Still trying to figure out what is causing it and if there is a good fix. Any advice would be much appreciated, thanks!


Hi Joseph

Ok, I see them now, try to disable the debugger from the wp-config.php file, you may follow this instruction:

That worked perfect! Much appreciated.


Have a nice day Joseph :slight_smile: