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

Fixed a bug that when using pgsql, adminer/editer search tries to access the index of string for string. #473

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ytetsuro
Copy link

@ytetsuro ytetsuro commented Jul 11, 2023

I happen error following.
I am using 4.8.1.

[Tue Jul 11 19:51:02 2023] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /Users/xxx/Desktop/editor.php:450
Stack trace:
#0 /Users/xxx/Desktop/editor.php(1199): Min_Driver->convertSearch()
#1 /Users/xxx/Desktop/editor.php(1490): Adminer->selectSearchProcess()
#2 /Users/xxx/Desktop/adminer.php(40): include('...')
#3 {main}
  thrown in /Users/xxx/Desktop/editor.php on line 450

@ytetsuro
Copy link
Author

With pgsql driver selected, try to search for data in a particular table.

@Baltix
Copy link

Baltix commented Aug 24, 2023

Original project is no longer maintained, please send your commits to AdminerEvo - https://github.com/adminerevo/adminerevo

peterpp added a commit to pematon/adminer that referenced this pull request Sep 17, 2024
@peterpp
Copy link
Contributor

peterpp commented Sep 17, 2024

The problem is not in convertSearch function, but in Editor that passes wrong variable. Fixed here: pematon@aec8275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants