“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 to see the link]
- The topic ‘“Add comic” function not working’ is closed to new replies.