RouteObjectInterface not found in new install

Created on 16 April 2023, over 1 year ago
Updated 16 August 2024, 3 months ago

Problem/Motivation

After installing January in a relatively clean, new install of 10.0.7, the site was not visible. Here's the error:

Error: Class "Symfony\Cmf\Component\Routing\RouteObjectInterface" not found in january_preprocess_block() (line 176 of /var/www/html/ed/web/themes/contrib/january_theme/january.theme).

And the analysis from OpenAI shows:

This error means that the Symfony CMF Component Routing RouteObjectInterface class is not found in the january_preprocess_block() function. To fix this error, you need to make sure that the Symfony CMF Component Routing RouteObjectInterface class is included in the january_preprocess_block() function. You can do this by adding the following line of code to the january_preprocess_block() function: use Symfony\Cmf\Component\Routing\RouteObjectInterface;
🐛 Bug report
Status

Needs review

Version

1.0

Component

Documentation

Created by

🇺🇸United States bogdog400

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

Comments & Activities

Production build 0.71.5 2024