Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

can’t preview or publish changes

  • #5494
    Avatar photo[anonymous]

    i noticed a bug with tags: posts under some tags are not viewable while clicking on a tag, only in the main blog feed. i deleted a tag and created a new one, tried to publish changes and now i get this every time i click PREVIEW CHANGES or PUBLISH:

    Rendering process failed
    An error occurred during rendering process:
    Unexpected token u in JSON at position 0

    how can it be fixed?

    unfortunately, i dont have a backup of my site.

    #5495
    Avatar photo[anonymous]

    Hi,

    Could you check if there are some errors under Tools -> Log Viewer -> rendering-process-error.log ?

    #5509
    Avatar photo[anonymous]

    rendering-process.log says:
    CONFIG: 41.836ms
    TAGS POST COUNT – QUERY: 1.401ms
    TAGS POST COUNT – STORE: 0.015ms
    TAGS – QUERY: 0.291ms
    TAGS – STORE: 2.363ms
    AUTHORS POST COUNT – QUERY: 0.284ms
    AUTHORS POST COUNT – STORE: 0.007ms
    AUTHORS – QUERY: 0.153ms
    AUTHORS – STORE: 0.372ms
    FEATURED IMAGES – QUERY: 0.302ms
    FEATURED IMAGES – STORE: 29.538ms
    POST TAGS – QUERY: 0.293ms
    POST TAGS – STORE: 0.035ms
    POSTS – QUERY: 0.601ms

    and rendering-errors.log is empty

    please excuse me if i say something silly, i’m still new here:)

    #5513
    Avatar photo[anonymous]

    Well, it can be everything.

    Could you go to Tools -> Backups -> create a backup of your website and share it with me in a private reply using Google Drive or Dropbox?

    #5515
    Avatar photo[anonymous]
    This reply has been marked as private.
    #5544
    Avatar photo[anonymous]

    @soulstamina – are you using the newest version of Publii (v.0.38.1)? I am asking because for me your backup is working fine – I can preview your website without any issues.

    #5547
    Avatar photo[anonymous]

    no, i’m using v.0.36.0 (build 12631) Prerelease 3. could you please tell me where i can get this update?

    #5548
    Avatar photo[anonymous]

    oh i found it by myself 🙂 hopefully it’ll work. thank you very much for your help!