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

[Bug]: Uncaught TypeError: Cannot assign null to property Psy\Readline\Transient::$eraseDups #385

Open
1 task done
DanielSpravtsev opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DanielSpravtsev
Copy link

Short bug description

Tinker do nott working on the last versions

Extended bug description

No response

Your project is not the problem

  • I tried using a fresh laravel install - I'm fairly certain it has nothing to do with my project.

How to reproduce?

Try run anything
Observe the error output

Expected behavior

This issue seems related to the property type declaration in psy/psysh. The $eraseDups property is being assigned null, which is incompatible with its declared bool type.

Screenshots

No response

IDE & Version

Phpstorm 2024.3.1

PHP Version

8.3.8

OS and version

macos sonoma 14.5

Laravel Tinker plugin version

2.7.3

Interpreter type

Local

Laravel Version

11.34.2

Tinker version

2.10.0

Psysh version

0.12.6

Additional Context

No response

@DanielSpravtsev DanielSpravtsev added the bug Something isn't working label Dec 16, 2024
@DanielSpravtsev
Copy link
Author

@Roboroads I would greatly appreciate it if you could address this issue when you have the chance.

@davidseverwright
Copy link

davidseverwright commented Dec 16, 2024

This is a bug in psysh v0.12.6. (bobthecow/psysh#843)
Updating psysh to v0.12.7 will fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants