Error updating D9.5.11 site from version 8.x-3.6 to 4.0.0

Created on 25 October 2023, about 1 year ago

Problem/Motivation

In anticipation of updating from Drupal 9.5.11 to Drupal 10, I installed version 4.0.0 over an existing v8.x-3.6 instance of @fontyourface where we already had several Google fonts in play.

The 'update' which was run after a composer 'require' seemed to report a successful update and composer show reveals the same:

MyServer [~/dev1]# composer show drupal/fontyourface
name     : drupal/fontyourface
descrip. : Web font management tools.
keywords : Drupal
versions : * 4.0.0
type     : drupal-module
license  : GNU General Public License v2.0 or later (GPL-2.0-or-later) (OSI approved) https://spdx.org/licenses/GPL-2.0-or-later.html#licenseText
homepage : https://www.drupal.org/project/fontyourface
source   : [git] https://git.drupalcode.org/project/fontyourface.git 4.0.0
dist     : [zip] https://ftp.drupal.org/files/projects/fontyourface-4.0.0.zip 4.0.0
path     : /home/Domain/dev1/modules/contrib/fontyourface
names    : drupal/fontyourface

support
source : https://git.drupalcode.org/project/fontyourface
issues : https://drupal.org/project/issues/fontyourface

requires
drupal/core ^9.4 || ^10.0

The problem however is when I check the Available updates page and the module in Extensions, it still shows @font-your-face 8.x-3.6

When I check the settings for the module: (/admin/appearance/font/settings)
Everything looks OK
/admin/appearance/font/font_display also appears to be OK showing the selected fonts and their settings
BUT in /admin/appearance/font, When I check the settings for the module: (/admin/appearance/font/settings)
Everything looks OK
/admin/appearance/font/font_display
Also OK showing the selected fonts and their settings BUT in /admin/appearance/font Instead of showing the font selections, is now throwing an error!

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "none" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->getDefinition() (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance() (Line: 816)
Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin() (Line: 1421)
Drupal\views\ViewExecutable->execute() (Line: 1459)
Drupal\views\ViewExecutable->render() (Line: 199)
Drupal\views\Plugin\views\display\Page->execute() (Line: 1635)
Drupal\views\ViewExecutable->executeDisplay() (Line: 81)
Drupal\views\Element\View::preRenderViewElement()
call_user_func_array() (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 788)
Drupal\Core\Render\Renderer->doCallback() (Line: 374)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 718)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Note: all of the files in modules/fontyourface are dated 3/9/2021

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

Code (general)

Created by

🇺🇸United States bas123

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

Comments & Activities

  • Issue created by @bas123
  • 🇮🇳India mukhtarm

    Hi @bas123 i was able to successfully update from 3.x-dev@dev to 4.0 without any issue. I guess if it is throwing error from the plugin, it should be from the view filter. As i couldn't add any fonts (which needs the API key). without its working fine.
    One way you can try i think: before update , remove all the fonts added and add it again after update.

Production build 0.71.5 2024