I am getting this error message for the following code for “Add a custom link” in page_load by List"Warning: Attempt to read property “Visible” on null in C:\xampp\htdocs\protokoll\src\ListOptions.php on line 377 My Link"
function Page_Load() {
$this->ExportOptions->add("MyName")->setBody("<a class='my-class' href='MyURL'>My Link</a>");
}