Fatal Error Cannot Redeclare Bp_dtheme_ajax_querystring Previously Declared In
Contents |
activiating plugins, cant reach admin or front page. Site not wievable after activiating plugins, cant reach admin or front page. Peter20ghz @peter20ghz 5 years, 8 months
Php Fatal Error Cannot Redeclare Function
ago Hello. Im testing out functions and designs to get cannot redeclare php a look and functionality i want. Doing so makes me test many templates and plug-ins. And cannot redeclare wordpress that usually is no problem. but today when i had installed a few plug-ins i wanted to activate them, so i ticked them all and chose activate
Fatal Error Cannot Redeclare Function Previously Declared In
all. Then it got wrong, next page i see looks like this in the admin window Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /storage/content/75/*******/golfbutikerna.se/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:20) in /storage/content/75/******/golfbutikerna.se/public_html/wp-content/themes/custom-community/_inc/ajax.php on line 63
And same goes for the front page, same page with same text comes. i cant get back to admin window to correct it.Php Cannot Redeclare Function Previously Declared
Ive been using some platforms with cms,php,smarty but with WP im a newbie.And i don't really know here what happened. If anyone could explain what went wrong, and point me to how solve it i would be most thankful. Someone told me to just use my ftp and delete all installed pluggins, but im not sure thats the right way. Anyone have a tip to share/spare? Thanks in advance. Regards Peter Viewing 1 replies (of 1 total) Tara @t-p Volunteer Moderator 5 years, 8 months ago -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually (one-by-one) to find the culprit. If you don't have access to your admin area, try deactivating them manually via FTP or phpMyAdmin. Viewing 1 replies (of 1 total) The topic ‘Site not wievable after activiating plugins, cant reach admin or front page.' is closed to new replies. Topic Info In: How-To and Troubleshootin
Contact Work with us The Hub Log In Become a member New to the community? Start here Home Support Support Forums fatal error cannot redeclare previously declared in Plugins & themes Blogs MU suziwilson WPMU DEV Initiate 56 pts 18
Fatal Error Cannot Redeclare Drupal
pts LEVEL 1 Fatal Error with bp_dtheme_ajax_querystring. Help! I just installed this theme and activate it and received this cannot redeclare function wordpress error! I'm not very happy! Can someone help? Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /home/newlif17/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:20) in /home/newlif17/public_html/wp-content/themes/blogs-mu/_inc/ajax.php on line 63 Thank you, More Blogs MU discussions Blogs MU All https://wordpress.org/support/topic/site-not-wievable-after-activiating-plugins-cant-reach-admin-or-front-page General WordPress Plugins & Themes Multisite Features & Feedback Comments 6 Philip John DEV MAN’s Apprentice 754 pts 8,909 pts LEVEL 26 Hiya! That's strange - that's relating to an AJAX conflict between the default BuddyPress theme and Blogs MU. It shouldn't be happening because you're de-activating one in favour of the other. Can you activate the Twenty Eleven theme, then activate https://premium.wpmudev.org/forums/topic/fatal-error-with-bp_dtheme_ajax_querystring-help Blogs MU and see if you get the same error please? Thanks, Phil suziwilson WPMU DEV Initiate 56 pts 18 pts LEVEL 1 Thanks Phil for getting back so quickly! Nice. I cannot even get into my admin panel because of this error. Any other suggestions? Philip John DEV MAN’s Apprentice 754 pts 8,909 pts LEVEL 26 If you can't get into the admin panel you just need to temporarily rename the theme files. Using your FTP program, or file manager provided by your host, rename the /wp-content/themes/blogs-mu folder to something different. E.g. "blogs-mux" Then go to your dashboard which will revert back to the default theme. Rename the blogs-mu folder back again and try my suggestion above. I've tried to replicate this on a clean install and I can't which suggests something specific to your setup. Can you confirm that you are using the latest versions of WordPress, BuddyPress and Blogs MU? Thanks! Phil Philip John DEV MAN’s Apprentice 754 pts 8,909 pts LEVEL 26 Okay, thanks to some help from our BuddyPress theme expert I've discovered that you must have the BP Temp
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/31594590/fatal-error-cannot-redeclare-a-function-previously-declared-php and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags http://support.nesia.me/discussion/69/buddypress-for-commerce/p1 Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only cannot redeclare takes a minute: Sign up Fatal error: Cannot redeclare a function previously declared PHP [duplicate] up vote -2 down vote favorite This question already has an answer here: Reference - What does this error mean in PHP? 29 answers Fatal error: Cannot redeclare getIp() (previously declared in C:\xampp\htdocs\ecommerce\functions\functions.php:12) in C:\xampp\htdocs\ecommerce\functions\functions.php on line 21 This is the error I received when fatal error cannot creating a checkout page function getIp() { $ip = $_SERVER['REMOTE_ADDR']; if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } return $ip; } this is the function it refers to and it happens after this is not set function php share|improve this question edited Jul 23 '15 at 18:30 Santiago Hernández 2,166724 asked Jul 23 '15 at 17:45 Ms. Code 74 marked as duplicate by Rizier123php Users with the php badge can single-handedly close php questions as duplicates and reopen them as needed. Jul 23 '15 at 17:50 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. 2 There's a function with that same name already defined. Rename this one and you're good to go –Alex Tartan Jul 23 '15 at 17:49 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote probably you have included the file before, use include_once
upgrading all of our themes and will release next version soon. We'll keep you updated as soon as we release them. In the meantime, if you're happened to already upgrade your WooCommerce, you can roll back to the previous WooCommerce version by downloading it from http://wordpress.org/plugins/woocommerce/developers/ Thanks for your understanding. Cheers! Commerce BuddyPress for Commerce ar84 March 2013 Hi,I bought this theme because I thought it was compatible with BuddyPress, but I can't seem to successfully install the BuddyPress plugin. I downloaded the latest version, 1.6.4, installed and activated it, and then got this message:You'll need to activate a BuddyPress-compatible theme to take advantage of all of BuddyPress's features. We've bundled a default theme, but you can always install some other compatible themes or update your existing WordPress theme.So I chose to upgrade my existing Wordpress theme (Commerce). I downloaded the BuddyPress Template Pack, installed and activated it, and then got this fatal error:Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /home/content/10/10640110/html/wp-content/themes/commerce/_inc/ajax.php:17) in /home/content/10/10640110/html/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php on line 157I thought it might be the 1.6.4 version of BuddyPress, since it says on your site that Commerce supports "BuddyPress 1.6". So I downloaded 1.6 (made sure to rename the file to "BuddyPress"), installed and activated it, but I get the same exact error. Any ideas?Thank you,ar84 support March 2013 Hi ar84,Which version of Commerce did you use?Please do not upgrade the existing Commerce 1.2 theme, since it's already support BuddyPress 1.6.xPlease do a fresh installation from the start (to avoid conflicting data in your database).When it comes to BuddyPress setup / installation wizard, please choose Commerce as the theme you want to use with BuddyPress like in this screenshot: http://awesomescreenshot.com/0ef111vx4cOr you can choose "do not change my current theme" as well.Here's a screenshot of it: http://awesomescreenshot.com/010111v3aeDon't forget to activate the theme (Commerce) first before you activate the BuddyPress plugin.Hope this helps.Cheers! ar84 March 2013 Hi,Thanks for your response. I am using Commerce 1.2 and BuddyPress 1.6.4. I tried followi