Jump to content

Recommended Posts

Posted (edited)

Hi!

Every 3 hours, I can see in my PHP logs:

Quote

NOTICE: PHP message: PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /home/web/system/Text/Parser.php on line 1151

Has anyone ever encountered this problem, and knows where it might be coming from?
Its regularity (every 3 hours) makes me think of a task that cannot be completed.

Thanks a lot! 🙏🏻

Edited by LaCollision
Posted

Hi Marc,

Thanks for your reply!

By analyzing the Apache logs, I found that the problem comes from SendGrid calls:

"POST /applications/core/interface/incomingemail/sendgrid.php HTTP/1.1" 500 4540 "-" "Sendlib/1.0"

 

In \Email\Incoming\Email, there is indeed at line #523:

$body = $parser->parse( $body );

 

We can see this parse() method calls the \Text\Parser->_parseContent() method… which is exactly where I have the issue of a PHP Fatal error (maximum execution time of 240 seconds exceeded):

if ( $img->hasAttribute( 'data-ipsEmoticon-plain' ) )

 

So, there might be an issue with the method analyzing SendGrid calls.

But now… it's beyond my capabilities! 😅

It would be interesting for the Invision development team to take a look at this issue.

Thanks again,

Posted

This kind of falls in a grey area as the incoming emails for support module is kind of in an "as-is" state due to deprecation. However, I have tagged a developer to this to evaluate if there are any recommendations here. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...