Getting error in while using views with php

@sp111, I had a similar error, further down in this discussion:

Please report if the response I got also works for you.