Title: Plugin Activation Timeout
Last modified: July 18, 2021

---

# Plugin Activation Timeout

 *  Resolved [greatlandgrocery](https://wordpress.org/support/users/greatlandgrocery/)
 * (@greatlandgrocery)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/)
 * Hello,
 * I was trying to test your plugin, but am experiencing an issue activating it.
   The upload process works just fine, however, when I go to activate, the activation
   does not complete and the page ultimately generates a 524 error. I’m not having
   this issue with any other plugins. I tried restarting my server to see if that
   would help, but this didn’t seem to make any difference.
 * Are there any known conflicts with other plugins or server configurations which
   may prevent the plugin from activating? Any ideas why the activation process 
   will not complete and times out?
 * Thank you.

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

 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/#post-14672476)
 * Hi [@greatlandgrocery](https://wordpress.org/support/users/greatlandgrocery/)
 * No, I never heard of that error before. So it must be something particular to
   your setup.
 * Try to enable error logging in wp-config.php. After you retry activation there
   should be a log with that particular error. Please send it to me.
 * Let me know if you need further help getting the error log.
 *  Thread Starter [greatlandgrocery](https://wordpress.org/support/users/greatlandgrocery/)
 * (@greatlandgrocery)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/#post-14687626)
 * Thank you for your feedback. I was able to review error logs as suggested and
   also able to determine/resolve the issue with this info. Everything is working
   well now with the activation and was related to other custom programming installed
   on the site. Thank you!
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/#post-14687739)
 * Great!
 * Out of curiosity. Could you send me the error logs that helped you to resolve
   this to [support@woopt.com](https://wordpress.org/support/topic/plugin-activation-timeout/support@woopt.com?output_format=md)?
 * Maybe I can build in a safeguard in order to prevent this in the future for other
   users.
 *  Thread Starter [greatlandgrocery](https://wordpress.org/support/users/greatlandgrocery/)
 * (@greatlandgrocery)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/#post-14690808)
 * Sure… I have a custom plugin that was generating the following:
 * Notice: Constant WCOTE_FILE already defined in …/public_html/wp-content/plugins/
   woocommerce-orders-time-elapsed/woocommerce-orders-time-elapsed.php on line 18
 * Deactivating this plugin allowed me to activate without a timeout. Of note, even
   with the timeout, the plugin still seemed to activate. After the time out, I 
   went to check installed plugins on the site and the conversion tracking plugin
   had actually activated.
 * Thanks for the support here!
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/#post-14691103)
 * Interesting. WCOTE_FILE is never used as a global variable (or any variable) 
   in my plugin.
 * Most importantly it works now !

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

The topic ‘Plugin Activation Timeout’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-google-adwords-conversion-tracking-tag/assets/
   icon-256x256.png?rev=2704744)
 * [Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [alekv](https://wordpress.org/support/users/alekv/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-activation-timeout/#post-14691103)
 * Status: resolved