[wp-trac] [WordPress Trac] #50333: Send complete error Stack Trace

WordPress Trac noreply at wordpress.org
Sat Jun 6 14:22:16 UTC 2020


#50333: Send complete error Stack Trace
----------------------------+-------------------------------------
 Reporter:  sebastienserre  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Site Health     |    Version:  5.4.1
 Severity:  normal          |   Keywords:  2nd-opinion needs-patch
  Focuses:                  |
----------------------------+-------------------------------------
 Hello,

 Since several version, WordPress is sending email to site admin in case of
 fatal error on the website.

 In the e-mail content we have the stack trace which can be useful to
 debug. In some case, this trace is unfortunately not complete...

 For example I received times ago:

 {{{
 Une erreur de type E_ERROR a été causée dans la ligne 39 du fichier
 /var/www/stjean/sanct-nd-grace/wp-content/plugins/5p2p-newsletter/inc/acf-
 options.php. Message d’erreur : Uncaught Error: Class
 'MailPoet\Models\Form' not found in /var/www/stjean/sanct-nd-grace/wp-
 content/plugins/5p2p-newsletter/inc/acf-options.php:39
 Stack trace:
 #0 /var/www/stjean/sanct-nd-grace/wp-content/themes/congregation/inc
 /themes-options-fields.php(168): p2p5_nl_load_options()
 #1 /var/www/stjean/sanct-nd-grace/wp-
 content/themes/congregation/functions.php(238):
 require('/var/www/stjean...')
 #2 /var/www/stjean/sanct-nd-grace/wp-settings.php(508):
 include('/var/www/stjean...')
 #3 /var/www/stjean/sanct-nd-grace/wp-config.php(80):
 require_once('/var/www/stjean...')
 #4 /var/www/stjean/sanct-nd-grace/wp-load.php(37):
 require_once('/var/www/stjean...')
 #5 /var/www/stjean/sanct-nd-grace/wp-admin/admin.php(34):
 require_once('/var/www/stjean...')
 #6 /var/www/stjean/sanct-nd-grace/wp-admin/plugins.php(10):
 require_once('/var/www/stjean...')
 #7 {main}
   thrown
 }}}
 in my debug.log, behind the thrown the path to the file error.

 Why this message truncated?

 Should it be possible to have the entire error message ?

 Thank you
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50333>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list