Error in update.php after update to 5.0.9

Created on 13 December 2023, 12 months ago
Updated 14 December 2023, 11 months ago

Problem/Motivation

Hi, after update to 5.0.9 I got this error in update.php:

resave_views_to_account_calculated_library_dependencies update Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "billboard" plugin does not exist. Valid plugin IDs for Drupal\charts\ChartManager are: highcharts in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 from /xxxxxxxxxxx/httpd.www/D9/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

I am using Highcharts.

Steps to reproduce

Update Charts from 5.0.8 to 5.0.9

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

5.0

Component

Billboard.js integration

Created by

πŸ‡§πŸ‡ͺBelgium Khoebeke Brakel

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

Comments & Activities

  • Issue created by @Khoebeke
  • πŸ‡ΊπŸ‡ΈUnited States andileco

    Thanks for this alert, @Khoebeke. We may end up creating a patch for this, but in the meantime, here are two approaches to move forward on your site:

    1) THE IDEAL SCENARIO

    • Restore to a backup of your database so Drupal doesn't think you've already run the update.
    • Enable Charts Billboard.js (I think you may have tested it in the past)
    • Run update.php
    • Find the view that was set to use Billboard.js and change it to use Highcharts
    • Uninstall Charts Billboard.js

    2) THE LESS-IDEAL SCENARIO

    • Enable Charts Billboard.js
    • Run update.php
    • If the site thinks it has already run update.php and won't run it again, you'll need to resave all your views; for the view that was using Billboard.js, change it to Highcharts
    • Uninstall Charts Billboard.js

    Please let me know how this goes!

  • πŸ‡§πŸ‡ͺBelgium Khoebeke Brakel

    Hi Andileco!

    You inspired me! You were right that I don't use Billboard.js anymore but there was 1 view that was still set up to use Billboard.js.

    I removed the view itself and I could do update.php without any error :) Thanks a lot for this, and thanks for your great work here!

    Maybe we can make a notice message in the script for when people have this issue? ;)

    Greetings

Production build 0.71.5 2024