Title: &#8220;Add comic&#8221; function not working
Last modified: February 27, 2018

---

# “Add comic” function not working

 *  [edappleby](https://wordpress.org/support/users/edappleby/)
 * (@edappleby)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-comic-function-not-working/)
 * I’m rebuilding my site from the old Comic press at edsrus.com to a new comic 
   easel powered site at edthecomicguy.com. I was mucking about with the design,
   managed to get the comic up, as well as a lot of the functionality. Really happy.
   Then I went to the “add comic” tab and got this lovely message…
 * >  Fatal error: Uncaught Error: Call to undefined function ereg() in /home/edapp/
   > edthecomicguy.com/wp-content/themes/herothemetrust/functions.php:760 Stack 
   > trace: #0 /home/edapp/edthecomicguy.com/wp-includes/class-wp-hook.php(288):
   > save_postdata(7474) #1 /home/edapp/edthecomicguy.com/wp-includes/class-wp-hook.
   > php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/edapp/edthecomicguy.
   > com/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/edapp/edthecomicguy.
   > com/wp-includes/post.php(3581): do_action(‘save_post’, 7474, Object(WP_Post),
   > false) #4 /home/edapp/edthecomicguy.com/wp-admin/includes/post.php(608): wp_insert_post(
   > Array) #5 /home/edapp/edthecomicguy.com/wp-admin/post-new.php(70): get_default_post_to_edit(‘
   > comic’, true) #6 {main} thrown in /home/edapp/edthecomicguy.com/wp-content/
   > themes/herothemetrust/functions.php on line 760
 * I have a feeling that I might have accidentally deleted or moved something around…
   however I was getting the same error message when i was working with elements
   of the theme (Theme trust’s “Hero”), and they just corrected themselves after
   a while.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadd-comic-function-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [MaxVaehling](https://wordpress.org/support/users/maxvaehling/)
 * (@maxvaehling)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-comic-function-not-working/#post-10033442)
 * Apparently, the post information doesn’t get sent right. Might be something as
   small as a ‘}’ or whatever missing somewhere that does that. The difficult part
   is to locate it.
 * Do you get the same error when you try to save a regular blog post? If so, does
   it remain when you switch CE off?
 * By switching your plugins off and on one by one you can get a grasp of where,
   roughly, the problem is. If it’s with one of your theme tweaks rather than the
   plugins: Are you working with a child theme? If so, you can delete and undelete
   files to see if one of your theme changes caused it. (If it’s the theme.)
 *  Thread Starter [edappleby](https://wordpress.org/support/users/edappleby/)
 * (@edappleby)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-comic-function-not-working/#post-10045352)
 * The blog posting also doesn’t work. I’ve tried switching off the plugins and 
   that doesn’t fix it either, so I guess it’ll have to be in the theme, when i 
   switched out the theme it seems to work. I’ll re install the old theme and figure
   things out. thanks.
 *  [MaxVaehling](https://wordpress.org/support/users/maxvaehling/)
 * (@maxvaehling)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-comic-function-not-working/#post-10049141)
 * Make sure to use a child theme for your changes. Makes it easier to track any
   mistakes.

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

The topic ‘“Add comic” function not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comic-easel_226fa1.svg)
 * [Comic Easel](https://wordpress.org/plugins/comic-easel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comic-easel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comic-easel/)
 * [Active Topics](https://wordpress.org/support/plugin/comic-easel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comic-easel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comic-easel/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [MaxVaehling](https://wordpress.org/support/users/maxvaehling/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/add-comic-function-not-working/#post-10049141)
 * Status: not resolved