Multiple issues upgrading to v6 #13856
-
|
Hi there, Yesterday I upgraded my website to v6, and I faced multiple issues. I wonder if I'm doing something wrong, or what. In case you want to look at the code, my site is open source and all the content is there in markdown files: https://github.com/noeldemartin/noeldemartin.com (and you can see all the changes I did during the upgrade in this diff). None of these errors happened in v5, so it has to be related to this update. 1. Critical Issue: Out of Memory with AntlersA bunch of pages in my website are now broken, because I didn't manage to get them working with antlers :/. In particular, when I enable antlers for this blog post I get the following error:
Because of this, I have disabled antlers in my blog posts for now. 2. Medium Issue: Antlers
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
In case somebody else stumbles upon these issues, I got some help in the Discord server so I'm going to mark this as solved. Here's how I worked around them:
|
Beta Was this translation helpful? Give feedback.
-
|
Not sure about the Antlers issue - I'll leave them for someone else.
Do you have the Eloquent Driver installed? If so, which repositories do you have enabled?
Glide uses GD by default, but you can also use ImageMagick or libvips, depending on which extensions are installed on your server. GD/ImageMagick were "required" with Glide in v5 so not sure how this became an issue with the v6 upgrade. Were you running into errors? |
Beta Was this translation helpful? Give feedback.
In case somebody else stumbles upon these issues, I got some help in the Discord server so I'm going to mark this as solved.
Here's how I worked around them:
I simply upgraded the memory limit with
ini_set('memory_limit', '512M')😅. I'm still not sure what changed in v6 that made this happen, but this seems to work for now. I also realized I wasn't using static caching, so I enabled it with the "half" strategy and I don't this should be much of an issue anymore (unless I write even longer blog posts!!).I still have no idea why this happens in some places and not others, or what changed in v6. But I worked around it by urlencoding the
@character in urls, and using the noparse tag els…