diff --git a/user_guide_src/source/tutorial/create_news_items.rst b/user_guide_src/source/tutorial/create_news_items.rst
index 398444e84c0a..2844906b3ac3 100644
--- a/user_guide_src/source/tutorial/create_news_items.rst
+++ b/user_guide_src/source/tutorial/create_news_items.rst
@@ -24,7 +24,7 @@ the slug from our title in the model. Create the new view at
= esc($title); ?>
- = validation_errors(); ?>
+ = \Config\Services::validation()->listErrors(); ?>
= form_open('news/create'); ?>
@@ -39,7 +39,7 @@ the slug from our title in the model. Create the new view at
There are only two things here that probably look unfamiliar to you: the
-``form_open()`` function and the ``validation_errors()`` function.
+``form_open()`` function and the ``\Config\Services::validation()->listErrors()`` function.
The first function is provided by the :doc:`form
helper <../helpers/form_helper>` and renders the form element and