WordPress.org

Forums

P3 (Plugin Performance Profiler)
[resolved] Fatal Error with Pluging on line 285 (3 posts)

  1. Duffy Bear
    Member
    Posted 1 year ago #

    Hi - What can I do about this error with P3 Profiler?

    Thanks,
    Sandra

    A fatal error occurred during profiling: Maximum execution time of 90 seconds exceeded in file /home4/mygator/public_html/myduffybear.com/wp-content/plugins/p3-profiler/classes/class.p3-profiler.php on line 285

    http://wordpress.org/plugins/p3-profiler/

  2. Kurt Payne
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi Sandra,

    P3 is set to time out at 90 seconds for safety. If you want to raise the timeout, you need to edit the plugin. It's in your wp-content/plugins/p3-profiler/classes/class.p3-profiler.php file on line 183:

    @set_time_limit( 90 );

    You may find that a value higher than that (say 120) might cause other timeouts (apache/nginx or upstream proxies like varnish). I don't know the particular configuration of your WordPress set up.

  3. Duffy Bear
    Member
    Posted 1 year ago #

    Hi Kurt,

    Thank you this solution worked. I didn't get the error message!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic