Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293485

PHP fatal error on content_translation UnTranslated.php

$
0
0

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() {

Viewing all articles
Browse latest Browse all 293485

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>