Title: Fatal error when activating
Last modified: August 21, 2016

---

# Fatal error when activating

 *  Resolved [salvador21](https://wordpress.org/support/users/salvador21/)
 * (@salvador21)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/)
 * I deactivated the plugin a while back, now when I reactivate it, i get this error:
 * `Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   30720 bytes) in /data01/taming/public_html/wp-admin/includes/template.php on 
   line 642`
 * can anyone help please
 * NB: php.ini =
 *     ```
       <?php
       memory_limit = 256M
       ```
   
 * [https://wordpress.org/plugins/p3-profiler/](https://wordpress.org/plugins/p3-profiler/)

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

 *  Plugin Contributor [Kurt Payne](https://wordpress.org/support/users/kurtpayne/)
 * (@kurtpayne)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848176)
 * Your site is capped at 64MB. 67108864 = 64MB.
 *  Thread Starter [salvador21](https://wordpress.org/support/users/salvador21/)
 * (@salvador21)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848188)
 * Thanks Kurt, what should i do about that?
 * Do you mean that the php.ini may not be working?
 *  Plugin Contributor [Kurt Payne](https://wordpress.org/support/users/kurtpayne/)
 * (@kurtpayne)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848193)
 * It appears php.ini isn’t working.
 * You can try editing wp-config.php to raise the memory limit:
 * [http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP](http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP)
 *     ```
       define( 'WP_MEMORY_LIMIT', '256M');
       define( 'WP_MAX_MEMORY_LIMIT', '384M');
       ```
   
 *  Thread Starter [salvador21](https://wordpress.org/support/users/salvador21/)
 * (@salvador21)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848268)
 * Thanks for the answers, I have now found the issue, which may be helpful for 
   some people.
 * When changing the memory limit in php.ini I found that there also had to be a
   link to the php.ini in .htaccess:
 * Without this, or unless the path is correct, the php.ini raisid limit shows correctly
   in a phpinfo.php, but still does not allow the increased amount to WordPress
 * which i discovered with the plugin: WP-Memory-Usage
 * The .htaccess needed this:
 * `suPHP_ConfigPath /data01/taming/public_html/php.ini`
 *  [Julian Fox (greataussiepie)](https://wordpress.org/support/users/greataussiepie/)
 * (@greataussiepie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848319)
 * This plugin is only compatible up to 3.5, if you are using 3.9 (the latest version
   of WordPress) it is probably not a good idea to use this plugin as per the WordPress
   guidelines.
 * P3 (Plugin Performance Profiler)
    Requires: 3.3 or higher Compatible up to: 3.5.2
   Last Updated: 2012-12-6
 * 🙂
 *  Plugin Contributor [Kurt Payne](https://wordpress.org/support/users/kurtpayne/)
 * (@kurtpayne)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848320)
 * Hi greataussiepie,
 * P3 is definitely compatible with 3.6, 3.6.1, 3.7, 3.7.1, 3.7.2, 3.7.3, 3.8, 3.8.1,
   3.8.2, 3.8.3, and 3.9. I have been avoiding releasing a new version just to update
   the readme file.
 * You can see user submitted plugin compatibility information on the P3 page on
   the lower right-hand side. 3.9 is currently marked as 3 “yes” and 0 “no”
 * That said, there’s an update pending you’re welcome to try here:
    [http://downloads.wordpress.org/plugin/p3-profiler.zip](http://downloads.wordpress.org/plugin/p3-profiler.zip)
 * It will be 1.5.0 and it’s pending some more thorough testing on different hosts,
   web servers, versions of php, etc.
 * You’re welcome to browse the changes since 1.4.1 here:
    [https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=905828%40p3-profiler&old=635099%40p3-profiler&sfp_email=&sfph_mail=](https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=905828%40p3-profiler&old=635099%40p3-profiler&sfp_email=&sfph_mail=)
 * Please let me know if you have any questions or if you find any features that
   do not work.
 *  [Julian Fox (greataussiepie)](https://wordpress.org/support/users/greataussiepie/)
 * (@greataussiepie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848321)
 * Ok cool, thanks for letting us know Kurt, will submit feedback when i try this
   out 🙂
 *  Thread Starter [salvador21](https://wordpress.org/support/users/salvador21/)
 * (@salvador21)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848323)
 * I’m glad to know it’s up to date and that you don’t keep doing updates just for
   the sake of it.
 * As mentioned, the issue was connected with the php.ini not working due to incorrectly
   configured .htaccess and not apparently due to this plugin, it just happened 
   to be the one I reactivated that tipped the memory of 64MB.
 * It is now working fine on 3.8.3

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/p3-profiler_80a82a.svg)
 * [P3 (Plugin Performance Profiler)](https://wordpress.org/plugins/p3-profiler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/p3-profiler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/p3-profiler/)
 * [Active Topics](https://wordpress.org/support/plugin/p3-profiler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/p3-profiler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/p3-profiler/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [salvador21](https://wordpress.org/support/users/salvador21/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-18/#post-4848323)
 * Status: resolved