Php-Notice in index. Php-Notice in index.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Php-Notice in index.

Started by Satyr, October 11, 2004, 11:42:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Satyr

I have the following message in the gallery index if debug-mode is enabled:

Notice: Undefined index: cat_thumb in /www/htdocs/gothic/gothicmodels/gallery/themes/gothicmodels/theme.php on line 1046

I have this code there:
                '{CAT_THUMB}' => $category['cat_thumb'],

What can i do?
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

http://www.gothicmodels.net/gothicmodels/gallery/

Testuser: Test23 PW: 123456

Nibbler

Turn off display of notices in debug mode, it is not a significant error.

Joachim Müller

in fact you should only enable debug mode if you actually experience any issues and you know what the error messages actually mean. PHP has three error levels: errors, warnings and notices. Notices usually are only meant for coders to trouble-shoot. You should always leave them off, as the notices probably don't mean anything to you anyway.

Joachim