- Issue created by @toprak
- Status changed to Needs review
6 months ago 12:05pm 27 June 2024 - 🇮🇳India sarwan_verma
Hi @toprak,
I have resolved the issue of the "Deprecated function" and also attached patch,
kindly review and verify,
Here's the PHP warnings when visiting pages containing view-blocks using the similar reference module.
Deprecated function: Creation of dynamic property Drupal\similar_reference\Plugin\views\argument\SimilarReferenceArgument::$column is deprecated in Drupal\similar_reference\Plugin\views\argument\SimilarReferenceArgument->validateArgument() (line 155 of /var/www/html/mg10site/web/modules/contrib/similar_reference/src/Plugin/views/argument/SimilarReferenceArgument.php)
Deprecated function: Creation of dynamic property Drupal\similar_reference\Plugin\views\argument\SimilarReferenceArgument::$reference_ids is deprecated in Drupal\similar_reference\Plugin\views\argument\SimilarReferenceArgument->validateArgument() (line 160 of /var/www/html/mg10site/web/modules/contrib/similar_reference/src/Plugin/views/argument/SimilarReferenceArgument.php)
Is there any solution to fix it?
Needs review
1.0
Code
Hi @toprak,
I have resolved the issue of the "Deprecated function" and also attached patch,
kindly review and verify,