Problem/Motivation

A watchdog error is logged for "Page not found" for every page load, as one of the main page container div's is being given a data attribute for an API endpoint that doesn't exist.

<div class="ct-page ct-theme-light " data-component-name="ct-alerts" data-alert-endpoint="/api/civictheme-alerts?_format=json" data-ct-alerts="true">

Steps to reproduce

- Install D10
- Install CivicTheme
- Enable Watchdog
- Load the homepage
- View the watchdog log

Comments

Toby Wild created an issue. See original summary.

toby wild’s picture

Fixing attribution on original issue.

johanf’s picture

Hi

i noticed after insallation that 2 views are not created.

civictheme_alerts & civictheme_automated_list

if i copy/paste the configuration from config/install directory ( views.view.civictheme_alerts.yml and views.view.civictheme_automated_list.yml ) using admin/config/development/configuration/single/import ( view as configuration_type ) , the message disappear

fionamorrison23’s picture

Assigned: Unassigned » joshua1234511
fionamorrison23’s picture

Issue tags: +civictheme-release-1.7
alex.skrypnyk’s picture

Title: Page not found error after installing » Watchdog warning "Page not found" triggered by accessing civictheme-alerts endpoint
joshua1234511’s picture

@alexskrypnyk

Not sure if an issue. Related to https://www.drupal.org/project/civictheme/issues/3401376

Steps to reproduce
- Install D10
- Download via composer/ or manual
- Enabled all dependencies

- Clear Cache (Skipping this steps results in Break in the install)

- Install CivicTheme
- Enable Watchdog
- Load the homepage
- View the watchdog log

Results
- With out Clear Cache
- Results in Some pending installations, ex, views & webforms.
Error

- With Clear Cache after theme downloaded
- Installation Completed properly.
- All views installed with no errors.
Success
Success

fionamorrison23’s picture

fionamorrison23’s picture

Status: Active » Closed (duplicate)
Issue tags: -civictheme-release-1.7
alex.skrypnyk’s picture

Just want to add: this is not a duplicate of https://www.drupal.org/project/civictheme/issues/3404792 but caused by unfinished installation described in that issue.

alex.skrypnyk’s picture

alex.skrypnyk’s picture

Status: Closed (duplicate) » Closed (cannot reproduce)

Correcting the closing status.
This issue was caused by unfinished installation of CivicTheme.