menu

解决Illegal string offset 'data' in 类似错误

  • date_range 03/01/2016 00:00 info
    sort
    Default
    label
    php

<?php
$cell = $data[‘data’];
?>
change to

<?php
      if (!isset($data[‘data’])) {
        continue;
      }
      $cell = $data[‘data’];
?>

编辑