Viewing a log entry now causes a PHP Fatal:
Fatal error: Call to undefined function Drupal\object_log\Controller\kprint_r() in [...]/modules/contrib/object_log/src/Controller/ObjectLogController.php on line 153

Devel has replaced calls to this function with kpr(), that seems to work here too.

CommentFileSizeAuthor
#2 use_kpr_to_print_logs-2854348-2.patch530 bytesryandekker

Comments

ryandekker created an issue. See original summary.

ryandekker’s picture

Status: Active » Needs review
StatusFileSize
new530 bytes

Including a little patch that resolves this for me.

rcodina’s picture

Patch on #2 works for me. Thanks!

rcodina’s picture

Status: Needs review » Reviewed & tested by the community

Patch is so simple, I move it to RTBTC state.

ethomas08’s picture

Thanks for providing the solution along with the issue report, Ryan! I ran into this problem today and the patch worked like a charm.

tree2009’s picture

RTBC +1

tree2009’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.