{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"Drupal 7: Show full stacktrace on error","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/707 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"707\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>The drupaleers did not manage it in 7 years to show sensible stack traces in Drupal 7: <a class=\"reference external\" href=\"https:\/\/www.drupal.org\/project\/drupal\/issues\/1158322\">https:\/\/www.drupal.org\/project\/drupal\/issues\/1158322<\/a><\/p>\n<p>If you need a stack trace because you only get a generic &quot;An unexpected error occured&quot;, patch drupal:<\/p>\n<p>includes\/bootstrap.inc, function _drupal_exception_handler: Before the _drupal_log_error call, do:<\/p>\n<pre class=\"literal-block\">\necho '&lt;table border=&quot;1&quot;&gt;' . $exception-&gt;xdebug_message . '&lt;\/table&gt;';\n<\/pre>\n<p>Requires xdebug.<\/p>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/707\/rev-raw\/994c5511550e9da2790bfd70660b7b640ba7c9e9\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/707#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
