The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Undefined Variable
#6
Hello,

I started using GetSimple CMS as of yesterday and really like it, so far. However, when building my own menu via the menu_data() function I got the same error mentioned in the opening post.

When I looked for a solution I looked at the line specified by the PHP error output and saw that all I had to do was to change $slugs into $slug to make the function not return any erros but the slugs instead :-)

I don't know if that is all there is to it but it works for me and you might want to fix that bug (if it is one) in your next release.

Thanks for an awesome piece of software,
Jan
Reply


Messages In This Thread
Undefined Variable - by daniele.polencic - 2010-02-04, 03:55:42
Undefined Variable - by ccagle8 - 2010-02-04, 10:49:50
Undefined Variable - by daniele.polencic - 2010-02-04, 19:26:39
Undefined Variable - by daniele.polencic - 2010-02-07, 04:20:23
Undefined Variable - by ccagle8 - 2010-02-07, 04:43:09
Undefined Variable - by colmag - 2010-08-16, 23:55:35
Undefined Variable - by Zegnåt - 2010-08-18, 02:42:33



Users browsing this thread: 1 Guest(s)