Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / views / src / Plugin / views / style / Opml.php
index 016405e4c151e6e538df5958afa46aca7eb83ae5..02b1e3d90e8469de2c015d15937ca47f12c19bf8 100644 (file)
@@ -56,8 +56,8 @@ class Opml extends StylePluginBase {
    */
   public function render() {
     if (empty($this->view->rowPlugin)) {
-      debug('Drupal\views\Plugin\views\style\Opml: Missing row plugin');
-      return;
+      trigger_error('Drupal\views\Plugin\views\style\Opml: Missing row plugin', E_WARNING);
+      return [];
     }
     $rows = [];