Issue on Drupal 9.5.9 to Drupal 10.4.0

Created on 30 December 2024, about 2 months ago

The error will come when you will upgrade from Drupal 9.5.9 to Drupal 10.4.0

Upgrade and you will see the error

Fatal error: Access level to Drupal\publishing_options\Plugin\views\filter\PublishingOptionsFilters::operators() must be public (as in class Drupal\views\Plugin\views\filter\BooleanOperator) /web/modules/contrib/pub_options/src/Plugin/views/filter/PublishingOptionsFilters.php on line 51

Changed code in publishing options and update the line
In file
web/modules/contrib/pub_options/src/Plugin/views/filter/PublishingOptionsFilters.php
protected function operators() {
To
public function operators() {

Need to add a patch

Error will solve

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡°Pakistan figover

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024