Title: Fatal error while activating plugin
Last modified: February 4, 2019

---

# Fatal error while activating plugin

 *  Resolved [Ianpax](https://wordpress.org/support/users/ianpax/)
 * (@ianpax)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-5/)
 * Hi,
 * I have upgraded GamiPress to 1.6.7 while it was deactivated. When I tried to 
   activate it I got:
 * Fatal error: Uncaught Error: Call to undefined function ct_register_table() in/
   nfsmnt/hosting1_1/5/4/54253d81-a2e5-45b9-b71a-4af749084813/salezianimladym.sk/
   sub/rezervuj/wp-content/plugins/gamipress/includes/custom-tables.php:33 Stack
   trace: #0 /nfsmnt/hosting1_1/5/4/54253d81-a2e5-45b9-b71a-4af749084813/salezianimladym.
   sk/sub/rezervuj/wp-content/plugins/gamipress/includes/install.php(52): gamipress_register_custom_tables()#
   1 /nfsmnt/hosting1_1/5/4/54253d81-a2e5-45b9-b71a-4af749084813/salezianimladym.
   sk/sub/rezervuj/wp-content/plugins/gamipress/gamipress.php(346): gamipress_install()#
   2 /nfsmnt/hosting1_1/5/4/54253d81-a2e5-45b9-b71a-4af749084813/salezianimladym.
   sk/sub/rezervuj/wp-includes/class-wp-hook.php(286): GamiPress->activate(”) #3/
   nfsmnt/hosting1_1/5/4/54253d81-a2e5-45b9-b71a-4af749084813/salezianimladym.sk/
   sub/rezervuj/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)#
   4 /nfsmnt/hosting1_1/5/4/54253d81-a2e5-45b9-b71a-4af749084813/salezianimladym.
   sk/sub/rezervuj/wp-includes/plugin.php(453): W in /nfsmnt/hosting1_1/5/4/54253d81-
   a2e5-45b9-b71a-4af749084813/salezianimladym.sk/sub/rezervuj/wp-content/plugins/
   gamipress/includes/custom-tables.php on line 33
 * Note: I had deactivated plugin since 1.6.6 since it slowed down WP in the backend
   terribly. I tried to rule out the conflict with all plugins and theme (changing
   theme for twenty seventeen and deactivating all plugins but GamiPress: it did
   not help – the site was running very slowly in any operation I tried to do). 
   Now I was trying whether anything has changed after releasing the update.
 * Jan

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

 *  [Jordan Winslow](https://wordpress.org/support/users/jordanwinslow/)
 * (@jordanwinslow)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-5/#post-11168845)
 * I have the exact same problem. Here is my error information:
 * Fatal error: Uncaught Error: Call to undefined function ct_register_table() in/
   home4/anothfn6/public_html/wp-content/plugins/gamipress/includes/custom-tables.
   php:33 Stack trace: #0 /home4/anothfn6/public_html/wp-content/plugins/gamipress/
   includes/install.php(52): gamipress_register_custom_tables() #1 /home4/anothfn6/
   public_html/wp-content/plugins/gamipress/gamipress.php(346): gamipress_install()#
   2 /home4/anothfn6/public_html/wp-includes/class-wp-hook.php(286): GamiPress->
   activate(”) #3 /home4/anothfn6/public_html/wp-includes/class-wp-hook.php(310):
   WP_Hook->apply_filters(”, Array) #4 /home4/anothfn6/public_html/wp-includes/plugin.
   php(453): WP_Hook->do_action(Array) #5 /home4/anothfn6/public_html/wp-admin/plugins.
   php(174): do_action(‘activate_gamipr…’) #6 {main} thrown in /home4/anothfn6/public_html/
   wp-content/plugins/gamipress/includes/custom-tables.php on line 33
 * ———————————–
 * I really wanted gamipress to work and I built a Learning Management System around
   it for music education. It would take me a significant amount of work to take
   out all of the references I have made to the plugin on my website. Please help!
 *  Plugin Author [Ruben Garcia](https://wordpress.org/support/users/rubengc/)
 * (@rubengc)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-5/#post-11169681)
 * Hi [@ianpax](https://wordpress.org/support/users/ianpax/) and [@jordanwinslow](https://wordpress.org/support/users/jordanwinslow/)
 * Thank you for your fast report
 * We just released a new update (1.6.7.1) fixing this issue so on a few minutes
   you should be able to update GamiPress correctly
 * Best regards
 *  [Jordan Winslow](https://wordpress.org/support/users/jordanwinslow/)
 * (@jordanwinslow)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-5/#post-11172659)
 * Thanks so much Ruben. So far the update seems to have worked and my website is
   functioning properly again.
 * This plugin is difficult to use but so powerful even when set up only for the
   basics. I use it to give students in my free music production class the ability
   to “rank up” as they log in every day and complete lessons.
 * I still haven’t found a way to give them “credit” for viewing lesson pages or
   watching YouTube videos as Gamipress only supports internal video but even just
   giving them points and achievements manually sets the course apart from any course
   like it.
 * This plugin truly is awesome so I’m very thankful you released this update!
 *  Plugin Author [Ruben Garcia](https://wordpress.org/support/users/rubengc/)
 * (@rubengc)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-5/#post-11174883)
 * Hi [@jordanwinslow](https://wordpress.org/support/users/jordanwinslow/)
 * First time GamiPress can overwhelm you with the amount of features and information
 * But, at the end, you will see that GamiPress is so easy to setup and this bunch
   of options brings you the maximum flexibility to setup the gamification strategy
   you want
 * About youtube videos, don’t worry, we already have plans to bring support to 
   this platform
 * Best regards

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

The topic ‘Fatal error while activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/gamipress/assets/icon-256x256.png?rev=1699714)
 * [GamiPress - Gamification plugin to reward points, achievements, badges & ranks in WordPress](https://wordpress.org/plugins/gamipress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gamipress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gamipress/)
 * [Active Topics](https://wordpress.org/support/plugin/gamipress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gamipress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gamipress/reviews/)

## Tags

 * [activating plugin](https://wordpress.org/support/topic-tag/activating-plugin/)

 * 4 replies
 * 3 participants
 * Last reply from: [Ruben Garcia](https://wordpress.org/support/users/rubengc/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-5/#post-11174883)
 * Status: resolved