PHP fatal error on content_translation UnTranslated.php

Created on 5 July 2024, 5 months ago
Updated 20 September 2024, 2 months ago

Database Update from 10.1 to 10.3 fails with:

 [notice] Update started: views_post_update_pager_heading
> PHP Fatal error:  Access level to Drupal\content_translation\Plugin\views\filter\UnTranslated::operators() must be public (as in class Drupal\views\Plugin\views\filter\BooleanOperator) in /core/modules/content_translation/src/Plugin/views/filter/UnTranslated.php on line 73
>  [warning] Drush command terminated abnormally.

So, in /core/modules/content_translation/src/Plugin/views/filter/UnTranslated.php
we need to change

protected function operators() {

to

public function operators() {
🐛 Bug report
Status

Closed: won't fix

Version

10.3

Component
Content translation 

Last updated about 4 hours ago

No maintainer
Created by

🇩🇪Germany vistree

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

Comments & Activities

Production build 0.71.5 2024