Title: Fatal error in Version 0.4.8
Last modified: August 21, 2016

---

# Fatal error in Version 0.4.8

 *  Resolved [xu_xusha](https://wordpress.org/support/users/xu_xusha/)
 * (@xu_xusha)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-version-048/)
 * I already have seen that you had resolved this problem in version 0.4.1.
    Sorry
   for opening new topic, this plugin is really cool and it worked before and saved
   me A LOT!
 * Now comments shortcode creates this error:
 * Fatal error: Cannot redeclare mytheme_comment() (previously declared in /home/
   content/36/11401336/html/wp-content/themes/yoo_moustache_wp/layouts/comments.
   php:29) in /home/content/36/11401336/html/wp-content/themes/yoo_moustache_wp/
   layouts/comments.php on line 29
 * Thank you.
 * [http://wordpress.org/plugins/custom-content-shortcode/](http://wordpress.org/plugins/custom-content-shortcode/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-version-048/#post-4412548)
 * Hello, thank you for telling me about this. It’s a compatibility issue with the
   theme you’re using. I don’t have the theme myself so I cannot test it, but I 
   made changes to the name of the comments shortcode function and updated the plugin(
   v0.4.9).
 * Can you tell me if the update solves the issue?
 *  Thread Starter [xu_xusha](https://wordpress.org/support/users/xu_xusha/)
 * (@xu_xusha)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-version-048/#post-4412593)
 * Wow! Your support is fast.
 * No, I updated, then I even uninstalled and installed the plugin, but it shows
   the same error.
 *  Fatal error: Cannot redeclare mytheme_comment() (previously declared in /home/
   content/36/11401336/html/wp-content/themes/yoo_moustache_wp/layouts/comments.
   php:29) in /home/content/36/11401336/html/wp-content/themes/yoo_moustache_wp/
   layouts/comments.php on line 29
 * May be I should change some discussion settings?
 * It is yootheme.com theme “Moustache”.
    It is paid, but I can send you this theme
   via e-mail or I can tell you some info you need. Just let me know. My e-mal is:
   xenia.ericovna [at] gmail [.] com Thank you a lot for the support)
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-version-048/#post-4412667)
 * For anyone else who is using the Warp framework, apparently their comments template
   cannot be called from outside the theme. It declares mytheme_comment() inside,
   so using the [comments] shortcode produces an error.
 * The way we solved it was putting this in line 28 of _/layout/comments.php_:
 * `if ( ! function_exists('mytheme_comment') ) {`
 * ..and on line 80:
 * `}`
 * This prevents the function from being declared twice.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error in Version 0.4.8’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-in-version-048/#post-4412667)
 * Status: resolved