Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning #536

Open
TheFunkyMonk opened this issue Nov 12, 2024 · 1 comment
Open

Deprecation warning #536

TheFunkyMonk opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@TheFunkyMonk
Copy link

Description

I'm seeing a deprecation warning in the CP:

The _elements/element.twig template and cp.elements.element template hook are deprecated. The elementChip() function should be used instead.

I believe it's coming from this plugin, here's the stack trace leading up to it:

26 	Deprecation error: The _elements/element.twig template and cp.elements.element template hook are deprecated. The elementChip() function should be used instead.
Called from /var/www/html/vendor/craftcms/cms/src/web/View.php:2365
25 	craft\web\View::_elementChipHtml(["changed" => "1", "dueDate" => "", "elements" => [craft\elements\Entry, craft\elements\Entry], "programId" => "null", ...], false)
Called from /var/www/html/vendor/craftcms/cms/src/web/View.php:1900
24 	craft\web\View::invokeHook("cp.elements.element", ["changed" => "1", "dueDate" => "", "elements" => [craft\elements\Entry, craft\elements\Entry], "programId" => "null", ...])
Called from /var/www/html/vendor/craftcms/cms/src/templates/_elements/element.twig:1
23 	__TwigTemplate_4314697461afb46a15519a9546636c90::doDisplay(["changed" => "1", "dueDate" => "", "elements" => [craft\elements\Entry, craft\elements\Entry], "programId" => "null", ...], [])
Called from /var/www/html/vendor/twig/twig/src/Template.php:393
22 	__TwigTemplate_4314697461afb46a15519a9546636c90::yield(["changed" => "1", "dueDate" => "", "elements" => [craft\elements\Entry, craft\elements\Entry], "programId" => "null", ...])
Called from /var/www/html/vendor/acclaro/translations/src/templates/_components/orders/info-tab.twig:79

Additional Information

Craft CMS version: 5.4.10
Translations version: 4.0.0

@sidedwards
Copy link
Collaborator

Thanks for the report, we'll take a look 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants