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

Undefined variable: SQL at controller/categorycontroller.php #187

Closed
ghost opened this issue May 18, 2017 · 2 comments
Closed

Undefined variable: SQL at controller/categorycontroller.php #187

ghost opened this issue May 18, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@ghost
Copy link

ghost commented May 18, 2017

Currently I see several undefined variable-error reports in my next cloud logs when activating the audioplayer app.

Steps to reproduce the behavior

  1. Activate audioplayer
  2. Check logs

Server configuration

Operating system:
Ubuntu 16.04 LTS

Web server:
Apache2

Database:
MySQL-5.7.18

PHP version:
PHP-7.0.15

Nextcloud version:
Nextcloud v11.0.3

Updated from an older Nextcloud or fresh install:
Fresh install

Audio Player version:
1.5.1

Where did you install Audio Player from:
Nextcloud menu

Are you using encryption: yes/no
yes

Logs

Nextcloud log

Error PHP Undefined variable: SQL at /var/www/html/nextcloud.*.de/apps/audioplayer/controller/categorycontroller.php#124
@Rello
Copy link
Owner

Rello commented May 18, 2017

Hello,
thank you for the report.
I found the section causing this. But this should only occur once after a clean install.
can you please navigate to one of the categories in the drop down and confirm that the log is not showing up anymore?

thank you

@Rello Rello added the bug label May 18, 2017
@Rello Rello self-assigned this May 18, 2017
@ghost
Copy link
Author

ghost commented May 18, 2017

Yes it does happen only once whenever the app gets activated so if I turn it off and on again I will see it in the log again.

Rello added a commit that referenced this issue May 18, 2017
@Rello Rello added this to the 1.6.0 milestone May 18, 2017
@ghost ghost changed the title Undefined variable: SQL at controller/categorycontroller.php Undefined variable: SQL at controller/categorycontroller.php May 21, 2017
@ghost ghost removed the pending release label May 24, 2017
@ghost ghost closed this as completed May 24, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant