Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Exporting answers to surveys in any format fails #1015

Open
storca opened this issue Jan 29, 2022 · 1 comment · May be fixed by #1017
Open

[BUG] Exporting answers to surveys in any format fails #1015

storca opened this issue Jan 29, 2022 · 1 comment · May be fixed by #1017
Labels
bug Features or code that is not working correctly

Comments

@storca
Copy link
Contributor

storca commented Jan 29, 2022

Describe the bug
When answers to surveys are exported, I get the Laravel error handler "We'll be back soon, We're currently making improvements to our website."

To Reproduce
Steps to reproduce the behavior:

  1. Go to Surveys
  2. Click on Export Answers
  3. Select any of the exportation means

Expected behavior
Answers data export should work

Environment the bug happens in (Desktop, Mobile, CLI) (please complete the following information):

  • OS: Ubuntu
  • Browser Firefox

Version of Attendize you are using

  • Master branch, fresh install, no modifications made to any of the files or database

Where you are running Attendize

  • Shared Webhost

What version or Operating System are you using on the above server

  • Linux node.o2switch.net 4.18.0-348.lve.el7h.x86_64 SMP Sun Nov 21 14:20:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

What version of PHP you are using on the above server

  • 7.4.27

What web server are you using Attendize with

  • Apache I think

Additional context
For what I understood, the problem seems to be a Laravel-related bug, but I need confirmation from you guys regarding Attendize and what's the best way to solve it.

The problem is that the method Excel::create() is no longer supported, I don't know what's the best way to fix this.

Here is an extract of the log :

[2022-01-29 09:24:47] production.ERROR: Call to undefined method Maatwebsite\Excel\Excel::create() {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0):Call to undefined method Maatwebsite\\Excel\\Excel::create() at /home/user/attendize/prod/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261)
@storca storca added the bug Features or code that is not working correctly label Jan 29, 2022
@p-sims
Copy link

p-sims commented Sep 4, 2023

I can confirm this is still present in v1.8.0 but hopefully the pull request can resolve this. I'm happy to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Features or code that is not working correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants