Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error when accessing homepage

  • @gatera

    Participant

    Hi,

    I get the following error whenever I try going on my homepage, and nothing else shows.

    Notice: bp_is_front_page is deprecated since version 1.5! Use is_front_page() instead. in /Applications/MAMP/htdocs/wp-includes/functions.php on line 3201

    Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wp-includes/functions.php:3201) in /Applications/MAMP/htdocs/wp-includes/pluggable.php on line 1173

Viewing 1 replies (of 1 total)
  • @henrywright

    Moderator

    Hi @gatera

    The debug notice is saying that a function called bp_is_front_page is being used somewhere when it’s been deprecated. You should do a search to find out where in your code it is used (perhaps a plugin or maybe your theme) and ask the theme or plugin author to use is_front_page() instead.

    The warning is likely the cause of your page not loading. It’s usually due to something trying to send output to the browser after headers have been sent. It’s a real pain to debug this one as many things could be causing it. try switching to the Twenty Fourteen theme and then deactivating all plugins one by one to find the culprit

Viewing 1 replies (of 1 total)
  • The topic ‘Error when accessing homepage’ is closed to new replies.
Skip to toolbar