Title: PHP Fatal error: Call to undefined function add_action()
Last modified: August 31, 2016

---

# PHP Fatal error: Call to undefined function add_action()

 *  [akramisb87](https://wordpress.org/support/users/akramisb87/)
 * (@akramisb87)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/)
 * Having a similar error message.Please need your help
 * 11 [27-Jan-2016 21:48:39 America/Denver] PHP Fatal error: Call to undefined function
   add_action() in /home5/atwozvir/public_html/wp-content/themes/education/fw/core/
   plugin.woocommerce.php on line 7
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000266)
 * The error message states that it’s coming from a file in your theme.
 *  Thread Starter [akramisb87](https://wordpress.org/support/users/akramisb87/)
 * (@akramisb87)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000319)
 * I have no idea in which file problem is. Only I have update some plugin then 
   this problem is created both in site as well as admin panel.
 *  Plugin Contributor [royho](https://wordpress.org/support/users/royho/)
 * (@royho)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000322)
 * So the error is coming from your theme. Please contact your theme author to see
   if this is a known issue or if they can fix it.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000355)
 * > I have no idea in which file problem is
 * `wp-content/themes/education/fw/core/plugin.woocommerce.php`
 *  Thread Starter [akramisb87](https://wordpress.org/support/users/akramisb87/)
 * (@akramisb87)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000358)
 * Thanks Mike Jolley
    The problem is that I just update plugin after that is is
   coming on different files.I don’t know how to solve this issue.This issue is 
   coming on both website as well as admin panel.
 *  Thread Starter [akramisb87](https://wordpress.org/support/users/akramisb87/)
 * (@akramisb87)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000359)
 * rica/Denver] PHP Fatal error: Call to undefined function add_action() in /home5/
   atwozvir/public_html/wp-content/themes/education/fw/core/type.team.php on line
   11 [27-Jan-2016 21:48:39 America/Denver] PHP Fatal error: Call to undefined function
   add_action() in /home5/atwozvir/public_html/wp-content/themes/education/fw/core/
   plugin.woocommerce.php on line 7 [27-Jan-2016 21:48:43 America/Denver] PHP Fatal
   error: Call to undefined function add_action() in /home5/atwozvir/public_html/
   wp-content/themes/education/fw/core/type.attachment.php on line 11 [27-Jan-2016
   21:48:46 America/Denver] PHP Fatal error: Call to undefined function add_action()
   in /home5/atwozvir/public_html/wp-content/themes/education/fw/core/type.taxonomy.
   php on line 11 [27-Jan-2016 21:48:47 America/Denver] PHP Fatal error: Call to
   undefined function add_action() in /home5/atwozvir/public_html/wp-content/themes/
   education/fw/core/type.post_type.php on line 11 [27-Jan-2016 21:49:24 America/
   Denver] PHP Fatal error: Call to undefined function add_action() in /home5/atwozvir/
   public_html/wp-content/themes/education/fw/core/type.post.php on line 11 [27-
   Jan-2016 21:54:44 America/Denver] PHP Fatal error: Call to undefined function
   add_action() in /home5/atwozvir/public_html/wp-content/themes/education/fw/core/
   core.reviews.php on line 11 [27-Jan-2016 21:54:47 America/Denver] PHP Fatal error:
   Call to undefined function add_action() in /home5/atwozvir/public_html/wp-content/
   themes/education/fw/core/type.testimonials.php on line 11
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000360)
 * akramisb87 – the problem is caused by your education theme. If you cannot get
   into admin to remove/change it, FTP into the wp-content/themes/ directory and
   rename ‘education’ to something else. This will deactivate the theme.
 *  Thread Starter [akramisb87](https://wordpress.org/support/users/akramisb87/)
 * (@akramisb87)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000361)
 * Mike Jolley I have change name but no difference in site. In admin panel only
   error are showing in top. Admin panel is working properly.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000362)
 * Are there any other themes installed in wp-content/themes/?
 *  Thread Starter [akramisb87](https://wordpress.org/support/users/akramisb87/)
 * (@akramisb87)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000364)
 * Yes,but these are only wordpress themes.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000366)
 * Remove it then. You won’t be able to access admin whilst your theme is causing
   fatal errors.

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

The topic ‘PHP Fatal error: Call to undefined function add_action()’ is closed to
new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [add_action](https://wordpress.org/support/topic-tag/add_action/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 11 replies
 * 3 participants
 * Last reply from: [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-70/#post-7000366)
 * Status: not resolved