A
A
Alexey Verkhovtsev2016-12-13 00:08:15
CodeIgniter
Alexey Verkhovtsev, 2016-12-13 00:08:15

Why does a helper error occur in Codeigniter 3?

Hello everyone, I extended the form validation helper, I use it on almost the entire site and sometimes it happens that I go to the page, and I have an error
d7aa12c7b72a4ac8926c8447effd6fa3.png
But as soon as I update the page, that's it, it disappears and everything returns to normal, that's it may be??

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor Golovko, 2016-12-13
@siptik

Because there is no title_ru index. Yet it is written

E
Egor, 2016-12-13
@egormmm

It can be seen title_ru is taken from the session. Check for isset, and if there is no value, then set some default.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question