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

PHP Fatal error: Unable to resolve weakLocalObjectReference=1, symfony/panther * v2.2.0, PHP 8.4.3 (cli) #665

Open
sm-riga opened this issue Jan 31, 2025 · 0 comments

Comments

@sm-riga
Copy link

sm-riga commented Jan 31, 2025

name: symfony/panther
version : * v2.2.0,
source : [git] https://github.com/symfony/panther.git b7e0f83

Running in Docker container:
php:8.4.3-cli
Debian GNU/Linux 12 (bookworm)
Chromium 132.0.6834.110 built on Debian GNU/Linux 12 (bookworm)
ChromeDriver 132.0.6834.110 (df453a35f099772fdb954e33551388add2ca3cde-refs/branch-heads/6834_101@{#3})

Throws 'HP Fatal error: Uncaught Facebook\WebDriver\Exception\UnknownErrorException: unknown error: Unable to resolve weakLocalObjectReference=1 (Session info: chrome=132.0.6834.110) in ../vendor/php-webdriver/webdriver/lib/Exception/WebDriverException.php:146'

Stack trace:
#0 ../vendor/php-webdriver/webdriver/lib/Remote/HttpCommandExecutor.php(359): Facebook\WebDriver\Exception\WebDriverException::throwException('unknown error', 'unknown error: ...', Array)
#1 ../vendor/php-webdriver/webdriver/lib/Remote/RemoteWebDriver.php(601): Facebook\WebDriver\Remote\HttpCommandExecutor->execute(Object(Facebook\WebDriver\Remote\WebDriverCommand))
#2 ../vendor/php-webdriver/webdriver/lib/Remote/RemoteWebDriver.php(345): Facebook\WebDriver\Remote\RemoteWebDriver->execute('executeScript', Array)
#3 ../vendor/symfony/panther/src/Client.php(692): Facebook\WebDriver\Remote\RemoteWebDriver->executeScript('return window.performance.getEntries();', Array)

Same codebase runs fine in php8.2.2 environment:
php:8.2.2-cli
Debian GNU/Linux 11 (bullseye)
Chromium 120.0.6099.224 built on Debian 11.8, running on Debian 11.6
ChromeDriver 120.0.6099.224 (3587067cafd6f5b1e567380acb485d96e623ef39-refs/branch-heads/6099@{#1761})

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

No branches or pull requests

1 participant