Editor 1.6.1: "System Error" on Delete

Editor 1.6.1: "System Error" on Delete

mickser.demickser.de Posts: 1Questions: 1Answers: 0

Severity: Notice

Message: Undefined variable: ids

Filename: Editor/Join.php

Line Number: 692

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Hi,

    Thanks for flagging this up. Yes, that's a bug there. Its actually been fixed in the source already, but not yet made it to the release version - it will be in 1.6.2 later this month.

    In the mean time, this is the change required on the line before to fix that:

    -               ->where_group( function ( $q ) use ( $that ) {
    +               ->where_group( function ( $q ) use ( $that, $ids ) {
    

    Allan

This discussion has been closed.