Hi,
We are getting the following error when running PHPCompatibility for 7.2
FILE: ...les/contrib/views_php/plugins/views/views_php_plugin_wrapper.inc
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
48 | ERROR | "$this" can no longer be used in a plain function or
| | method since PHP 7.1.
----------------------------------------------------------------------
Are we having any plans to fix this?
I have attached the image file of error.
Thanks and regards,
Mayank Patel
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | views_php-remove_static_this-3038544-7-D7.patch | 593 bytes | liam morland |
| views_php_7.2_issue.png | 17.07 KB | patelmayank7552 |
Comments
Comment #2
shital.mahajan commentedComment #3
shital.mahajan commentedComment #4
shital.mahajan commentedComment #5
avpadernoComment #6
liam morlandComment #7
liam morlandThis patch just removes __callStatic(), which never worked anyway; see #3052613-8: [7.x-2.x] "$this" can no longer be used in a plain function or a static method, comments 8 and 9 for details.
Comment #9
liam morland