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

is_uploaded_file() expects parameter 1 to be string #14809

Closed
OlafvdSpek opened this issue Dec 22, 2018 · 4 comments
Closed

is_uploaded_file() expects parameter 1 to be string #14809

OlafvdSpek opened this issue Dec 22, 2018 · 4 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@OlafvdSpek
Copy link

When editing a row.. I didn't touch any binary fields.

PHP message: PHP Fatal error:  Uncaught TypeError: is_uploaded_file() expects parameter 1 to be string, null given in /srv/phpMyAdmin-5.0+snapshot-english/libraries/classes/File.php:230
Stack trace:
#0 /srv/phpMyAdmin-5.0+snapshot-english/libraries/classes/File.php(230): is_uploaded_file(NULL)
#1 /srv/phpMyAdmin-5.0+snapshot-english/libraries/classes/File.php(184): PhpMyAdmin\File->isUploaded()
#2 /srv/phpMyAdmin-5.0+snapshot-english/libraries/classes/File.php(214): PhpMyAdmin\File->getRawContent()
#3 /srv/phpMyAdmin-5.0+snapshot-english/tbl_replace.php(219): PhpMyAdmin\File->getContent()
#4 {main}
  thrown in /srv/phpMyAdmin-5.0+snapshot-english/libraries/classes/File.php on line 230
@williamdes williamdes added the Bug A problem or regression with an existing feature label Dec 22, 2018
@bahl24
Copy link
Contributor

bahl24 commented Jan 21, 2019

@OlafvdSpek Can you please share some more details and screenshots to better describe the issue.

@OlafvdSpek
Copy link
Author

What's unclear in When editing a row.. I didn't touch any binary fields.?

@williamdes williamdes added this to To be sorted in issues May 2, 2019
@williamdes williamdes moved this from To be sorted to Not reproduced in issues May 3, 2019
@williamdes
Copy link
Member

@OlafvdSpek please send more details on how to reproduce this issue

@williamdes williamdes added has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete question Used when we need feedback from the submitter or when the issue is a question about PMA and removed has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete labels Nov 3, 2019
@williamdes williamdes removed the question Used when we need feedback from the submitter or when the issue is a question about PMA label Nov 10, 2019
@williamdes
Copy link
Member

Reproduced !
Version: 5.0
Create a table with blob fields, then insert a row using files.

@williamdes williamdes self-assigned this Nov 10, 2019
@williamdes williamdes added this to the 4.9.2 milestone Nov 10, 2019
@williamdes williamdes moved this from Not reproduced to Reproduced in issues Nov 10, 2019
williamdes added a commit that referenced this issue Nov 10, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes williamdes moved this from Reproduced to Closed in issues Nov 11, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

3 participants