Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDiana Moura
8,629 Pointsfatal error in pages and plugins - wordpress
Hi! I can't access pages and plugins on wordpress. I have this fatal error appearing:
pages: Fatal error: Cannot redeclare catchkathmandu_footer_content() (previously declared in /home/petrocer/public_html/wp-content/themes/catch-kathmandu/inc/catchkathmandu-functions.php:1420) in /home/petrocer/public_html/wp-content/themes/catch-kathmandu/inc/catchkathmandu-functions.php on line 1423
plugins: Fatal error: Cannot redeclare catchkathmandu_footer_content() (previously declared in /home/petrocer/public_html/wp-content/themes/catch-kathmandu/inc/catchkathmandu-functions.php:1420) in /home/petrocer/public_html/wp-content/themes/catch-kathmandu/inc/catchkathmandu-functions.php on line 1423
Does anyone know how to solve this? the website is www.petrocerva.com thank you so much!!!
3 Answers
Chandan K. Sah
Courses Plus Student 12,665 PointsI just visited your site, its working absolutely fine.
Diana Moura
8,629 PointsHi Chandan, Thank you for your answer. The problem is whithin wordpress dashboard. I cannot create the pages because that message appers in the page builder and I can't access or edit the pages. Same with the plugins...
Chandan K. Sah
Courses Plus Student 12,665 PointsThe error message says it all, you have declare catchkathmandu_footer_content() twice in your catchkathmandu-functions.php file. Try to remove one. catchkathmandu_footer_content() function can be found in line 1420 and 1423. Remove the function you declare in line 1423. It should solve the problem.You can either edit using wordpress editor or if you are unable to access the editor try to edit it using ftp program.