Needs review
Project:
Views XML Backend
Version:
2.1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2026 at 23:32 UTC
Updated:
24 Jul 2026 at 17:33 UTC
Jump to comment: Most recent
Depreciated function warning
Deprecated function: Drupal\views_xml_backend\Plugin\views\query\Xml::ensureTable(): Implicitly marking parameter $join as nullable is deprecated, the explicit nullable type must be used instead in include() (line 576 of drupal11/vendor/composer/ClassLoader.php)
Use PHP8.4 and use module in a view
Clear cache
In views_xml_backend/src/Plugin/views/query/Xml.php look for
public function ensureTable(..., JoinPluginBase $join = NULL)
and change it to:
public function ensureTable(..., ?JoinPluginBase $join = NULL)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
garvitasakhrani commentedFixed the PHP 8.4 deprecation warning by adding the nullable type declaration for the $join parameter.
Please review. Thanks!
Comment #5
aitala commentedThat works.
Thanks,
E