ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

show_pages="no" causes PHP ERROR

October 11, 2010 8:16pm

Subscribe [2]
  • #1 / Oct 11, 2010 8:16pm

    MichaelSimone

    76 posts

    I get the below error whenever I use the show_pages=“no” param in weblog entries tag

    Notice: Undefined index: uris in /home/wincityh/public_html/arp/earp/modules/weblog/mod.weblog.php on line 1535

    Warning: array_flip() [function.array-flip]: The argument should be an array in /home/wincityh/public_html/arp/earp/modules/weblog/mod.weblog.php on line 1535

    Warning: implode() [function.implode]: Invalid arguments passed in /home/wincityh/public_html/arp/earp/modules/weblog/mod.weblog.php on line 1535

    Line 1535 from mod.weblog.php:

    $entry_id = (($TMPL->fetch_param('show_pages') == 'no') ? 'not ' :
     '').implode('|', array_flip($pages['uris']));
  • #2 / Oct 12, 2010 4:18pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Any extensions?

  • #3 / Oct 15, 2010 9:24am

    MichaelSimone

    76 posts

    I have resolved this problem. Please close out this thread.

    Thanks for everyone’s help

    Michael

  • #4 / Oct 15, 2010 9:31am

    Ingmar

    29245 posts

    Very good. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases