-1

I have tried everything for resolving this issue but nothing worked.

php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan config:clear

Also Updated my Dependencies

composer dump-auto -a
composer update

But Nothing of these things have helped me

Please respond some asap.

Abdul Rehman
  • 142
  • 1
  • 12

2 Answers2

0

The Issue was that there was a Closing Anchor Tag, that was making the issue because while generating the Excel there must be no extra things or missing only Pure HTML table works for excel file generation nothing else

Abdul Rehman
  • 142
  • 1
  • 12
0

My issue was caused by an ampersand character, I had to change it to &

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Amit Kumar PRO Dec 20 '21 at 18:53