[Resolved] Mantra Theme – Cannot redeclare mantra_get_theme_options
I have just recently installed the very cool Mantra Theme and created a child theme to make changes as desired for my site. I wanted to change the header width from 1110 to something smaller so I can upload my logo of 400×120 without it being expanded to the defaulted 1110×120.
Anyway, I tried to change HEADER_IMAGE_WIDTH’, apply_filters( ‘mantra_header_image_width’, $totalSize ) in [..]/mantra-child/functions.php by overiding the $totalSize with the numer 400. And I get this error:-
Fatal error: Cannot redeclare mantra_get_theme_options() (previously declared in /homepages/32/d347763513/htdocs/wp/wp-content/themes/mantra-child/functions.php:22) in /homepages/32/d347763513/htdocs/wp/wp-content/themes/mantra/functions.php on line 27
I replaced the mantra-child functions.php with the original but cannot enter my site at all even so.
Can someone please tell me how I can recuperate from this error please?
“The level of our success is limited only by our imagination” – Aesop
[No bumping, thank you.]
- The topic ‘[Resolved] Mantra Theme – Cannot redeclare mantra_get_theme_options’ is closed to new replies.