Support » Theme: Mantra » Mantra Theme – Cannot redeclare mantra_get_theme_options

  • Resolved Raaje


    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?

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

    [No bumping, thank you.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Re-upload a fresh copy of the theme to wp-content/themes using FTP.

    Thread Starter Raaje


    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 ‘Mantra Theme – Cannot redeclare mantra_get_theme_options’ is closed to new replies.