phpmyadmin / phpmyadmin/sql-parser
ErrorException: Using null as an array offset is deprecated, use an empty string instead
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 485
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
sql-parser\src\Statements\SelectStatement.php#614
Happened during CSV export on 6.0.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at sql-parser/src/Statements/SelectStatement.php line 614 and reproduce the CSV export case described for version 6.0. Trace the null array offset and confirm the export completes without the deprecation while preserving its output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sql
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100