- πΊπΈUnited States sgroundwater
For this error on 7.x-2.x branch:
"Fatal error: Array and string offset access syntax with curly braces is no longer supported in ... /views_php/plugins/views/views_php_handler_field.inc on line 228"/ * curly brace syntax with square brackets for array access */
foreach ($this->view->style_plugin->rendered_fields[$this->view->row_index] as $field => $value) {
$normalized_row->$field = $value;
}Also related to PHP updates, in case you see this error:
"Deprecated function: Required parameter $input follows optional parameter $checkbox in include_once() ... "views_php.module
< function views_php_form_element($handler, $checkbox = FALSE, $input, $variables = array()) {
---
>
> /** See https://git.drupalcode.org/project/views_php/-/commit/3921d99
> *** function views_php_form_element($handler, $checkbox = FALSE, $input, $variables = array()) {
> **/
>
> function views_php_form_element($handler, $checkbox, $input, $variables = array()) {