Fatal error: Uncaught Error: Call to undefined function env() in /home/mainwebsite/public_html/vendor/yajra/laravel-datatables-export/src/config/datatables-export.php:59
Stack trace:
#0 {main}
thrown in /home/mainwebsite/public_html/vendor/yajra/laravel-datatables-export/src/config/datatables-export.php on line 59