Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Maximum execution time exceeded


  • shanebp
    Moderator

    @shanebp

    Using WP 3.2.1, BP 1.2.9

    Getting this error about once a minute:
    PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-classes.php on line 331

    The line number varies from 331 to 335
    That is in: function get_user_extras, in the IF statement for Fetch the user’s total friend count

    If I comment out that IF statement, the same Fatal Error occurs, but the Line Number moves down to the next IF statement.

    Tried setting Max Time to 60 seconds – but get same error.
    Enabled slow query logging – everything is fine.

    The site has ~12k members with an average of 300 members online- so it seems odd that the error only happens once a minute.

    Any thoughts?

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    This error was caused by users who were not logged in but tried to view the activity stream of a single member.

    A simple redirect fixed it.
    .

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Maximum execution time exceeded’ is closed to new replies.
Skip to toolbar