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 errors in the CP: Undefined index: field_id_17

April 25, 2012 4:19pm

Subscribe [4]
  • #1 / Apr 25, 2012 4:19pm

    e-man

    1816 posts

    I get the following php errors in the CP:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 145
    " id="hold_field_
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 145
    " style="width: 100%; display: none;">
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 151
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 152
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 157
    " >
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 159
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 166
    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined index: field_id_17
    
    Filename: content/publish.php
    
    Line Number: 171

    I believe field_17 was a hidden field in this entry form, it’s been deleted now so pretty unsure how to solve this. Checking the DB shows indeed no field with id = 17.
    Any quick fix for this? I have to demo this CP with a client tomorrow ;(

  • #2 / Apr 25, 2012 7:00pm

    Natetronn

    161 posts

    For anyone else who may stumble upon this:

    This is caused by issues with Publish Layouts and resetting them should fix this. It did for e-man in this case anyway.

    Ellislab, can we expect PL to be fixed in 2.6, it’s a great feature & idea and I know many would like to see them fixed once and for all, sooner than later?

  • #3 / Apr 25, 2012 7:28pm

    e-man

    1816 posts

    As Nate already stated resetting the PL did solve it.
    It did mean however redoing a fairly long entry form - I can only join Nate in wishing that this (really awesome!) feature gets more stable in upcoming versions.

  • #4 / Apr 26, 2012 1:04pm

    Shane Eckert

    7174 posts

    Hi All,

    I am sorry you guys ran into this. No fun.

    The Devs are aware of this. I am not privy to their scheming for world domination, but I believe this is on their radar. That’s all I know.

    I will of course bring this thread up in the next Dev standup.

    Have a great week guys.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases