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.35k stars 419 forks source link

[Bug]: Error when save pages in 0.46.0 #1611

Open raytions opened 3 months ago

raytions commented 3 months ago

Operating system

Windows 10

Publii version

0.46.0

Post editor

Block editor

Bug description

I just tried to use new version of publii and create a pages with multiple line of hello world.

After click save button and error shows:

image

i have not add any feature image as error shows, and it still there after i added it.

Steps to reproduce

No response

Relevant log output

seems not relevant to but logs shows here

marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install  https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.
marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.
bobmitro commented 3 months ago

@Cineray This is a strange case, but we’ve made a slight improvement that might resolve it. Please install the new version, build 16890, and let us know if it helps.

EyeOfTheShepherd commented 1 week ago

Also, getting a rendering-deployment-errors.log message and failed sync to Git:

marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.
marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.
marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install  https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.

Any known fix for this?