Why does Views PHP give me NULL for $row->path? I have a views block to display only the titles of some few nodes. Titles linked to the single node. I want to have a CSS class .active added to the title's links when the linked path matches the actual called path. As mentioned in the comments below, I didn't got that class by default.

So I added a Global: PHP field right after I added and excluded a Content: Path field to access $row-&gt;path in the Global: PHP's output code field. But $row-&gt;path seems to be empty. dpm($row) gives me a path: NULL. Content: Path displayed gives me the right paths. But where's the path gone in the PHP field??? When was the moment it got nulled?

I still managed to do what I want with the nid. Though without the beautiful alias paths I'ld like to have.
Found a workaround for using the alias path in Views PHP: [SOLVED] Views PHP $row->path showing Null

drupal_lookup_path('alias', 'node/' . $data-&gt;nid)


Question still unanswered. Will report issue.