Questions tagged [deprecation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
15 views

How to duplicate entries and loop them without getting a Twig or deprecation error?

I'm trying to duplicate entries inside a macro, which will displays duplicated items inside a carousel. It's not possible to merge Element Queries. Even if it's possible to merge IDs, merging an ...
1
vote
1answer
49 views

Calling unknown method: craft\models\Section::hasUrls() - Craft 3 upgrade

I am migrating a site from Craft 2 - Craft 3. In my sitemap template I have the following code; {% for section in craft.sections.getAllSections() %} {# We only care about sections that have URLs #} ...
1
vote
1answer
62 views

Deprecation Errors - How to Fix?

We are in development of our new site in Craft 3 and we are getting some deprecation errors. This is keeping us from using Craft Commerce for our ordering page. Any suggestions on how to fix this? ...
1
vote
1answer
30 views

Deprecation Error with No Error

I have a large site that I've finally got all the deprecation errors fixed except for 1. There is no origin. I opened up the stack trace but am unable to find which template the deprecated code is in....