Join GitHub today
Error calling Parent Resources after saving in server mode with 0.55 #5833
To narrow it down: I have a shortcode
When I start the server mode, everything works fine. If I edit and save the content file which calls this shortcode I get the error:
error: invalid memory address or nil pointer dereference
After restarting server mode, it works fine until I save. Also, if I save another file while not exiting the server mode, it rebuilds without throwing an error.
I am running 0.55.0 extended version on windows 10.
the original repo is on a self-hosted university gitlab. So I just made a copy and removed all the unnecessary files. I send you an invite.
I started a new site from scratch and couldn't reproduce the error either. So maybe it is related to multilangual issues or something. shortcode name is
How to reproduce with the shared repo:
Thanks for having a look at this.
Alright. I tried to pin the error down. Here is a link to a very simplified repo. What I figured out was, that it is not totally related to the
Reproduction of the error is the same as two posts above, only now my test page is called test.md. If I only have two output formats, it works, if there is more (I tried cutom made redirects and sitemap) the error shows. If I use either html and rss or html and redirects, it works fine.
If I use all three and provide a rss template (which I copied from the docs) but remove
I hope this provides enough information to tackle the issue