Bug #23281 Bug Fixed

error message appears when i filter channels under “Create New” button in Pages module

Version: 3.5.12 Reporter: chunkitchris

In Pages module, when i create new, a box appeared and lists out all the channels i have. On top of it, there is a “Filter Channel” bar and then i type some letters (for example, speakers) and then hit enter. Some error messages appeared:


Notice

Undefined index: selection

ee/EllisLab/Addons/pages/mcp.pages.php, line 259 show details

Severity: E_NOTICE Warning

Invalid argument supplied for foreach()

ee/EllisLab/Addons/pages/mcp.pages.php, line 259 show details

Severity: E_WARNING Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:119)

ee/legacy/core/Input.php, line 249 show details

Severity: E_WARNING Warning

Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:119)

ee/legacy/libraries/Functions.php, line 440 show details

Severity: E_WARNING

  • Thanks for the report chunkitchris, this is fixed for the next release. That filter doesn’t belong there, and the intended purpose was a little confusing, e.g. Filtering the menu? Filtering the listing? Typing the channel name and creating a new entry when hitting enter? So I’ve removed it in v3.

    Derek Jones
    29th November, 2017 at 2:30pm
  • Thanks Derek. Also it seems that setting up a default channel has no use at all when i create a new Page. It still displays all the channels in a pop-up box.

    Here is the description from the user guide: The default Channel to use when the “Create New Page” button is clicked.

    chunkitchris
    29th November, 2017 at 2:43pm
  • Ah yes, good catch. That setting was only relevant in the v2 control panel UI since the publish page had an interstitial to let you select which Channel. Since that interstitial doesn’t exist anymore, you do need to select the channel when navigating to the publish form. I shall remove it as well!

    Derek Jones
    29th November, 2017 at 2:51pm
  • Actually James tells me that there will be UI coming in v4 that will support both the search filter and a default new, so the setting will stay for the time being, but will not add any value until that UI ships in v4.

    Derek Jones
    29th November, 2017 at 2:58pm

You must be signed in to comment on a bug report.

ExpressionEngine News

#eecms, #events, #releases