Watchdog warning "Page not found" triggered by accessing civictheme-alerts endpoint

Created on 29 November 2023, over 1 year ago
Updated 18 March 2024, about 1 year ago

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

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.6

Component

Code

Created by

🇦🇺Australia Toby Wild

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

Comments & Activities

Production build 0.71.5 2024