WordPress.org

Support

Support » Themes and Templates » Mantra » [Resolved] Mantra Theme – Cannot redeclare mantra_get_theme_options

[Resolved] Mantra Theme – Cannot redeclare mantra_get_theme_options

  • Hi there,
    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?
    Thanks!

    “The level of our success is limited only by our imagination” – Aesop

    http://wordpress.org/extend/themes/mantra/

    [No bumping, thank you.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    Re-upload a fresh copy of the theme to wp-content/themes using FTP.

    Ok thanks esmi, I thought of that but did nt want to lose the changes I made.
    Thanks for your reply & will do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Mantra Theme – Cannot redeclare mantra_get_theme_options’ is closed to new replies.
Skip to toolbar