Php Fatal Error Cannot Redeclare Class Oauthexception
Contents |
Page Builder[Tip] How to deal with Fatal error: Cannot redeclare class OAuthException ... Support Online : Mon - Fri / 10am - 6pm (GMT +6)Your Time: Our Time: Discussions Discussions Categories Tags Subscribe via rss Subscribe via email Subscribe via email Search or Ask a Question Offline 1 votes [Tip] How to deal cannot redeclare class oauthexception twitter with Fatal error: Cannot redeclare class OAuthException ... Posted By: Alex Smirnov Developer In
Fatal Error Cannot Redeclare Class Php
SP Page Builder Tuesday, July 14 2015, 07:34 PM If you installed Joomshaper one of our templates quick start pack and your front end displayed either a blank white page or, if your Joomla error reporting is on in global configuration, the fatal error "Fatal error: Cannot redeclare class OAuthException in /public_html/soccer/components/com_sppagebuilder/helpers/tweet/twitteroauth/OAuth.php on line 17", then fear not. In your Joomla back end please go to "Components" -> "SP Page Builder" -> "Home" -> scroll down to the "Tweet Feeder" add-on and click on the little pencil icon to open this add-on for editing. In the presented to you "Twitter Feed" modal box replace the default values inside the "Twitter Username", "Consumer Key", "Consumer Secrete", "Access Token" and"Access Token Secrete" fields (see attached below screenshot) to your own or delete them until you figure out what your own values for those fields are. Click on "Save" button at the bottom of the modal box to save the changes you made in the "Twitter Feed" addon and then click on "Save" or "Save & Close" to save the page. There you have it. Regards, Alex Attachments: wrong_twitter_keys.png Cannot redeclare class OAuthException Offline 0 votes Alex Smirnov Developer Tuesday, March 01 2016, 04:48 AM #Permalink @Jim Hollingshead, Glad to hear our tip did the job for you. Happy joomshaping. Regards, Alex Offline 0 votes Jimbo! DeveloperPage Builder Pro Developer License Monday, February 29 2016, 09:51 PM #Permalink Brilliant the twitter tweak worked for me! Offline 0 votes Alex Smirnov Developer Monday, February 15 2016, 03:06 PM #Permalink @majdidwt, Please create a new thread with your issue and we will gladly meet you there. Many thanks in advance. Regards, Alex Offline 0 votes karam Developer Thursday, February 11 2016, 10:24 PM #Permalink Alex Smirnov wrote: @majdidwt, Thank you for your input but I respectfully disagree. I think the very purpose of the quick start pack is to give its owner out of the b
Sign in Pricing Blog Support Search GitHub This repository Watch 0 Star 0 Fork 0 cezheng/oauth Code Issues 137 Pull requests 0 Projects 0 Pulse Graphs New issue PHP Fatal error: Cannot redeclare class OAuthException in OAuth.php on line 8 #242 Open GoogleCodeExporter opened this https://www.joomshaper.com/forums/tip-how-to-deal-with-fatal-error-cannot-redeclare-class-oauthexception Issue Aug 14, 2015 · 0 comments Projects None yet Labels auto-migrated Milestone No milestone Assignees No one assigned 1 participant GoogleCodeExporter commented Aug 14, 2015 If you use this library with OAuth included in PHP you get https://github.com/cezheng/oauth/issues/242 the following error: PHP Fatal error: Cannot redeclare class OAuthException in OAuth.php on line 8 Please wrap it like that: if (!class_exists('OAuthException')) { class OAuthException extends Exception { // pass } } Original issue reported on code.google.com by i...@soeren-mueller.com on 3 Nov 2013 at 12:40 GoogleCodeExporter added the auto-migrated label Aug 14, 2015 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Contact Work with us The Hub Log In Become a member New to the community? Start here Home Support Support Forums Plugins https://premium.wpmudev.org/forums/topic/fatal-error-cannot-redeclare-class-oauthexception & themes Chat john_peeler Design Lord, Child of Thor 56 pts 67 pts LEVEL 3 Fatal error: Cannot redeclare class OAuthException Fatal error: Cannot redeclare class OAuthException in /home/newfreed/public_html/wp/70/wp-content/plugins/wordpress-chat/lib/twitteroauth/OAuth.php on line 8 More Chat discussions Chat All General WordPress Plugins & Themes Multisite Features & Feedback Comments 12 Alexander DEV MAN’s Mascot 952 pts 6,411 pts LEVEL 24 Hi @john_peeler, This looks cannot redeclare like a conflict with another plugin. Do you have any other plugins active that integrate with Twitter? Can you try deactivating them and see if this error goes away? If we can identify the conflict here, we should be able to get a solution worked out for you. Thanks for being a WPMU DEV member. Let us know if we can be of cannot redeclare class any further assistance. Best regards, john_peeler Design Lord, Child of Thor 56 pts 67 pts LEVEL 3 I cannot deactivate any plugins because I get the following message when I click on installed plugins. I did not have this issue before installing your Chat plugin and then doing updates. Fatal error: Cannot redeclare class OAuthException in /home/newfreed/public_html/wp/70/wp-content/plugins/wordpress-chat/lib/twitteroauth/OAuth.php on line 8 Paul The Green Incsub 1,043 pts 4,164 pts LEVEL 20 @john_peeler, Hmm. Best option of the login to your site via FTP and replace the newer chat with a prior version. I'll look into this as soon as I can. As @Alex mentioned you have another plugin using OAuth and for some reason they are both loading libraries using the same name. IF you can I need to know what other plugins you have active so I can see if there is a way around the conflict. john_peeler Design Lord, Child of Thor 56 pts 67 pts LEVEL 3 Market Press is the only Activated Plugin john_peeler Design Lord, Child of Thor 56 pts 67 pts LEVEL 3 Your suggestion to use the older version