- Issue created by @mr.valters
Error:
Deprecated function: Creation of dynamic property Drupal\elasticsearch_helper_views\Plugin\views\query\Elasticsearch::$where is deprecated in Drupal\views\Plugin\views\query\QueryPluginBase->setWhereGroup() (line 178 of core/modules/views/src/Plugin/views/query/QueryPluginBase.php).
Add $where property for a class Drupal\elasticsearch_helper_views\Plugin\views\query\Elasticsearch
/**
* @var string
*/
protected $where;
-----
Diff:
diff --git a/src/Plugin/views/query/Elasticsearch.php b/src/Plugin/views/query/Elasticsearch.php
index 96c2a2b..f0ada5e 100644
--- a/src/Plugin/views/query/Elasticsearch.php
+++ b/src/Plugin/views/query/Elasticsearch.php
@@ -49,6 +49,11 @@ class Elasticsearch extends QueryPluginBase {
*/
protected $queryBuilder;
+ /**
+ * @var string
+ */
+ protected $where;
+
/**
* Elasticsearch constructor.
*
Active
8.0
Code