I start with a clean drupal 8 Installation (drupal 8.7.2)
Then I activated views_php.
I created a views (page) and added a field: global php like this:
Value code:$value = "here I am";
Output code: echo($value);

Crash with the following error message:
ArgumentCountError: Too few arguments to function Drupal\views_php\Plugin\views\field\ViewsPhp::phpPostExecute(), 0 passed in ......

Is there a patch to solve this error ?

Greetings
Berthold

CommentFileSizeAuthor
#3 views_php-3058940-3.patch528 bytesSnehal Brahmbhatt

Comments

BLausch created an issue. See original summary.

blausch’s picture

This patch does not help at all.
The only thing is a static output, but no variables are handled.

Snehal Brahmbhatt’s picture

Status: Active » Needs review
StatusFileSize
new528 bytes

@BLausch, Please find the below-mentioned patch & let me know if you still not found the solution.

Thanks

blausch’s picture

The patch #3 seem to work.
Congratulations :-)

You saved my day.....