Home > Php Fatal > Php Fatal Error Cannot Redeclare Class Facebookapiexception

Php Fatal Error Cannot Redeclare Class Facebookapiexception

Thème inital par Masivo Technology. This reply was modified 3 weeks, 5 days ago by janvitos. alleyoopster @alleyoopster 3 weeks, 5 days ago I use W3 Total Cache and have since cleared the cache, all is good. share|improve this answer edited Oct 23 '12 at 18:08 answered Oct 23 '12 at 11:10 Konrad Morawski 4,10933167 add a comment| up vote 0 down vote I have encountered that same click site

Check getResult()'; } parent::__construct($msg, $code); } /** * Return the associated result object returned by the API server. * * @return array The result from the API server */ public function Casse-tête... Password Next Already have a WPMU DEV account? Or this tricks could help, if you d'ont have too much class in your library...

Would you like to leave a comment about your experience: Thanks for voting on your experience with , we’d love to get some feedback please. Viewing 9 replies - 1 through 9 (of 9 total) You must be logged in to reply to this topic. This is because PHP actually parses all the top-level classes in a file before executing any code and throws the fatal error immediately. share|improve this answer edited Nov 14 '11 at 10:25 Anne 20.9k74665 answered Nov 14 '11 at 9:55 Praditha 50721932 add a comment| up vote 0 down vote Another possible culprit is

The name of the function is self-explanatory. –Marco Matarazzi Feb 19 '14 at 13:49 1 AaronLS's answer is much higher rated, and you can find it way down here. –qris Try to restart it. Not the answer you're looking for? I solved it by commenting out this the following line in config/application.ini: ;includePaths.library = APPLICATION_PATH "/../library" I hope this will help you.

WordPress.org Search WordPress.org for: Showcase Themes Plugins Mobile SupportForumsDocumentation Get Involved About Blog Hosting Download WordPress Support Log In Support » Plugins and Hacks » [Resolved] PHP Fatal error: Cannot redeclare Do you need to know and cast the spell Scrying to use a Crystal Ball of True Seeing? Then you should get your two traces before PHP fatal errors. dig this Thank you.

Be sure that you use include_once(...) Or you have 2 plugins that use the same class. share|improve this answer answered Jul 4 '11 at 11:35 R T 1,62312128 add a comment| up vote 0 down vote Did You use Zend Framework? well maybe you have another plugin activated in your wordpress installation which calls this file and function too! I can confirm that rolling back to 3.5 fixed the issue.

If that is * the case, then the persistent store is cleared. * * @param $result array A record storing the error message returned * by a failed API call. */ https://www.drupal.org/node/751266 Note: you might be wondering why was class existing already? return $this->user; } return $this->user = $this->getUserFromAvailableData(); } /** * Determines the connected user by first examining any signed * requests, then considering an authorization code, and then * falling back This reply was modified 3 weeks, 5 days ago by janvitos.

Log In Nabtron Projects Contact Blog +44 (791) 5698 086 Fatal error: Cannot redeclare class FacebookApiException - Solution Last Updated: 20 Mar 2011 This solution should work for any environment, but get redirected here Join our mailing list Lets become friend :) What's your name & email? You can Search for "FacebookApiException" in your plugin code. see attached picture.

Contact The Team Privacy Terms © 2004-2016 WPMU DEV - Project by Incsub 24/7 Unlimited Expert WordPress Support Being a WPMU DEV member is like having your own WordPress support team We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More la communauté d'entraide francophone dédiée au PHP Toggle navigation Forum d'entraide Sujets actifs Messages sans réponse Closing old issue. navigate to this website At Ubuntu it's: service php-fastcgi restart share|improve this answer answered Jul 4 '11 at 0:37 luchaninov 2,48232558 You saved my day :) –ownking Jan 28 '14 at 17:54

Resources 24/7 Support Academy Jobs & Pros Blog Kinsta Managed Hosting Review: Blazingly Fast and Solid Features WordPress Careers Masterclass: How to Forge a Successful Career How We've Made Website Monitoring Easy It's pretty simple to fix! Start free trial No thanks Awesome, let's get you set up for your free trial Email address 100% spam free, promise!

You can fix it by either wrapping that class with an if statement (like below), or you can put it into a separate file and use require_once(), instead of include().

Do I need to do this? Based on your experience in this ticket would you please be kind enough to rate us externally on: SiteJabberTrustPilotWOT No Thanks 100+ PREMIUM PLUGINS & THEMES FOR FREE? Please, what can i do to solve this? –user1803663 Nov 6 '12 at 20:52 maybe you have to look into the code files of the plugins and rename one This one's not showing up on my test site presently, may I ask if a conflict test has been done yet?

Just edit the path to the place where your file is installed. Utilisateurs parcourant ce forum : Majestic-12 [Bot] et 5 invités Accueil du forum » PHP » PHP débutant A propos... plugin is active accessing this page: http://www.jmuller777.com/blog/?mode=facebook_tab gives me the fallowing error: "Fatal error: Cannot redeclare class FacebookApiException in /home/denrrou/public_html/jmuller777.com/blog/wp-content/plugins/InstaBuilder/inc/facebook/base_facebook.php on line 107" I have read that it should be a http://back2cloud.com/php-fatal/php-fatal-error-cannot-redeclare-class-browser-in.php Nabtron team includes web, desktop software and mobile apps developers along with SEO professionals.

janvitos @janvitos 3 weeks, 4 days ago So I did more testing and was able to get 3.6 working by disabling the rest api and commenting out this line of code This class provides * a majority of the functionality needed, but the class is abstract * because it is designed to be sub-classed. Browse other questions tagged facebook class or ask your own question. When including other files you need to use something like include_once "something.php"; to prevent multiple inclusions.

Are illegal immigrants more likely to commit crimes? janvitos @janvitos 3 weeks, 5 days ago There might be a require instead of a require_once somewhere in 3.6 that wasn't in 3.5 or that was already a require_once. I got this error on the search results page on my blog because of a self developed plugin… thanks! It is running now after following your advice not to publish users avatar.

SVN may cause the same class to appear twice in the conflicted code file; two alternative versions of it ("mine" and "theirs"). If you have not submitted an issue previously, this guide will help you submit a complete report which may result in a faster resolution. We’re thrilled to hear you had a great experience with . June 13, 2012 at 10:10 pm #3792 AbhayMember HI, This site differs from my other one in that it is a J1.5 site and also runs Jomsocial 1.85 I had to

By default, full page redirect is * assumed. PHP Fatal error: Cannot redeclare class php share|improve this question edited Jan 30 '14 at 5:34 rm-vanda 2,46621330 asked Apr 2 '09 at 3:11 SkyWeng 11.8k53112146 11 This can append La solution que je préconise peux ressembler à ce que tu propose pour peux $conf['fb_api_file'] soit utilisée par tout les scripts / plugins qui vont utiliser ces fichiers.