GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Bug]: Rendering process failed An error occurred during rendering process: "undefined" is not valid JSON #1426

Closed EsaJuntunen closed 3 months ago

EsaJuntunen commented 3 months ago

Operating system

Windows 11

Publii version

0.45.1 (Build 16608)

Post editor

None

Bug description

Getting error: Rendering process failed An error occurred during rendering process:

"undefined" is not valid JSON

Steps to reproduce

Preview or Publish the site

Relevant log output

Rendering-errors.log: The log file is empty...
Rendering-process.log:
CONFIG: 31.383ms
FEATURED TAG IMAGES - QUERY: 0.581ms
FEATURED TAG IMAGES - STORE: 0.07ms
TAGS POST COUNT - QUERY: 0.882ms
TAGS POST COUNT - STORE: 0.017ms
MAINTAGS - QUERY: 0.329ms
TAGS - QUERY: 0.176ms
TAGS - STORE: 3.724ms
FEATURED AUTHOR IMAGES - QUERY: 0.161ms
FEATURED AUTHOR IMAGES - STORE: 0.006ms
AUTHORS POST COUNT - QUERY: 0.184ms
AUTHORS POST COUNT - STORE: 0.015ms
AUTHORS - QUERY: 0.118ms
AUTHORS - STORE: 2.263ms
FEATURED POST IMAGES - QUERY: 0.424ms
FEATURED POST IMAGES - STORE: 23.347ms
POST TAGS - QUERY: 0.262ms
POST TAGS - STORE: 0.067ms
POSTS - QUERY: 0.663ms
(i) Non-existing link: posts (74)
(i) Non-existing link: posts (93)
(i) Non-existing link: posts (142)
(i) Non-existing link: posts (72)
(i) Non-existing link: posts (72)
(i) Non-existing link: posts (128)
(i) Non-existing link: posts (72)
(i) Non-existing link: posts (72)
(i) Non-existing link: posts (72)
(i) Non-existing link: posts (72)
(i) Non-existing link: posts (72)
POSTS - STORE: 53.678ms
CONTENT DATA: 97.458ms
dziudek commented 3 months ago

Hi,

It is most probably related to non-existing main tags - we will fix it in v.0.45.2 in few hours

bobmitro commented 3 months ago

FYI: Publii v.0.45.2 released and ready for download.

EsaJuntunen commented 3 months ago

Tested and issue resolved. Thanks for your great support. Well done.

EsaJuntunen commented 3 months ago

Tested and issue resolved. Closing.