I’ve had farmos running in the past and have quite a bit of data in it. Something happened over the course of a few updates and now it’s not working. Now that it’s spring and calves are coming, I need to get it working again.
I first noticed I was getting the Access denied problem. When I added the /user to the URL and logged in, I saw this message:
The website encountered an unexpected error. Try again later.
On the console, I saw this error:
[Fri Mar 15 14:16:58.131592 2024] [php:notice] [pid 21] [client 192.168.254.119:55149] Uncaught PHP Exception TypeError: "Drupal\\Core\\Render\\Renderer::doRenderPlaceholder(): Return value must be of type Drupal\\Component\\Render\\MarkupInterface|string, null returned" at /opt/drupal/web/core/lib/Drupal/Core/Render/Renderer.php line 184
This is with a docker install. My compose looks like this:
version: "3"
services:
www:
# Update this to the latest stable version before deploying.
# image: farmos/farmos:latest
image: farmos/farmos:3.x
volumes:
- ./sites:/opt/drupal/web/sites
- ./modules:/opt/drupal/web/modules/farmos
ports:
- 480:80
restart: always
networks: {}
Modules in the modules directory:
farm_asset_termination
farm_eggs
farm_ledger
farm_nrcs
farm_profile
farm_project_plan
farm_weather
smtp
Suspecting a plugin in that plugin directory, I tried to delete them one at a time using the drush command. Now I’m stuck with this error:
[Fri Mar 15 16:00:56.255328 2024] [php:notice] [pid 19] [client 192.168.254.119:62316] Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "d7_farm_log" plugin does not exist. Valid plugin IDs for Drupal\\migrate\\Plugin\\MigrateSourcePluginManager are: csv_file, embedded_data, empty, url, table, csv" at /opt/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53, referer: http://192.168.254.208:480/user/login
I need help knowing where to look, or where to go. The database is sqlite3.