Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1600

devicemanager.php:1004 Trying to access array offset on value of type bool 

    Details

    • Type: Bug
    • Status: QA
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.6.2 beta1, 2.6.2
    • Component/s: None
    • Labels:
      None

      Description

      I'm running Debian buster with PHP 7.4 and I'm getting these errors in the log:

       

      devicemanager.php:1004 Trying to access array offset on value of type bool 

       

      I fixed it by changing that line into:

       

      if ((!$currentStatus || $statusflag !== $currentStatus[ASDevice::FOLDERSYNCSTATUS]) && $statusflag != self::FLD_SYNC_COMPLETED) {

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  mschering Merijn Schering
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: