T
T
Timur1632019-03-28 10:00:51
opencart
Timur163, 2019-03-28 10:00:51

Throws error when changing carousel in opencart?

When changing the slideshow, it gives me an error

Notice: Undefined index: effect in C:\Users\YotaChapaevsk\Desktop\server\OSPanel\domains\localhost\admin\model\plaza\slider.php on line 56Warning: Cannot modify header information - headers already sent by (output started at C:\Users\YotaChapaevsk\Desktop\server\OSPanel\domains\localhost\admin\controller\startup\error.php:34) in C:\Users\YotaChapaevsk\Desktop\server\OSPanel\domains\localhost\system\library \response.php on line 36

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis, 2019-03-28
@Timur163

This is a normal situation for openearth. First,
get into the code where it indicates an error and above foreach put a check to loop if the array

I
irishmann, 2019-03-28
@irishmann

Headers are being sent after the page is rendered. That is, some character was already sent to the user, and then the headers went (functions header(), session_start(), setcookie(), etc.). Perhaps the matter is in the encoding, try to translate into "UTF-8 without BOM", you can do it in notepad ++.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question