I updated core from 8.3.1 to 8.3.2 and could only access the front page after that. Drush watchdog-show returned:
505 05/May 15:56 php error Drupal\Component\Plugin\Exception\InvalidDeriverException: Plugin
(system.theme_settings_theme) deriver
"Drupal\system\Plugin\Derivative\ThemeLocalTask" does not exist. in
Drupal\Component
I can't figure this one out and am now in the process of reverting to 8.3.1, which itself was a bear to get going due to the layout / bootstrap_layouts / DS installations I had set up. I see a few similar issues while searching, but I don't know if they're caused by the same base problem.
PHP: 7.0.18
Memory limit: 128M
MySQL, MariaDB, Percona Server, or equilivant
Apache Web server
Contrib Modules:
Admin Toolbar
Admin Toolbar Extra Tools
Bootstrap Lib
(Core Layout Discovery module is enabled)
Bootstrap Layouts
Display Suite
Display Suite Extras
Display Suite View Mode
Layout Plugin is still there, but not installed
dropzonejs
Colorbox
Entity Browser
Juicebox
Paragraphs
Backup & Migrate
Pathauto
Block Class
Token
Libraries
Search API
Database Search
Metatag
Views in use
Views Reference Field
Datetime
Entity Reference Revisions
Chaos tools enabled
Chaos tools blocks enabled
Chaos tools Views enabled
Comments
Comment #2
cilefen commentedComment #3
cilefen commentedSome of the exception message is cut off in the issue summary. Can you obtain the entire message please?
Comment #4
muranod commentedFortunately, it was still in the logs after reverting to 3.2.1:
Drupal\Component\Plugin\Exception\InvalidDeriverException: Plugin (system.theme_settings_theme) deriver "Drupal\system\Plugin\Derivative\ThemeLocalTask" does not exist. in Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDeriverClass() (line 218 of /home/directoryname/public_html/d8/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php).
Sorry for miscategorizing the items when I posted.
Comment #5
cilefen commentedThe error is in reference to a local task link. It is defined in core/modules/system/system.links.task.yml:
DerivativeDiscoveryDecorator calls class_exists() on 'Drupal\system\Plugin\Derivative\ThemeLocalTask' on about line 218 and it is not found.
That is just a study of the symptoms. Did you have any trouble upgrading? And if you don't mind me asking—what upgrade procedure did you follow?
Comment #6
muranod commentedIt was a manual upgrade using FTP. (same way I upgraded from 2.2.8 or .9 to 3.2.1. didn't see any issues with the FTP operation, other than it took a long time due to the number of files.
I thought it odd that I could access the homepage (front), which was created by views, but not the sections (also created by views) or even via direct links to the content without the "website encountered an unexpected error" message.
I could try the update again using drush, but since I don't know if that would work, I thought I'd search for the cause before committing that much time again.
Comment #7
cilefen commentedCould you get into a little more detail about what you did to upgrade. Did you delete core/ and vendor/ before adding files?
Comment #8
muranod commented@cilefen Yes, I deleted Core and Vendor directories and all the root files except .htaccess, robots.txt and composer.json
Comment #9
cilefen commentedWas core/modules/system/src/Plugin/Derivative/ThemeLocalTask.php missing from the files you uploaded?
Comment #10
muranod commentedIt's in my local hd folder that I uploaded w/ FileZilla, but there is no log file I can check.
I will wait a bit and try it on my local installation this week and see if I get the same result. Also, time to see if others are having the same issue. Can't help but wondering if it's related to the new vs old layout module w/ DS, but only wondering that because of the issues I had with the prior upgrade.
Comment #11
muranod commentedDon't know if this is relevant, but I looked through the text file of the last backup I made of the working 8.3.1 site before upgrading and there are repeated references to the layout_plugin module "not found"
example: /d8/modules/layout_plugin/layout_plugin.module): failed to open stream: No such file or directory";}
That module is still there, but was uninstalled by Display Suite.
I don't know if that's at all related to the issue. I don't see any other errors in the saved database, nor in the logs.
Comment #16
quietone commentedDoing triage for the Bug Smash Initiative.
@muranod, did you resolve this? From the last comment it seems that a module was not installed? If you are no longer having this issue, please close this issue and if possible, leave a comment describing how you fixed it, as it may help others with the same issue.
Thanks!
Comment #17
muranod commentedI don't remember how I got around this. I quit updating that site and and redeveloping it locally with Composer and Drupal v9. I apologize for not coming back and closing this issue, which was persistent at the time.
Comment #18
cilefen commented