Jump to content

Problema PHP notice undefined offset


RiNTH

Recommended Posts

Salut, primesc urmatoarele erori la panel-ul RPG pe care incerc sa-l folosesc:

Notice: Undefined offset: 29 in C:\xampp\htdocs\inc\pages\profile.p.php on line 430
Notice: Undefined offset: 29 in C:\xampp\htdocs\inc\pages\profile.p.php on line 449

Iata si o imagine cu linia 430 din fisierul mentionat:

kq19rRn.png

Link to comment
Share on other sites

  • Moderators

Is doar erori tip Notice, nu e mare problema. Cauta prin toate fisierele urmatoarea functie de la PHP:

error_reporting

Probabil va fi ceva de genu in cazu asta:

error_reporting(E_ALL);

Daca e asa, modifica cu:

error_reporting(E_ALL ^ E_NOTICE);

Si daca nu exista niciunde functia, adauga functia de deasupra intr-un fisier care sa fie inclus in toate fisiere, ceva tip config.php.

  • Upvote 1

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.