phpmyadmin / phpmyadmin/sql-parser

ErrorException: Using null as an array offset is deprecated, use an empty string instead

Open
#638 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.