Problem/Error uploading Atahualpa 3.3.2
Hi there,
I am using the latest version of Wordpress, it's 2.7.1 and I have uploaded Atahualpa 3.3.2 to my themes page. So that there are currently 3 showing on the Themes page, the 2 default (Classic and Default) and Atahualpa. So I click on Atahualpa to activate and I get the following error message: Fatal error: Cannot redeclare widget_mdv_most_commented_per_cat() (previously declared in /home7/azzurrod/public_html/wp-content/plugins/atahualpa332/functions/bfa_popular_in_cat.php:22) in /home7/azzurrod/public_html/wp-content/themes/atahualpa332/functions/bfa_popular_in_cat.php on line 78 Don't think I have done anything wrong .... so do you guys have any idea/suggestion ? Thanks in advance for your help |
I have a similar problem. I am using Atahualpa 3.2 and loaded 3.3.2 to the themes directory. In the Manage Themes I show both Atahualpa versions available. When I try to activate 3.3.2 I get:
Fatal error: Cannot redeclare widget_mdv_most_commented() (previously declared in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php:22) in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php on line 172 So how do I upgrade from 3.2 to 3.3.2? Thanks...Jim |
try disabling the Most Commented widget and then switch themes
|
I do not have the Most Commented widget in use in the theme.
I have the old version of Atahualpa in a directory named Atahualpa and the new version in a directory named Atahualpa332. The fatal error mentions the widget being found in the Atahualpa332 directory. Do I need to remove all widgets to activate the new version? I have been trying to find a post on how to upgrade to the new version of Atahualpa but can not find one. |
interesting,
1) do you use the 'BFA Popular Posts' widget? (if so, remove it from your sidebar) 2) can you look at the actual code in atahualpa332/functions/bfa_popular_posts.php ? The reason I ask is in the version I have, there are only 151 lines, yet your error message suggests that the error in on line 172 - something is not correct Did you cut and paste the error message or type it by hand? (if you typoed it by hand, can you reverify it and make sure the names of the programs are correct. I can swap between 3.2 and 3.3.2 with no problem. |
I am not using any of the BFA widgets.
I cut and pasted the error information in my first post and in this one. I completely removed bfa_popular_posts.php from the Atahuapla332 directory. Then tried activating 332 and get: :( :confused: Warning: main(/hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions.php on line 27 Warning: main() [function.include]: Failed opening '/hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_posts.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions.php on line 27 Fatal error: Cannot redeclare widget_mdv_most_commented_per_cat() (previously declared in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_in_cat.php:22) in /hermes/bosweb/web078/b785/ipw.jimgregg/vaya/wp-content/themes/atahualpa332/functions/bfa_popular_in_cat.php on line 157 |
In functions.php find the line where that file is being inserted and comment it out by putting a hash # or two forward slashes // in front of the line
// include (TEMPLATEPATH . '/functions/bfa_popular_posts.php'); |
Quote:
|
All times are GMT -6. The time now is 08:11 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.