WordPress.org

Support

Support » Themes and Templates » Glossy Stylo » Cannot redeclare glossy_stylo_filter_wp_title()

Cannot redeclare glossy_stylo_filter_wp_title()

  • I tried to change a template setting whilst using this theme and now my site won’t work at all. Please help! These are the messages that appeared in Apache’s “error.log” at the time:

    [Sun Apr 21 13:58:39 2013] [error] [client 192.168.123.31] PHP Fatal error:  Cannot redeclare glossy_stylo_filter_wp_title() (previously declared in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php:24) in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php on line 50, referer: http://192.168.123.1/wordpress/wp-admin/post.php?post=2&action=edit&message=1
    [Sun Apr 21 13:58:53 2013] [error] [client 192.168.123.31] PHP Fatal error:  Cannot redeclare glossy_stylo_filter_wp_title() (previously declared in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php:24) in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php on line 50, referer: http://192.168.123.1/wordpress/wp-admin/post.php?post=2&action=edit&message=1
    [Sun Apr 21 13:59:02 2013] [error] [client 192.168.123.31] PHP Fatal error:  Cannot redeclare glossy_stylo_filter_wp_title() (previously declared in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php:24) in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php on line 50, referer: http://192.168.123.1/wordpress/wp-admin/post.php?post=2&action=edit&message=1
    [Sun Apr 21 13:59:56 2013] [error] [client 192.168.123.31] PHP Fatal error:  Cannot redeclare glossy_stylo_filter_wp_title() (previously declared in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php:24) in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php on line 50
    [Sun Apr 21 19:37:30 2013] [error] [client 192.168.123.34] PHP Fatal error:  Cannot redeclare glossy_stylo_filter_wp_title() (previously declared in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php:24) in /usr/share/wordpress/wp-content/themes/glossy-stylo/functions.php on line 50, referer: http://192.168.123.1/wordpress/wp-admin/customize.php?url=http%3A%2F%2F192.168.123.1%2Fwordpress%2F

    thanks, Greg

Viewing 1 replies (of 1 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    It looks like it’s a problem with the functions.php file ,so you can try downloading a new copy of the theme to your local computer and then replacing that file using FTP (or another file manager system that your hosting company uses).

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot redeclare glossy_stylo_filter_wp_title()’ is closed to new replies.
Skip to toolbar