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 error on publish/save

June 15, 2012 8:31am

Subscribe [4]
  • #1 / Jun 15, 2012 8:31am

    Austin Siewert

    129 posts

    Hi,

    I just encountered this problem when publishing an entry or updating. It only seems to happen on certain channels:

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined offset: 0
    Filename: structure/tab.structure.php
    Line Number: 317
    
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /../system/codeigniter/system/core/Exceptions.php:170)
    Filename: libraries/Functions.php
    Line Number: 806
    
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /../system/codeigniter/system/core/Exceptions.php:170)
    Filename: libraries/Functions.php
    Line Number: 402
  • #2 / Jun 15, 2012 4:15pm

    jonathanmelville

    132 posts

    Are you running the most updated version of Structure?

  • #3 / Jun 15, 2012 4:17pm

    Shane Eckert

    7174 posts

    Hey Austin Siewert,

    Thank you for posting your question here on the ExpressionEngine forums.

    Same question from me. Have you updated your Add-Ons and did you update ExpressionEngine recently?

    Cheers,

  • #4 / Jun 19, 2012 3:13pm

    Hi Everyone,

    Stumbled across this thread looking for a solution, then found the solution and returned to report back.

    Here it is from the horse’s mouth:

    https://structure.tenderapp.com/discussions/problems/1810-error-when-setting-listing-channel

    Basically, this happens when a channel is assigned the role of “listings” and is being published to without those listings being assigned to a page parent. So, you have to have a page already in structure to serve as the parent/splash, go into the structure tab on that page, and select the “listings channel” you’re publishing to right now, getting the error, and the error will go away.

    I hope this helps! It stumped me too. Wouldn’t it be easier to have a warning instead of php erros. ha!

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

ExpressionEngine News!

#eecms, #events, #releases