Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
XHProf -dev on Drupal 7.15 throws a fatal error when you try to sort any column from a xhprof run table. Patch coming up :)
Comment | File | Size | Author |
---|---|---|---|
#1 | 1776758.patch | 2.08 KB | amateescu |
Comments
Comment #1
amateescu CreditAttribution: amateescu commentedHere we go.
Comment #2
amateescu CreditAttribution: amateescu commentedEven with better english!
Comment #3
msonnabaum CreditAttribution: msonnabaum commentedHappy to fix this if I'm using the api wrong, but I definitely can't recreate the fatal error. What was the error you were getting?
Comment #4
amateescu CreditAttribution: amateescu commentedThis was the error: Fatal error: Unsupported operand types in D:\xampp\htdocs\cartier\www\includes\theme.inc on line 1071
It was trying to mix the 'desc' string with an array.
Edit: Also, the documentation says that theme_tablesort_indicator() requires an array.
Comment #5
msonnabaum CreditAttribution: msonnabaum commentedFair enough. Thanks.