Press "Enter" to skip to content

Przypominanie hasła i pojawiające się błędy Notice: Undefined index: notifications

Admin 0

Jeśli natrafiłeś/aś na błąd na stronie przypominania hasła typu:

Notice: Undefined index: notifications in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 27

Notice: Trying to get property 'value' of non-object in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 27

Notice: Undefined index: notifications in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 45

Notice: Trying to get property 'value' of non-object in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 45

Notice: Undefined index: notifications in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 63

Notice: Trying to get property 'value' of non-object in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 63

Notice: Undefined index: notifications in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 81

Notice: Trying to get property 'value' of non-object in /home/sklep/public_html/var/cache/prod/smarty/compile/jms_yankalayouts_layout_full_width_tpl/6e/74/c9/6e74c9268713381f7298d4d2a8218e21676a1872_2.file.notifications.tpl.php on line 81

Jest on stosunkowo łatwy do naprawy.

Otwórz plik:

themes/{twój-szablon}/templates/_partials/notifications.tpl

Następnie na początku tego pliku wstaw kod:

{if isset($notifications)}

a na końcu:

{/if}

Po wyczyszczeniu cache w dziale „Wydajność” błędy powinny zniknąć.

grafika: pexels.com

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *

Witryna wykorzystuje Akismet, aby ograniczyć spam. Dowiedz się więcej jak przetwarzane są dane komentarzy.

Zobacz także !
Sposób na nudną zaślepkę o blokadzie sklepu - zamiast tego…