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.

PHP notices/warnings after updating entry

July 20, 2010 1:23pm

Subscribe [2]
  • #1 / Jul 20, 2010 1:23pm

    Douglas Back

    19 posts

    Hi there,

    I’ve been running into a strange issue on my development server. When I update certain entries that have Page URIs set, attempting to refresh the page in a browser to see the changes gives me this set of warnings:

    FYI, I’m running 1.6.9 Build 20100430.

    Notice: Undefined index: uris in /FILEPATH/system/modules/weblog/mod.weblog.php on line 1537
    
    Warning: array_flip() expects parameter 1 to be array, null given in /FILEPATH/system/modules/weblog/mod.weblog.php on line 1537
    
    Warning: implode() [function.implode]: Invalid arguments passed in /FILEPATH/system/modules/weblog/mod.weblog.php on line 1537

    (FILEPATH replaces the directory path to my EE install)

    If I refresh the page, the warnings go away. (I have caching turned on, which is what I’m assuming causes this part — if I clear caches or update the entry again, the warnings comes back)

    I’ve tried disabling extensions, and the issue persists. That said, here’s a list of the extensions I’m running:

    Clone Entries
    jQuery for the CP
    FieldFrame
    Last_segment
    SL Field Formatting

    I had been removing index.php with the File and Directory Check method from the wiki, but if I remove those lines from .htaccess, the issue persists.

    Other instances of warnings like this from the forums seem to be related to add-ons, but even after disabling all but a barebones set of plugins (ee_typography, smartypants, markdown), and disabling all extensions, the issue persists on my dev server.

  • #2 / Jul 20, 2010 8:09pm

    Brandon Jones

    5500 posts

    Douglas, was this an upgrade or a clean install of 1.6.9? Does this occur with a newly created Page?

  • #3 / Jul 21, 2010 11:26am

    Douglas Back

    19 posts

    Hi Brandon,

    I figured this one out. The issue wasn’t happening this morning and I traced it back to a modified exp:weblog:entries parameter that I changed yesterday because the tag pair wasn’t producing any output (I was doin’ it wrong).

    Anyway, with the new tag parameters in my template, the PHP warnings are no longer popping up.

    Thanks for your quick reply, though.

  • #4 / Jul 21, 2010 7:40pm

    Brandon Jones

    5500 posts

    Thanks for the update, Douglas. Glad you found the issue.

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

ExpressionEngine News!

#eecms, #events, #releases