Warning: mycustom_views_query_alter(): Argument #1 ($view) must be passed by reference, value given in Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}() (line 426 of core/lib/Drupal/Core/Extension/ModuleHandler.php).
Warning: mycustom_views_query_alter(): Argument #2 ($query) must be passed by reference, value given in Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}() (line 426 of core/lib/Drupal/Core/Extension/ModuleHandler.php).
Warning: Undefined property: Drupal\views\ViewExecutable::$name in mycustom_views_query_alter() (line 10 of modules/custom/mycustom/mycustom.module).
Warning: mycustom_views_query_alter(): Argument #1 ($view) must be passed by reference, value given in Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}() (line 426 of core/lib/Drupal/Core/Extension/ModuleHandler.php).
Warning: mycustom_views_query_alter(): Argument #2 ($query) must be passed by reference, value given in Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}() (line 426 of core/lib/Drupal/Core/Extension/ModuleHandler.php).
Warning: Undefined property: Drupal\views\ViewExecutable::$name in mycustom_views_query_alter() (line 10 of modules/custom/mycustom/mycustom.module).
Warning: mycustom_views_query_alter(): Argument #1 ($view) must be passed by reference, value given in Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}() (line 426 of core/lib/Drupal/Core/Extension/ModuleHandler.php).
Warning: mycustom_views_query_alter(): Argument #2 ($query) must be passed by reference, value given in Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}() (line 426 of core/lib/Drupal/Core/Extension/ModuleHandler.php).
Warning: Undefined property: Drupal\views\ViewExecutable::$name in mycustom_views_query_alter() (line 10 of modules/custom/mycustom/mycustom.module).