Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9056929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:19:25+00:00 2026-06-16T14:19:25+00:00

My question is simple: How do i hide the warning message below so that

  • 0

My question is simple: How do i hide the warning message below so that users don’t see it? It appears at the top of my site from time to time.

Warning: file_get_contents(https://graph.facebook.com/oauth/access_token?client_id=*****************&redirect_uri=&client_secret=******&code=*************************************************************************************) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/content/**/*******/php/facebook/facebook-login.php on line 17

I am not worried about the warning as it doesn’t seem to affect the functionality of my site and it only happens because the facebook token has expired.

I have tried for hours to resolve it properly by auto-renewing the expired token but had no luck.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T14:19:27+00:00Added an answer on June 16, 2026 at 2:19 pm

    Well, if you only need to hide it, you can go to the php file (/home/content//***/php/facebook/facebook-login.php) and add the @ to line 17 to supress any errors from that function call. See: http://php.net/manual/en/language.operators.errorcontrol.php

    Please consider the warning there, too.

    Also be advised, that proper error handling with supressing (but logging) errors for the user and showing them if you visit your site as admin will be even better.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question is simple, How to hide back button in navigation bar? I see
Following on from my previous question: Simple inner join in linq How would I
Simple question: Is there a class or interface that encapulates the getting of a
Seemingly simple question, but I haven't seen anything in the jwplayer javascript API that
This question may look to be very simple but i don't know the answer.
I am working on a simple FAQ page that will show/hide answers on clicked
The question is simple how can I hide the cursor on an active window
This is pretty simple question, but I'm having really hard time with it. I
Ok this is a continuation from this question: How to make a simple Hello
Really simple question: Am I missing something? Seems like this should be all that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.